Add Point Layer Based Suitability Criteria (Business Analyst)

Доступно с лицензией Business Analyst.

Краткая информация

Adds criteria based on spatial relationships between the input layer and a specified point layer.

Использование

  • You can use the Make Suitability Analysis Layer tool to create the analysis layer.

  • The influence for the point can be based on count, a weight, or minimum distance.

  • For weight, a numeric field and Statistics Type parameter value must be specified.

  • For minimum distance, the centers of the sites must be specified. The centers of the sites are used for calculating the distance to the points.

  • Set the influence for each criteria using the Set Criteria Property tool.

Параметры

ПодписьОписаниеТип данных
Input Suitability Analysis Layer

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

Feature Layer; Group Layer
Site Layer ID Field

A field containing unique values for each record in the Suitability Analysis layer.

String
Point Features

The layer containing point locations that will be added as criteria based on the spatial relationship to the Suitability Analysis layer.

Feature Layer
Criteria Type

Specifies the type of spatial relationship that will be used as criteria.

  • CountA count of points that fall within each Suitability Analysis layer polygon will be used as criteria. This is the default.
  • WeightField-weighted criteria of points that fall within each Suitability Analysis polygon based on the user-selected statistical type will be used as criteria.
  • Minimal DistanceThe distance from the closest point to each of the Suitability Analysis layer centroids will be used as criteria.
String
Distance Type
(Дополнительный)

The method of travel that will be used to calculate the minimal distance.

String
Measure Units
(Дополнительный)

The unit of measure that will be used when calculating minimal distance.

String
Site Centers Features
(Дополнительный)

The point layer that will be used as site centers. This point layer will replace default polygon centroids of the Suitability Analysis layer.

Feature Layer
Site Centers Layer ID Field
(Дополнительный)

A field in the Site Centers Features parameter value that uniquely identifies each record.

Field
Weight Field

Numeric fields that exist in a point layer that will be selected for weighting.

Field
Statistics Type
(Дополнительный)

Specifies the type of statistical operation that will be applied to the weighted field.

  • SumThe total of the field values will be calculated for each point feature.
  • AverageThe average field value will be calculated for each point feature.
  • Standard DeviationThe standard deviation of the field values will be calculated for each point feature.
  • MinimumThe smallest field value will be determined for each point feature.
  • MaximumThe largest field value will be determined for each point feature.
String
Cutoff
(Дополнительный)

The distance beyond which points will not be considered in the calculation.

Double

Производные выходные данные

ПодписьОписаниеТип данных
Output Suitability Analysis Layer

A container for the output layer.

Feature Layer; Group Layer
Output Criteria Name

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

String

arcpy.ba.AddPointLayerBasedSuitabilityCriteria(in_analysis_layer, site_layer_id_field, in_point_features, criteria_type, {distance_type}, {units}, {in_site_centers_features}, {site_centers_id_field}, weight_field, {statistics_type}, {cutoff_distance})
ИмяОписаниеТип данных
in_analysis_layer

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

Feature Layer; Group Layer
site_layer_id_field

A field containing unique values for each record in the Suitability Analysis layer.

String
in_point_features

The layer containing point locations that will be added as criteria based on the spatial relationship to the Suitability Analysis layer.

Feature Layer
criteria_type

Specifies the type of spatial relationship that will be used as criteria.

  • COUNTA count of points that fall within each Suitability Analysis layer polygon will be used as criteria. This is the default.
  • WEIGHTField-weighted criteria of points that fall within each Suitability Analysis polygon based on the user-selected statistical type will be used as criteria.
  • MINIMAL_DISTANCEThe distance from the closest point to each of the Suitability Analysis layer centroids will be used as criteria.
String
distance_type
(Дополнительный)

The method of travel that will be used to calculate the minimal distance.

String
units
(Дополнительный)

The unit of measure that will be used when calculating minimal distance.

String
in_site_centers_features
(Дополнительный)

The point layer that will be used as site centers. This point layer will replace default polygon centroids of the Suitability Analysis layer.

Feature Layer
site_centers_id_field
(Дополнительный)

A field in the in_site_centers_features parameter value that uniquely identifies each record.

Field
weight_field

Numeric fields that exist in a point layer that will be selected for weighting.

Field
statistics_type
(Дополнительный)

Specifies the type of statistical operation that will be applied to the weighted field.

  • SUMThe total of the field values will be calculated for each point feature.
  • AVEThe average field value will be calculated for each point feature.
  • STD_DEVThe standard deviation of the field values will be calculated for each point feature.
  • MINThe smallest field value will be determined for each point feature.
  • MAXThe largest field value will be determined for each point feature.
String
cutoff_distance
(Дополнительный)

The distance beyond which points will not be considered in the calculation.

Double

Производные выходные данные

ИмяОписаниеТип данных
out_analysis_layer

A container for the output layer.

Feature Layer; Group Layer
out_criteria_name

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

String

Пример кода

AddPointLayerBasedSuitabilityCriteria example (Python window)

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

import arcpy
arcpy.ba.AddPointLayerBasedSuitabilityCriteria("Suitability Analysis layer", "OBJECTID", r"Data\Business Data\USA_SHC_2018.gdb\us_shc", "WEIGHT", None, None, None, None, "GLA", "SUM", None)

Информация о лицензиях

  • Basic: Обязательно Business Analyst, Расширение ArcGIS Network Analyst
  • Standard: Обязательно Business Analyst, Расширение ArcGIS Network Analyst
  • Advanced: Обязательно Business Analyst, Расширение ArcGIS Network Analyst

Связанные разделы