Доступно с лицензией Business Analyst.
Сводка
Allows the addition of polygon or line features to prevent or restrict the growth of territories.
Иллюстрация

Использование
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.
Синтаксис
AddTerritoryBarriers(in_territory_solution, level, in_barrier_features, {barrier_type}, {append_data})
Parameter | Объяснение | Тип данных |
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.
| String |
append_data (Дополнительный) | Specifies whether to append or replace the records to the barriers layer.
| Boolean |
Производные выходные данные
Name | Объяснение | Тип данных |
out_territory_solution | The updated territory solution. | Group Layer |
Пример кода
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")
Environments
Информация о лицензиях
- Basic: Требуется Business Analyst
- Standard: Требуется Business Analyst
- Advanced: Требуется Business Analyst