Export Territories Database (Territory Design)

Уровень лицензии:BasicStandardAdvanced

Краткая информация

Exports a Territory database to an external table.

Exporting a Territory database creates a territory assignment table.

Использование

Синтаксис

ExportTerritoriesDatabase_td (in_territory_solution_layer, in_al_id_field, in_dest_workspace, in_dest_table_name)
ПараметрОбъяснениеТип данных
in_territory_solution_layer

The Territory Solution layer whose data is to be exported.

GP TD Layer
in_al_id_field

The ID Field of the Alignment Layer.

String
in_dest_workspace

The location of the destination workspace.

Workspace
in_dest_table_name

The name of the newly created table.

String

Пример кода

The following Python window script demonstrates how to use Business Analyst geoprocessing tool in immediate mode.

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

The following stand-alone script demonstrates how to use the tool.

# 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
4/27/2014