Target Map (Business Analyst)

Résumé

Thematically shades selected segments a single color in a map to help you determine where your target segments are located.

Learn more about how Target Map (Business Analyst) works

Illustration

Target Map example

Usage

Syntaxe

TargetMap_ba (SegmentationBase, SegmentationClusters, SegmentationLayer, SegmentationAnalysisResultFolder, {CreateReport}, {CreateFeatureClass}, OutputFeatureClass)
ParamètreExplicationType de donnée
SegmentationBase

The segmentation base can be generated using total adult population or total households.

String
SegmentationClusters
[SegmentationCluster;SegmentationCluster...,...]

One or more segments used to define your summarized target penetration.

String
SegmentationLayer

The geographic layer containing the segmentation data. Typically, this should be set to the block group layer or other layers with a unique segmentation assignment.

String
SegmentationAnalysisResultFolder

The output file directory.

Missing value
CreateReport
(Facultatif)

Defines whether to generate a Target Map report.

  • CREATE_REPORTGenerates a Target Map report.
  • DONT_CREATE_REPORTDoes not generate a Target Map report. This is the default.
Boolean
CreateFeatureClass
(Facultatif)

Defines whether to generate an output feature class for the Target Map.

  • CREATE_OUT_FEATURECLASSGenerates an output feature class for the Target Map.
  • DONT_CREATE_OUT_FEATURECLASSDoes not generate an output feature class for the Target Map. This is the default.
Boolean
OutputFeatureClass

The new feature class that will contain the Target map output.

Feature Class

Exemple de code

TargetMap Example (Stand-alone Script)
# Name: TargetMap.py
# Description: Creates a report based on selected taptestry segments. 
# Author: ESRI

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox("C:\Program Files\ArcGIS\Desktop10.0\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")

try:
# Acquire extension license 
arcpy.CheckOutExtension("Business") 
 
# Define input and output parameters for the Target Map tool
OutPath = "C:/temp/Output_Segmentation"
SegLayer = "C:/Program Files/ArcGIS/Desktop10.0/Business Analyst/Data/BDS/esri_bg.bds"
 
# Create Target Map
arcpy.TargetMap_ba("Total Adult Population", "Top Rung;Boomburbs", SegLayer, OutPath, "CREATE_REPORT", "DONT_CREATE_OUT_FEATURECLASS")
 
# Release extension license 
arcpy.CheckInExtension("Business") 
 
except:
print arcpy.GetMessages(2)

Environnements

Cet outil ne fait appel à aucun environnement de traitement de données géographiques

Rubriques associées

Informations de licence

ArcView : RequiertBusiness Analyst
ArcEditor : RequiertBusiness Analyst
ArcInfo : RequiertBusiness Analyst

10/4/2010