Set Balance Variables (Territory Design)

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

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

Configures variables to be used in the balancing process.

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

  • The variables will be used according to relative weight, which is calculated based on a specified preference for each variable.

  • Preference refers to the relative weight of each variable.

  • Preferences from all of the variables must total 100 percent.

  • Set the Balance Variables parameter weight value to zero if you want to disable the variable when balancing.

Параметры

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

The name of the input territory solution.

Group Layer; Feature Dataset; String
Level

The name of the level to which the calculated field will be added.

String
Balance Variables

The variables that will be used in the balance process.

  • Variable—The defined input.
  • Weight—The amount of influence a given variable has in the analysis.

Value Table

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

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

The updated territory solution.

Group Layer

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

The name of the input territory solution.

Group Layer; Feature Dataset; String
level

The name of the level to which the calculated field will be added.

String
variables
[[variable, weight],...]

The variables that will be used in the balance process.

  • variable—The defined input.
  • weight—The amount of influence a given variable has in the analysis.

Value Table

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

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

The updated territory solution.

Group Layer

Пример кода

SetBalanceVariables example (Python window)

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

import arcpy
arcpy.td.SetBalanceVariables("TerritorySolution", "Territories[1]", "HouseHold 50;TotalPop 50")

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

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

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

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

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