Подпись | Описание | Тип данных |
Geography Level
| The geography level that will be used to define the target layer. | String |
Segmentation Base
| The segmentation base for the profile being created. Available options are provided by the segmentation dataset in use. | String |
Output
Feature Class | The output feature class for the target layer. | Feature Class |
Target Group
| A user-created group of targets. This is used if the dataset supports target groups. | File |
Boundary Layer
(Дополнительный) | The boundary that determines the layer extent. | Feature Layer |
Доступно с лицензией Business Analyst.
Краткая информация
Generates a layer that identifies geographies that contain selected segments and categorized groups based on targets.
Использование
-
If Boundary Layer is not specified, the Extent geoprocessing environment setting will be used.
Targets are a subclassification of a Target Group—for example, Core and Development targets. A target can contain one or more segments.
Параметры
arcpy.ba.GenerateTargetGroupLayer(geography_level, segmentation_base, out_feature_class, target_group, {boundary_layer})
Имя | Описание | Тип данных |
geography_level | The geography level that will be used to define the target layer. | String |
segmentation_base | The segmentation base for the profile being created. Available options are provided by the segmentation dataset in use. | String |
out_feature_class | The output feature class for the target layer. | Feature Class |
target_group | A user-created group of targets. This is used if the dataset supports target groups. | File |
boundary_layer (Дополнительный) | The boundary that determines the layer extent. | Feature Layer |
Пример кода
The following Python window script demonstrates how to use the GenerateTargetGroupLayer tool.
import arcpy
arcpy.ba.GenerateTargetGroupLayer("US.ZIP5", "Total Adult Population", r"C:\Users\MyProject\MyProject.gdb\GenerateTargetGroupLayer", None, "proposed_site")
Параметры среды
Информация о лицензиях
- Basic: Обязательно Business Analyst
- Standard: Обязательно Business Analyst
- Advanced: Обязательно Business Analyst