获得 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.
语法
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.
| Value Table |
派生输出
名称 | 说明 | 数据类型 |
out_analysis_layer | The name of the Suitability Analysis layer that will be added to the map. | Feature Layer |
代码示例
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