Add Variable Based Suitability Criteria (Business Analyst)

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

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

Adds criteria based on the values calculated for the input layer using the Enrich Layer tool.

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

  • You must be signed in to ArcGIS Online or connected to a locally stored dataset.

  • The input analysis layer can be created using the Make Suitability Analysis Layer tool.

  • The selected variables are used to enrich the site layer.

  • Set the influence for each criteria using the Set Criteria Property tool.

Параметры

ПодписьОписаниеТип данных
Input Suitability Analysis Layer

The Suitability Analysis layer that will be used in the analysis.

Feature Layer; Group Layer
Variables

The variables from which the suitability criteria will be determined.

String

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

ПодписьОписаниеТип данных
Output Suitability Analysis Layer

The name of the Suitability Analysis layer that will be added to the map.

Feature Layer
Output Criteria Name

The name of the criteria that will be added to the Suitability Analysis layer.

String

arcpy.ba.AddVariableBasedSuitabilityCriteria(in_analysis_layer, variables)
ИмяОписаниеТип данных
in_analysis_layer

The Suitability Analysis layer that will be used in the analysis.

Feature Layer; Group Layer
variables
[variables,...]

The variables from which the suitability criteria will be determined.

String

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

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

The name of the Suitability Analysis layer that will be added to the map.

Feature Layer
out_criteria_name

The name of the criteria that will be added to the Suitability Analysis layer.

String

Пример кода

AddVariableBasedSuitabilityCriteria example (Python window)

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

import arcpy
arcpy.ba.AddVariableBasedSuitabilityCriteria("Site Suitability", "wealth.meddi_cy;wealth.mednw_cy")
AddVariableBasedSuitabilityCriteria example (Python window)

The following Python window script demonstrates how to use the AddVariableBasedSuitabilityCriteria function with Statistical Data Collection variables.

import arcpy
arcpy.ba.AddVariableBasedSuitabilityCriteria("Suitability Analysis", r"c:\users\<User ID>\documents\arcgis\projects\myproject\bayarea_proprietarydata.sdcx/sales_s01_sales;c:\users\<User ID>\documents\arcgis\projects\myproject\bayarea_proprietarydata.sdcx/populationtotals_dpopdenscy")

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

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

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