Set Criteria Properties (Business Analyst)

获得 Business Analyst 许可后可用。

摘要

Define parameters for criteria.

使用情况

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

  • All of the criteria weights criteria should total 100 percent.

  • The influence of the criteria can be positive or inverse.

  • When Ideal is selected, Ideal Value must have an input.

参数

标注说明数据类型
Input Suitability Analysis Layer

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

Feature Layer
Criteria Properties

The input features that will be used to set up your criteria properties.

Criterion—The field, point, or variable that will be used to calculate your suitability score.

Title—The name of your criteria.

Weight—The influence a criteria value has on the overall suitability score. The number must be greater than or equal to 0.

Influence—Can be positive, inverse, or ideal. An example of a positive influence is as follows: You want a site to score higher if it has a greater number of households holding graduate or professional degrees. An example of an inverse influence is as follows: A lower median home value is more desirable as it is indicative of greater home affordability. An example of an ideal influence would be a search for areas within a range of values.

  • Positive—The higher the criteria value, the higher the suitability score.
  • Inverse—The lower the criteria value, the higher the suitability score.
  • Ideal—The closer to the ideal value, the higher the score.

Ideal Value—The closer the criteria value is to the ideal value, the higher the suitability score.

Minimum Value—A numeric value that sets a hard limit for the criteria lower bound.

Maximum Value—A numeric value that sets a hard limit for the criteria upper bound.

Enabled—Check to include the criteria in the final suitability score.

Value Table

派生输出

标注说明数据类型
Output Suitability Analysis Layer

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

Feature Layer

arcpy.ba.SetCriteriaProperties(in_analysis_layer, criteria_properties)
名称说明数据类型
in_analysis_layer

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

Feature Layer
criteria_properties
[[criterion, title, weight, influence, ideal_value, minimum_value, maximum_value, enabled],...]

The input features that will be used to set up your criteria properties.

  • criterion—The field, point, or variable that will be used to calculate your suitability score.
  • title—The name of your criteria.
  • weight—The influence a criteria value has on the overall suitability score. The number must be greater than or equal to 0.
  • influence—Can be positive, inverse, or ideal. An example of a positive influence is as follows: You want a site to score higher if it has a greater number of households holding graduate or professional degrees. An example of an inverse influence is as follows: A lower median home value is more desirable as it is indicative of greater home affordability. An example of an ideal influence would be a search for areas within a range of values.
    • POSITIVE—The higher the criteria value, the higher the suitability score.
    • INVERSE—The lower the criteria value, the higher the suitability score.
    • IDEAL—The closer to the ideal value, the higher the score.
  • ideal_value—The closer the criteria value is to the ideal_value, the higher the suitability score.
  • minimum_value—A numeric value that sets a hard limit for the criteria lower bound.
  • maximum_value—A numeric value that sets a hard limit for the criteria upper bound.
  • enabled—Check to include the criteria in the final suitability score.
Value Table

派生输出

名称说明数据类型
out_analysis_layer

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

Feature Layer

代码示例

SetCriteriaProperties example (Python window)

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

import arcpy
arcpy.ba.SetCriteriaProperties("Site Suitability001", "wealth_meddi_cy 'Criterion for wealth.meddi_cy variable' 1 # # POSITIVE # true;wealth_mednw_cy 'Criterion for wealth.mednw_cy variable' 1 # # INVERSE # true")

环境

特殊情况

许可信息

  • Basic: 需要 Business Analyst
  • Standard: 需要 Business Analyst
  • Advanced: 需要 Business Analyst

相关主题