Add Territory Barriers (Territory Design)

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

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

Allows the addition of polygon or line features to prevent or restrict the growth of territories.

Иллюстрация

Line barriers

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

  • Line or polygon layers can be used as barriers.

  • New features can be added to an existing barrier.

  • Each level can contain both an impedance and a restricted area.

Параметры

ПодписьОписаниеТип данных
Input 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 barriers will be applied.

String
Input Barrier Features

Line or polygon features used as a barrier.

Feature Layer
Barrier Type
(Дополнительный)

Specifies the type of barrier.

  • Impedance Limits the growth of territories. This is the default.
  • Restricted AreaPrevents the creation of territories.
String
Append to existing barriers
(Дополнительный)

Specifies whether to append or replace the records to the barrier layer.

  • Checked—Appends records to an existing barrier layer.
  • Unchecked—Creates a new barrier layer or replaces records in an existing barrier layer. This is the default.
Boolean

Производные выходные данные

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

The updated territory solution.

Group Layer

arcpy.td.AddTerritoryBarriers(in_territory_solution, level, in_barrier_features, {barrier_type}, {append_data})
ИмяОписаниеТип данных
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 barriers will be applied.

String
in_barrier_features

Line or polygon features used as a barrier.

Feature Layer
barrier_type
(Дополнительный)

Specifies the type of barrier.

  • IMPEDANCE Limits the growth of territories. This is the default.
  • RESTRICTED_AREAPrevents the creation of territories.
String
append_data
(Дополнительный)

Specifies whether to append or replace the records to the barriers layer.

  • APPENDAppends records to an existing barrier layer.
  • REPLACECreates a new barrier layer or replaces records in an existing barrier layer. This is the default.
Boolean

Производные выходные данные

ИмяОписаниеТип данных
out_territory_solution

The updated territory solution.

Group Layer

Пример кода

AddTerritoryBarriers example (Python window)

The following Python window script demonstrates how to use the AddTerritoryBarriers tool.

import arcpy
arcpy.td.AddTerritoryBarriers("in_territory_solution", "Level[1]", "in_barrier_features", "IMPEDANCE", "REPLACE_DATA")

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

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

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