テリトリー ソリューションのインポート(Import Territory Solution) (テリトリー デザイン)

ライセンス レベル:BasicStandardAdvanced

サマリ

既存のソリューションと新しい基本単位レイヤに基づいて、新規テリトリー ソリューションを作成します。

新規ソリューションには、テリトリー階層、変数、制限など、ベースのテリトリー ソリューションのオプションが含まれます。

使用法

構文

ImportTerritorySolution_TD_td (in_territory_solution_layer, in_alignment_layer, {in_display_field}, {in_territory_solution_location}, {in_territory_solution_name})
パラメータ説明データ タイプ
in_territory_solution_layer

インポート元のテリトリー ソリューション レイヤ。

GP TD Layer
in_alignment_layer

新しいテリトリー ソリューションの基本単位レイヤ。

Feature Layer
in_display_field
(オプション)

テリトリー ソリューションの表示フィールド。

Field
in_territory_solution_location
(オプション)

テリトリー ソリューションの場所。

String
in_territory_solution_name
(オプション)

テリトリー ソリューションの名前。

String

コードのサンプル

ImportTerritorySolution_TD(テリトリー ソリューションのインポート)の例(Python ウィンドウ)

次の Python ウィンドウ スクリプトは、イミディエイト モードでこのツールを使用する方法を示しています。

import arcgisscripting
gp = arcgisscripting.create()
gp.ImportTerritorySolution_TD("new layer", "esri_zip5", "NAME", "C:/BA Output/Project/Default Project/Territories/", "new layer2")
ImportTerritorySolution_TD(テリトリー ソリューションのインポート)の例 2(スタンドアロン スクリプト)

次のスタンドアロン スクリプトで、このツールの使用方法を示します。

# Import system modules
import arcgisscripting
gp = arcgisscripting.create()

# Set local variables
solution = "new layer"
alignmentLayer = "esri_zip5"
displayField = "NAME"
solutionLocation = "C:/BA Output/Project/Default Project/Territories/"
solutionName = "new layer2"

# Execute tool
gp.ImportTerritorySolution_TD(solution, alignmentLayer, displayField, solutionLocation, solutionName)

環境

このツールはジオプロセシング環境を使用していません

関連トピック

ライセンス情報

ArcGIS for Desktop Basic: 次のものが必要 Business Analyst
ArcGIS for Desktop Standard: 次のものが必要 Business Analyst
ArcGIS for Desktop Advanced: 次のものが必要 Business Analyst
5/20/2014