Доступно с лицензией Business Analyst.
Сводка
Adds criteria based on the numerical fields existing in the input layer.
Использование
The input analysis layer can be created by the Make Suitability Analysis Layer tool.
Set the influence for each criteria using the Set Criteria Property tool.
Синтаксис
arcpy.ba.AddFieldBasedSuitabilityCriteria(in_analysis_layer, fields)
Parameter | Объяснение | Тип данных |
in_analysis_layer | The Suitability Analysis layer that will be used in the analysis. | Feature Layer |
fields [fields,...] | The numeric fields from which the suitability criteria will be determined. | Field |
Производные выходные данные
Name | Объяснение | Тип данных |
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 |
Пример кода
The following Python window script demonstrates how to use the AddFieldBasedSuitabilityCriteria tool.
import arcpy
arcpy.ba.AddFieldBasedSuitabilityCriteria("UC West Suitability", "populationtotals_totpop_cy;householdincome_medhinc_cy")
Environments
Информация о лицензиях
- Basic: Требуется Business Analyst
- Standard: Требуется Business Analyst
- Advanced: Требуется Business Analyst