Segmentation Penetration Map (Business Analyst)

许可等级:BasicStandardAdvanced

摘要

Thematically shades the percent penetration of selected segments. This map helps you determine the concentration of your target segments at a given level of geography.

Learn more about how Segmentation Penetration Map works

插图

Segmentation Penetration Map

用法

语法

SegmentationPenetrationMap_ba (SegmentationBase, SegmentationClusters, SegmentationLayer, SegmentationAnalysisResultFolder, {CreateReport}, {CreateFeatureClass}, OutputFeatureClass)
参数说明数据类型
SegmentationBase

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

String
SegmentationClusters
[SegmentationClusters,...]

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

String
SegmentationLayer

The geographic layer containing the segmentation variables. Typically, the segmentation variables are Tapestry variables.

String
SegmentationAnalysisResultFolder

The output file directory.

Folder
CreateReport
(可选)

Generates a Segmentation Penetration Map report.

  • CREATE_REPORTGenerates a Segmentation Penetration Map report.
  • DONT_CREATE_REPORTDoes not generate a Segmentation Penetration Map report.
Boolean
CreateFeatureClass
(可选)

Generates an output feature class for the Segmentation Penetration Map.

  • CREATE_OUT_FEATURECLASSGenerates an output feature class for the Segmentation Penetration Map.
  • DONT_CREATE_OUT_FEATURECLASSDoes not generate an output feature class for the Segmentation Penetration Map.
Boolean
OutputFeatureClass

The new feature class that will contain the Segmentation Penetration map output.

Feature Class

代码实例

SegmentationPenetrationMap Example (Stand-alone Script)
# Name: SegmentationPenetrationMap.py
# Description: Creats a Segmentation penetration map based on selected Tapestry variables. 
# Author: Esri

# Import system modules
import arcview
import arcpy

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

try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business") 
 
# Define input and output parameters for the Segmentation Penetration Map tool
  GeoLayer = "C:/ArcGIS/Business Analyst/US_2013/Data/BDS/esri_bg.bds"
  OutPath = "C:/temp/Output_Segmentation"
 
# Create Customer Segmentation Penetration Map
  arcpy.SegmentationPenetrationMap_ba("Total Adult Population", "Boomburbs; Exurbanites", "US.BDS.BlockGroups", GeoLayer, OutPath, CREATE_REPORT)
 
# Release extension license 
  arcpy.CheckInExtension("Business") 
 
except:
  print arcpy.GetMessages(2)

环境

此工具不使用任何地理处理环境

相关主题

许可信息

ArcGIS for Desktop Basic: 需要 Business Analyst
ArcGIS for Desktop Standard: 需要 Business Analyst
ArcGIS for Desktop Advanced: 需要 Business Analyst
4/27/2014