テリトリー データベースのエクスポート(Export Territories Database) (テリトリー デザイン)

ライセンス レベル:BasicStandardAdvanced

サマリ

テリトリー データベースを外部テーブルにエクスポートします。

テリトリー データベースをエクスポートすると、テリトリー割り当てテーブルが作成されます。

使用法

構文

ExportTerritoriesDatabase_td (in_territory_solution_layer, in_al_id_field, in_dest_workspace, in_dest_table_name)
パラメータ説明データ タイプ
in_territory_solution_layer

エクスポートされるデータを含むテリトリー ソリューション レイヤ。

GP TD Layer
in_al_id_field

基本単位レイヤの ID フィールド。

String
in_dest_workspace

エクスポート先ワークスペースの場所。

Workspace
in_dest_table_name

新規作成されるテーブルの名前。

String

コードのサンプル

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

import arcgisscripting
gp = arcgisscripting.create()
gp.ExportTerritoriesDatabase_TD("new layer", "ID", "C:/Temp", "database.dbf")

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

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

# Set local variables
solution = "new layer"
idfield = "ID"
workspace = "C:/Temp"
name = "database.dbf"

# Execute tool
gp.ExportTerritoriesDatabase_TD(solution, idfield, workspace, name)

環境

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

関連トピック

ライセンス情報

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