Available with Business Analyst license.
Summary
Define parameters for criteria.
Usage
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.
Syntax
arcpy.ba.SetCriteriaProperties(in_analysis_layer, criteria_properties)
Parameter | Explanation | Data Type |
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 |
Derived Output
Name | Explanation | Data Type |
out_analysis_layer | The name of the Suitability Analysis layer that will be added to the map. | Feature Layer |
Code sample
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")
Environments
Licensing information
- Basic: Requires Business Analyst
- Standard: Requires Business Analyst
- Advanced: Requires Business Analyst