ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Build Territory Index

获得 Business Analyst 许可后可用。

  • 描述
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

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.

使用方法

  • The polygonal and point layers can be used as a Layer.

  • The polygonal layers can only be used as a Mask Layer.

    • The Mask Layer is mainly used against point Layers as a Barrier. Points from different mask polygons are considered non-adjacent. Points from the same mask polygon are considered adjacent.
    • The Mask Layer can be specified only for point Layers.

  • The Buffer distances can be specified only for a point layer. It is defined by the distance between points for building an adjacent circle. Points that intersect with their adjacent circles are considered adjacent.

  • NOTE: If the adjacent index file is already built for the layer, a warning message will be displayed and the file will be re-built without taking the OverwriteOutput environment setting into account.

语法

arcpy.td.BuildTerritoryIndex_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 arcgisscripting
gp = arcgisscripting.create()
gp.BuildTerritoryIndex_TD("C:/Layer1.lyr", "C:/Layer2.lyr" , "10 miles")

环境

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

许可信息

  • Basic: 需要 Business Analyst
  • Standard: 需要 Business Analyst
  • Advanced: 需要 Business Analyst

相关主题

  • An Overview of the Create Territory Solution Toolset
  • Delete Territory Solution
  • Create Territory Solution
  • Import Territory Solution

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2021 Esri. | 隐私政策 | 法律声明