Make Suitability Analysis Layer (Business Analyst)

获得 Business Analyst 许可后可用。

摘要

Creates a Suitability Analysis group layer for an input site's polygonal layer.

使用情况

  • After creating the Suitability Analysis layer, add criteria and a setup weight for each criteria.

参数

标注说明数据类型
Input Features

The feature layer that will be used in the creation of the Suitability Analysis layer.

Feature Layer
Suitability Analysis Layer Name

The name of the output Suitability Analysis layer that will be created.

String
Output Geodatabase
(可选)

The geodatabase that will contain the output feature dataset.

Workspace
Feature Dataset Name
(可选)

The name of the output feature dataset that will contain the collection of suitability analysis layer feature classes.

String

派生输出

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

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

Feature Layer

arcpy.ba.MakeSuitabilityAnalysisLayer(in_features, layer_name, {out_dataset_path}, {out_dataset_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 that will be created.

String
out_dataset_path
(可选)

The geodatabase that will contain the output feature dataset.

Workspace
out_dataset_name
(可选)

The name of the output feature dataset that will contain the collection of suitability analysis layer feature classes.

String

派生输出

名称说明数据类型
out_analysis_layer

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

Feature Layer

代码示例

MakeSuitabilityAnalysisLayer example (Python window)

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

import arcpy
arcpy.ba.MakeSuitabilityAnalysisLayer("Candidate_Sites_Buffer", "Suitability Analysis", r"\Projects\MyProject\MyProject.gdb", "SuitabilityAnalysis")

许可信息

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

相关主题