Generate Geographies From Overlay (Business Analyst)

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

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

Generates trade areas from the features of an input standard geography level that has a specified spatial relationship with the input.

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

  • The tool finds the component geography of the given input layer and, for each component geography, calculates how much of its area, population, number of households, and so on, intersect the input feature.

  • The Input Features layer is used to define which features of the standard geography level layer will be included in the Output Feature Class.

  • The Output Feature Class is based on a polygon-to-polygon selection and is computed by a geometric relationship of the features in both polygon-based layers.

  • The All ratios value is not available when using online data.

  • This tool will consume credits under certain circumstances, for example, if one or more Ratios variables are selected and are connected to ArcGIS Online, there will be a credit consumption similar to the Enrich Layer tool. Credit consumption also depends on the number of partial intersections between Input Features and Geography Level inputs.

Параметры

ПодписьОписаниеТип данных
Geography Level

The geography level that will be used to define the trade area.

String
Input Features

The features used to extract the standard geography level features by the specified spatial relationship. It can be either all features from the layer or only those selected once a selection is available.

Feature Layer
ID Field

The field used to identify the Input Features parameter—for example, the IDs of drive time polygons.

Field
Output Feature Class

The output feature containing the trade area.

Feature Class
Relationship
(Дополнительный)

Specifies how the subgeography will be selected from the boundary layer.

  • IntersectIf any of the subgeography features touch or intersect the boundary layer, they will be included in the output layer. This is the default.
  • Have their center inIf the centroids of any of the subgeography features are contained within the boundary layer, they will be included in the output layer.
  • Completely withinOnly the features of the subgeography layer that are completely contained within the boundary layer will be included in the output layer.
String
Ratios
(Дополнительный)

Specifies the ratios to be calculated.

  • No ratiosNo ratios will be implemented. This is the default.
  • Area onlyOnly the ratios within the portion (area) of the standard geography level that intersects an input feature will be implemented.
  • All ratiosAll available ratios will be implemented. This option is not available when using online data.
String

arcpy.ba.GenerateGeographiesFromOverlay(geography_level, in_features, id_field, out_feature_class, {overlap_type}, {ratios})
ИмяОписаниеТип данных
geography_level

The geography level that will be used to define the trade area.

String
in_features

The features used to extract the standard geography level features by the specified spatial relationship. It can be either all features from the layer or only those selected once a selection is available.

Feature Layer
id_field

The field used to identify the input_features parameter—for example, the IDs of drive time polygons.

Field
out_feature_class

The output feature containing the trade area.

Feature Class
overlap_type
(Дополнительный)

Specifies how the subgeography will be selected from the boundary layer.

  • INTERSECTIf any of the subgeography features touch or intersect the boundary layer, they will be included in the output layer. This is the default.
  • CENTROID_WITHINIf the centroids of any of the subgeography features are contained within the boundary layer, they will be included in the output layer.
  • COMPLETELY_WITHINOnly the features of the subgeography layer that are completely contained within the boundary layer will be included in the output layer.
String
ratios
(Дополнительный)

Specifies the ratios to be calculated.

  • NO_RATIOSNo ratios will be implemented. This is the default.
  • AREA_ONLYOnly the ratios within the portion (area) of the standard geography level that intersects an input feature will be implemented.
  • ALL_RATIOSAll available ratios will be implemented. This option is not available when using online data.
String

Пример кода

GenerateGeographiesFromOverlay example (Python window)

The following Python window script demonstrates how to use the GenerateGeographiesFromOverlay tool.

import arcpy
arcpy.ba.GenerateGeographiesFromOverlay("US.ZIP5", "TradeArea", "ID",
                                        r"C:\Temp\Output.gdb\OverlayTradeAreas")

Параметры среды

Особые случаи

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

  • Basic: Обязательно Business Analyst
  • Standard: Обязательно Business Analyst
  • Advanced: Обязательно Business Analyst

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