Generate Target Layer (Business Analyst)

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

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

Creates a layer that identifies geographies that contain selected segments and geographies that do not contain selected segments.

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

  • If Boundary Layer is not specified, the Extent environment 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.

Параметры

ПодписьОписаниеТип данных
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 Input Type

Specifies whether target groups or segments will be used.

  • Use Target GroupA group of targets will be used.
  • Select SegmentsSegments will be used. One or more segments can make up a target.
String
Target Group
(Дополнительный)

The target group, if the dataset supports target groups.

File
Target
(Дополнительный)

A target from the selected Target Group.

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

Segments from the provided dataset.

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

The boundary that determines the layer extent.

Feature Layer

arcpy.ba.GenerateTargetLayer(geography_level, segmentation_base, out_feature_class, input_type, {target_group}, {target}, {segments}, {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
input_type

Specifies whether target groups or segments will be used.

  • USE_TARGET_GROUPA group of targets will be used.
  • SELECT_SEGMENTSSegments will be used. One or more segments can make up a target.
String
target_group
(Дополнительный)

The target group, if the dataset supports target groups.

File
target
(Дополнительный)

A target from the selected target_group.

String
segments
[segments,...]
(Дополнительный)

Segments from the provided dataset.

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

The boundary that determines the layer extent.

Feature Layer

Пример кода

GenerateTargetLayer example (Python window)

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

import arcpy
arcpy.ba.GenerateTargetLayer("US.ZIP5","Total Adult Population", r"C:\Users\MyProject\MyProject.gdb\GenerateTargetLayer_PACIFICHEIGHTS", "SELECT_SEGMENTS", None, '', "2C", "proposed_site")

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

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

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