Add Field Based Suitability Criteria (Business Analyst)

获得 Business Analyst 许可后可用。

摘要

Adds criteria based on the numerical fields existing in the input layer.

使用情况

参数

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

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

Feature Layer; Group Layer
Fields

The numeric fields 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; Group Layer
Output Criteria Name

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

String

arcpy.ba.AddFieldBasedSuitabilityCriteria(in_analysis_layer, fields)
名称说明数据类型
in_analysis_layer

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

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

The numeric fields 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; Group Layer
out_criteria_name

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

String

代码示例

AddFieldBasedSuitabilityCriteria example (Python window)

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

import arcpy
arcpy.ba.AddFieldBasedSuitabilityCriteria("UC West Suitability", "populationtotals_totpop_cy;householdincome_medhinc_cy")

许可信息

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

相关主题