Skip To Content

Create Territory Level Feature Classes

Available with Business Analyst license.

Summary

Creates feature classes for a specified level.

Point feature classes represent the centers of the features in base level or territory level. Polygon feature classes represent the boundaries (perimeters) of the features in base level or territory level.

Usage

  • Base level can only contain base boundaries and base centers.

  • A Theissen polygon will be created for the base boundary feature class if a point-based solution is created.

  • The default feature class for a polygon solution is Base Territory Boundaries.

    Base territory boundaries

  • The default feature class for a point solution is Base Territory Centers.

    Base territory centers

  • Polygon feature classes represent boundaries (perimeters) of the features in territory level.

    Territory boundaries

  • Point feature classes represent territory centers.

    Territory centers

Syntax

CreateTerritoryLevelFeatureClasses_td (in_territory_solution, level, feature_classes)
ParameterExplanationData Type
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 feature classes will be added.

String
feature_classes
[feature_classes,...]

Creates a point or polygon feature class at the specified level.

  • TERRITORY_BOUNDARIES Polygon features that represent the territory boundaries.
  • TERRITORY_CENTERS Point features that represent the territory centers.
  • BASE_BOUNDARIES Polygon features that represent the base boundaries.
  • BASE_CENTERS Point features that represent the base centers.
String

Derived Output

NameExplanationData Type
out_territory_solution

The updated territory solution.

Group Layer

Code sample

CreateTerritoryLevelFeatureClasses example (Python window)

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

import arcpy
arcpy.td.CreateTerritoryLevelFeatureClasses("TerritoryDesignSolution", "Territories[1]", "TERRITORY_BOUNDARIES;TERRITORY_CENTERS")

Environments

Licensing information

  • Basic: Requires Business Analyst
  • Standard: Requires Business Analyst
  • Advanced: Requires Business Analyst

Related topics