Export Territory Solution (Territory Design)

Доступно с лицензией Business Analyst.

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

Exports a territory solution to a feature class. The export includes records from all levels (hierarchy) of the solution.

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

  • A single feature class will be created with all levels.

  • The default value for the Output Shape Type parameter is set to the primary feature class type—for example, Boundary.

  • The following screen capture illustrates an example of three levels (three feature classes)—Base, Territory, and Region—exported into a single feature class. Geometry from base level and attributes of each base feature determine the territory or region to which it belongs.

    Export result

Параметры

ПодписьОписаниеТип данных
Input Territory Solution

The Territory Design solution layer that will be exported.

Group Layer; Feature Dataset; String
Output Feature Class

The feature class that will contain the exported territory solution.

Feature Class
Output Shape Type
(Дополнительный)

Specifies the feature geometry type to export.

  • Territory BoundariesPolygon features that represent the territory boundaries will be exported.
  • Territory CentersPoint features that represent the territory centers will be exported.
String

arcpy.td.ExportTerritorySolution(in_territory_solution, out_feature_class, {output_geometry_type})
ИмяОписаниеТип данных
in_territory_solution

The Territory Design solution layer that will be exported.

Group Layer; Feature Dataset; String
out_feature_class

The feature class that will contain the exported territory solution.

Feature Class
output_geometry_type
(Дополнительный)

Specifies the feature geometry type to export.

  • TERRITORY_BOUNDARIESPolygon features that represent the territory boundaries will be exported.
  • TERRITORY_CENTERSPoint features that represent the territory centers will be exported.
String

Пример кода

ExportTerritorySolution example (Python window)

The following Python window script demonstrates how to use the ExportTerritorySolution function.

import arcpy
arcpy.td.ExportTerritorySolution("SD_Tracts", r"SD Districts\SD Districts.gdb\SD_Tracts_Export", "TERRITORY_BOUNDARIES")

Информация о лицензиях

  • Basic: Обязательно Business Analyst
  • Standard: Обязательно Business Analyst
  • Advanced: Обязательно Business Analyst

Связанные разделы