Generate Target Penetration Layer (Business Analyst)

Disponible con licencia de Business Analyst.

Resumen

Generates a layer based on the percent of penetration of selected segments, providing a detailed view of the concentrations of your target segments.

Uso

  • 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.

Parámetros

EtiquetaExplicaciónTipo de datos
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

The geographic layer containing the segmentation data or the target group.

  • Use Target GroupA target group will be used as the input type.
  • Select SegmentsSelected segments will be used as the input type. One or more segments can compose a target. This is the default.
String
Target Group
(Opcional)

A user-created group of targets. This parameter is used when the dataset supports target groups.

File
Target
(Opcional)

A target from the selected Target Group.

String
Segments
(Opcional)

Segments from the provided dataset.

String
Boundary Layer
(Opcional)

The boundary that determines the extent of the analysis.

Feature Layer

arcpy.ba.GenerateTargetPenetrationLayer(geography_level, segmentation_base, out_feature_class, input_type, {target_group}, {target}, {segments}, {boundary_layer})
NombreExplicaciónTipo de datos
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

The geographic layer containing the segmentation data or the target group.

  • USE_TARGET_GROUPA target group will be used as the input type.
  • SELECT_SEGMENTSSelected segments will be used as the input type. One or more segments can compose a target. This is the default.
String
target_group
(Opcional)

A user-created group of targets. This parameter is used when the dataset supports target groups.

File
target
(Opcional)

A target from the selected target_group.

String
segments
[segments,...]
(Opcional)

Segments from the provided dataset.

String
boundary_layer
(Opcional)

The boundary that determines the extent of the analysis.

Feature Layer

Muestra de código

GenerateTargetPenetrationLayer example (Python window)

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

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

Información de licenciamiento

  • Basic: Requiere Business Analyst
  • Standard: Requiere Business Analyst
  • Advanced: Requiere Business Analyst

Temas relacionados