Validate Territories (Territory Design)

Disponible con licencia de Business Analyst.

Resumen

Validates a territory solution for invalid territories.

Uso

  • 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

Parámetros

EtiquetaExplicaciónTipo de datos
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

Salida derivada

EtiquetaExplicaciónTipo de datos
Updated Territory Solution

The territory solution output.

Group Layer

arcpy.td.ValidateTerritories(in_territory_solution, level)
NombreExplicaciónTipo de datos
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

Salida derivada

NombreExplicaciónTipo de datos
out_territory_solution

The territory solution output.

Group Layer

Muestra de código

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)

Entornos

Esta herramienta no utiliza ningún entorno de geoprocesamiento.

Información de licenciamiento

  • Basic: Requiere Business Analyst
  • Standard: Requiere Business Analyst
  • Advanced: Requiere Business Analyst

Temas relacionados