ポイント レイヤーに基づく適合性条件の追加 (Business Analyst ツール)
サマリー
入力レイヤーと指定されたポイント レイヤー間の空間リレーションシップに基づいて条件を追加します。
使用法
適合性解析レイヤーの作成 ツールを使用し、解析レイヤーを作成できます。
ポイントの影響度は、総数、ウェイト、または最小距離に基づきます。
加重には、数値フィールドと 統計の種類 パラメーター値を指定する必要があります。
最小距離には、サイトの中心を指定する必要があります。 サイトの中心は、ポイントまでの距離の計算に使用されます。
条件プロパティの設定 ツールを使用して条件ごとに影響度を設定します。
パラメーター
ラベル
説明
データ タイプ
入力適合性解析レイヤー
解析に使う適合性解析レイヤー。
Feature Layer; Group Layer
サイト レイヤーの ID フィールド
適合性解析レイヤー内のレコードごとに一意の値を含むフィールド。
String
ポイント フィーチャ
空間リレーションシップに基づいて条件として適合性解析レイヤーに追加されるポイント位置を含むレイヤー。
Feature Layer
条件タイプ
条件として使用される空間リレーションシップのタイプを指定します。
Count —A count of points that fall within each Suitability Analysis layer polygon will be used as criteria. This is the default.
Weight —Field-weighted criteria of points that fall within each Suitability Analysis polygon based on the user-selected statistical type will be used as criteria.
Minimal Distance —The distance from the closest point to each of the Suitability Analysis layer centroids will be used as criteria.
String
距離タイプ
(オプション)
最小距離の計算に使用される移動方法。
String
計測単位
(オプション)
最小距離の計算時に使用される計測単位。
String
サイト中心フィーチャ
(オプション)
サイトの中心として使用されるポイント レイヤー。 このポイント レイヤーは、適合性解析レイヤーのデフォルトのポリゴン重心を置き換えます。
Feature Layer
サイト中心レイヤーの ID フィールド
(オプション)
各レコードを一意に識別する サイト中心フィーチャ パラメーター値のフィールド。
Field
加重フィールド
重み付け用に選択されるポイント レイヤーに存在する数値フィールド。
Field
統計タイプ
(オプション)
加重フィールドに適用される統計演算の種類を指定します。
Sum —The total of the field values will be calculated for each point feature.
Average —The average field value will be calculated for each point feature.
Standard Deviation —The standard deviation of the field values will be calculated for each point feature.
Minimum —The smallest field value will be determined for each point feature.
Maximum —The largest field value will be determined for each point feature.
String
カットオフ
(オプション)
これを超えると、ポイントが計算で考慮されなくなる距離。
Double
派生した出力
ラベル
説明
データ タイプ
出力適合性解析レイヤー
出力レイヤーのコンテナー。
Feature Layer; Group Layer
出力条件名
適合性解析レイヤーに追加する条件の名前
String
arcpy.ba.AddPointLayerBasedSuitabilityCriteria(in_analysis_layer, site_layer_id_field, in_point_features, criteria_type, {distance_type}, {units}, {in_site_centers_features}, {site_centers_id_field}, weight_field, {statistics_type}, {cutoff_distance})
名前
説明
データ タイプ
in_analysis_layer
解析に使う適合性解析レイヤー。
Feature Layer; Group Layer
site_layer_id_field
適合性解析レイヤー内のレコードごとに一意の値を含むフィールド。
String
in_point_features
空間リレーションシップに基づいて条件として適合性解析レイヤーに追加されるポイント位置を含むレイヤー。
Feature Layer
criteria_type
条件として使用される空間リレーションシップのタイプを指定します。
COUNT —A count of points that fall within each Suitability Analysis layer polygon will be used as criteria. This is the default.
WEIGHT —Field-weighted criteria of points that fall within each Suitability Analysis polygon based on the user-selected statistical type will be used as criteria.
MINIMAL_DISTANCE —The distance from the closest point to each of the Suitability Analysis layer centroids will be used as criteria.
String
distance_type
(オプション)
最小距離の計算に使用される移動方法。
String
units
(オプション)
最小距離の計算時に使用される計測単位。
String
in_site_centers_features
(オプション)
サイトの中心として使用されるポイント レイヤー。 このポイント レイヤーは、適合性解析レイヤーのデフォルトのポリゴン重心を置き換えます。
Feature Layer
site_centers_id_field
(オプション)
各レコードを一意に識別する in_site_centers_features パラメーター値のフィールド。
Field
weight_field
重み付け用に選択されるポイント レイヤーに存在する数値フィールド。
Field
statistics_type
(オプション)
加重フィールドに適用される統計演算の種類を指定します。
SUM —The total of the field values will be calculated for each point feature.
AVE —The average field value will be calculated for each point feature.
STD_DEV —The standard deviation of the field values will be calculated for each point feature.
MIN —The smallest field value will be determined for each point feature.
MAX —The largest field value will be determined for each point feature.
String
cutoff_distance
(オプション)
これを超えると、ポイントが計算で考慮されなくなる距離。
Double
派生した出力
名前
説明
データ タイプ
out_analysis_layer
出力レイヤーのコンテナー。
Feature Layer; Group Layer
out_criteria_name
適合性解析レイヤーに追加する条件の名前
String
コードのサンプル
AddPointLayerBasedSuitabilityCriteria の例 (Python ウィンドウ)
次の Python ウィンドウ スクリプトは、AddPointLayerBasedSuitabilityCriteria 関数の使用方法を示しています。
import arcpy
arcpy.ba.AddPointLayerBasedSuitabilityCriteria(
in_analysis_layer="Suitability Analysis",
site_layer_id_field="GLA",
in_point_features="Competitors",
criteria_type="COUNT",
distance_type="",
units="",
in_site_centers_features=None,
site_centers_id_field=None,
weight_field=None,
statistics_type="",
cutoff_distance=None
)
環境
現在のワークスペース , データ ソース , ネットワーク ソース
ライセンス情報
Basic: Business Analyst と Network Analyst が必要
Standard: Business Analyst と Network Analyst が必要
Advanced: Business Analyst と Network Analyst が必要