Validate Territories (Territory Design)

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

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

Validates a territory solution for invalid territories.

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

  • Run this tool after manually editing the territory solution. Any violations will need to be reviewed and resolved manually.

  • Validation issues will be included in the tool messages and added to the Territory Validation Errors field or Feature Validation Errors field.

  • Territory validation issues will be displayed in the Territory Validation Errors field.

  • The Feature Validation Errors field will display features that contain validation issues for a territory.

  • The tool will analyze the territory solution for the following errors:

    • Barriers violation
    • Buffer distance constraint violation
    • Minimum attribute constraint limit violation
    • Maximum attribute constraint limit violation
    • Minimum distance between centers constraint violation
    • Maximum territory radius constraint violation
    • Territory is empty
    • Territory center is undefined
    • Territory is not contiguous
    • Territory has holes
    • Territory name is not unique

Параметры

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

The territory solution that will be validated.

Group Layer; Feature Dataset; String
Level

The level that will be analyzed in the validation.

String

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

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

The territory solution output.

Group Layer

arcpy.td.ValidateTerritories(in_territory_solution, level)
ИмяОписаниеТип данных
in_territory_solution

The territory solution that will be validated.

Group Layer; Feature Dataset; String
level

The level that will be analyzed in the validation.

String

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

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

The territory solution output.

Group Layer

Пример кода

ValidateTerritories example (Python window)

The following Python window script demonstrates how to use the ValidateTerritories function.

import arcpy
arcpy.td.ValidateTerritories(in_territory_solution, level)

Параметры среды

Этот инструмент не использует параметры среды геообработки

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

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

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