Build Territory Index (Territory Design)

许可等级:BasicStandardAdvanced

摘要

Builds a territory adjacency index for a specified feature layer which will be used as the Alignment Layer in Territory Solutions.

This index increases the performance for creating, balancing and adjusting territories.

用法

语法

BuildTerritoryIndex_TD_td (in_layer, {in_mask_layer}, {In_buffer_distance})
参数说明数据类型
in_layer

The Layer for which to build a territory index.

Feature Layer
in_mask_layer
(可选)

The Mask layer for a point layer.

Feature Layer
In_buffer_distance
(可选)

The Buffer distance for every point of a layer.

Linear Units

代码实例

BuildTerritoryIndex_TD example (Python window)

The following Python window script demonstrates how to use the tool in immediate mode.

import arcgisscripting
gp = arcgisscripting.create()
gp.BuildTerritoryIndex_TD("C:/Layer1.lyr", "C:/Layer2.lyr" , "10 miles")
BuildTerritoryIndex_TD example 2 (stand-alone script)

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

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

# Set local variables
layer = "C:/Layer1.lyr"
maskLayer = "C:/Layer2.lyr"
buffer = "10 miles"

# Execute tool
gp.BuildTerritoryIndex_TD(layer, maskLayer, buffer)

环境

此工具不使用任何地理处理环境

相关主题

许可信息

ArcGIS for Desktop Basic: 需要 Business Analyst
ArcGIS for Desktop Standard: 需要 Business Analyst
ArcGIS for Desktop Advanced: 需要 Business Analyst
4/27/2014