テリトリー属性制限の設定 (テリトリー デザイン ツール)
サマリー
テリトリー ソリューションを解決するときに、制限を追加するための変数を設定します。
使用法
レベルに追加される変数のみが利用可能になります。
テリトリーは、最小値、最大値、または 目標値 の値によって制限されます。
制限に使用する変数が 1 つだけ存在する場合は、制限 パラメーターの 加重 オプションを 100 に設定します。
複数の変数が存在する場合は、制限 パラメーターの 加重 オプションは自動的に設定されます。
制限 パラメーターの 最大値 および 最小値 オプションは、厳密な制限です。 テリトリーが指定した値を超えたり下回ることはありません。
制限 パラメーターの 目標値 オプションは、ソフトな制限です。 テリトリーは、指定した値を超えたり下回ることがあります。
パラメーター
|
ラベル
|
説明
|
データ タイプ
|
|
入力テリトリー ソリューション
|
解析で使用するテリトリー デザイン ソリューション レイヤー。
|
Group Layer; Feature Dataset; String
|
|
レベル
|
制限が適用されるレベル。
|
String
|
|
制限
(オプション)
|
テリトリー ソリューションを制限するために使用される変数。
値テーブル列:
Variable—Numeric value to be used as the constraint.
Minimum—Numeric value that sets a hard limit for the territories' lower bound.
Maximum—Numeric value that sets a hard limit for the territories' upper bound.
Ideal Value—Numeric value that sets a soft limit for the ideal value for the territory solution.
Weight—The influence a constraint value has on the territory solution. The number must be greater than 0.
|
Value Table
|
派生した出力
|
ラベル
|
説明
|
データ タイプ
|
|
更新済みのテリトリー ソリューション
|
更新済みのテリトリー ソリューション。
|
Group Layer
|
arcpy.td.SetTerritoryAttributeConstraints(in_territory_solution, level, {constraints})
|
名前
|
説明
|
データ タイプ
|
|
in_territory_solution
|
解析で使用するテリトリー デザイン ソリューション レイヤー。
|
Group Layer; Feature Dataset; String
|
|
level
|
制限が適用されるレベル。
|
String
|
|
constraints
[[variable, minimum, maximum, ideal_value, weight],...]
(オプション)
|
テリトリー ソリューションを制限するために使用される変数。
値テーブル列:
Variable—Numeric value to be used as the constraint.
Minimum—Numeric value that sets a hard limit for the territories' lower bound.
Maximum—Numeric value that sets a hard limit for the territories' upper bound.
Ideal Value—Numeric value that sets a soft limit for the ideal value for the territory solution.
Weight—The influence a constraint value has on the territory solution. The number must be greater than 0.
|
Value Table
|
派生した出力
|
名前
|
説明
|
データ タイプ
|
|
out_territory_solution
|
更新済みのテリトリー ソリューション。
|
Group Layer
|
コードのサンプル
SetTerritoryAttributeConstraints の例 (Python ウィンドウ)
次の Python ウィンドウ スクリプトは、SetTerritoryAttributeConstraints 関数の使用方法を示しています。
import arcpy
arcpy.td.SetTerritoryAttributeConstraints("TerritorySolution", "Territories[1]", "populationtotals_totpop_cy 10000 100000 # 100")
環境
現在のワークスペース, データ ソース
ライセンス情報
- Basic: Business Analyst が必要
- Standard: Business Analyst が必要
- Advanced: Business Analyst が必要