获得 Business Analyst 许可后可用。
描述
Creates feature classes for a specified level.
使用方法
Output point feature classes represent the centers of the features at the base or territory level.
Output polygon feature classes represent the boundaries (perimeters) of the features at the base or territory level.
Base level can only contain base boundaries and base centers.
A Thiessen polygon will be created for the base boundary feature class if a point-based solution is created.
The default feature class for a polygon solution is Base Territory Boundaries.
The default feature class for a point solution is Base Territory Centers.
Polygon feature classes represent boundaries (perimeters) of the features in territory level.
Point feature classes represent territory centers.
语法
arcpy.td.CreateTerritoryLevelFeatureClasses(in_territory_solution, level, feature_classes)
参数 | 说明 | 数据类型 |
in_territory_solution | The Territory Design solution layer that will be used in the analysis. | Group Layer; Feature Dataset; String |
level | The level to which the feature classes will be added. | String |
feature_classes [feature_classes,...] | Creates a point or polygon feature class at the specified level.
| String |
派生输出
名称 | 说明 | 数据类型 |
out_territory_solution | The updated territory solution. | Group Layer |
代码示例
The following Python window script demonstrates how to use the CreateTerritoryLevelFeatureClasses tool.
import arcpy
arcpy.td.CreateTerritoryLevelFeatureClasses("TerritoryDesignSolution", "Territories[1]", "TERRITORY_BOUNDARIES;TERRITORY_CENTERS")
环境
许可信息
- Basic: 需要 Business Analyst
- Standard: 需要 Business Analyst
- Advanced: 需要 Business Analyst