Make Suitability Analysis Layer (Business Analyst)

Available with Business Analyst license.

Summary

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

Usage

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

Parameters

LabelExplanationData Type
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
(Optional)

The geodatabase that will contain the output feature dataset.

Workspace
Feature Dataset Name
(Optional)

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

String

Derived Output

LabelExplanationData Type
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})
NameExplanationData Type
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
(Optional)

The geodatabase that will contain the output feature dataset.

Workspace
out_dataset_name
(Optional)

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

String

Derived Output

NameExplanationData Type
out_analysis_layer

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

Feature Layer

Code sample

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")

Environments

Licensing information

  • Basic: Requires Business Analyst
  • Standard: Requires Business Analyst
  • Advanced: Requires Business Analyst

Related topics