获得 Business Analyst 许可后可用。
描述
Creates a Suitability Analysis layer for a given input site's polygonal layer.
使用方法
After creating the Suitability Analysis layer, add criteria and a setup weight for each criteria.
语法
arcpy.ba.MakeSuitabilityAnalysisLayer(in_features, layer_name)
参数 | 说明 | 数据类型 |
in_features | The feature layer that will be used in the creation of the Suitability Analysis layer. | Feature Layer |
layer_name | The name of the output Suitability Analysis layer to be created. | String |
派生输出
名称 | 说明 | 数据类型 |
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 MakeSuitabilityAnalysisLayer tool.
import arcpy
arcpy.ba.MakeSuitabilityAnalysisLayer(r"Council_Disticts_Makeup.lyrx", "Site Suitability No 3")
环境
许可信息
- Basic: 需要 Business Analyst
- Standard: 需要 Business Analyst
- Advanced: 需要 Business Analyst