Add Territory Seed Points (Territory Design)

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

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

Creates a point feature that is used to determine the starting point for creating territories.

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

  • Seed points can be point locations from franchise addresses, sales offices, or distribution centers and are a common method for creating territories.

  • Seed points are used as the starting point for creating territories but do not necessarily represent the center of the territories.

    Seed points and territory centers
    Pins represents seed points. Squares represents territory centers.

Параметры

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

The Territory Design solution dataset.

Group Layer; Feature Dataset; String
Level

The target territory level for which the seed points feature will be created.

String
Input Seed Point Features

The points feature layer that represents seed points for territories.

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

Specifies the attributes and fields that will be used for the seed point properties.

  • Name—The name for a seed point feature
  • ID—The ID for a seed point feature
  • Type—The seed point type

The field value associated with the Type attribute can only be Required or Candidate.

Value Table
Append to Existing Seed Points
(Дополнительный)

Specifies whether the data will be appended or replaced.

  • Checked—The data will be appended.
  • Unchecked—The data will be replaced. This is the default.
Boolean

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

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

The updated territory solution.

Group Layer

arcpy.td.AddTerritorySeedPoints(in_territory_solution, level, in_seed_points, {field_map}, {append_data})
ИмяОписаниеТип данных
in_territory_solution

The Territory Design solution dataset.

Group Layer; Feature Dataset; String
level

The target territory level for which the seed points feature will be created.

String
in_seed_points

The points feature layer that represents seed points for territories.

Feature Layer
field_map
[[name, id, type],...]
(Дополнительный)

Specifies the attributes and fields that will be used for the seed point properties.

  • Name—The name for a seed point feature
  • ID—The ID for a seed point feature
  • Type—The seed point type

The field value associated with the Type attribute can only be Required or Candidate.

Value Table
append_data
(Дополнительный)

Specifies whether the data will be appended or replaced.

  • APPENDThe data will be appended.
  • REPLACEThe data will be replaced. This is the default.
Boolean

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

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

The updated territory solution.

Group Layer

Пример кода

AddTerritorySeedPoints example (Python window)

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

import arcpy
arcpy.td.AddTerritorySeedPoints("TerritorySolution", "Territories[1]", r"atl_centers\shoppingctrs", None, "REPLACE")

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

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

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