ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • 帮助
  • Sign Out
ArcGIS Desktop

ArcGIS Online

专为贵组织打造的制图平台

ArcGIS Desktop

全面的专业性 GIS

ArcGIS Enterprise

面向企业的 GIS

ArcGIS Developers

用于构建位置感知应用程序的工具

ArcGIS Solutions

适用于行业的免费模板地图和应用程序

ArcGIS Marketplace

获取适用于组织的应用程序和数据

  • 文档
  • 支持
Esri
  • 登录
user
  • 我的个人资料
  • 登出

ArcMap

  • 主页
  • 入门
  • 地图
  • 分析
  • 管理数据
  • 工具
  • 扩展模块

Target Map

获得 Business Analyst 许可后可用。

  • 描述
  • 插图
  • 使用方法
  • 语法
  • 代码示例
  • 环境
  • 许可信息

描述

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

插图

Target Map example

使用方法

  • To best determine what segments to include in the target map, you should analyze the output from the Customer Tapestry Profile Report.

  • The segmentation layer should be set to the block group layer. There must be a unique assignment of households for a unit of geography for this map to be created.

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

  • Total adult population includes individuals 18 years old or older.

  • You may want to create a Game Plan Chart to help guide you in the selection of your segments.

  • This tool creates a binary shaded map. All block groups shaded red are in the selected segments (Target) you define.

  • This tool uses the Business Analyst default basemap. If you would like to use a different basemap (in the current data view), then turn off background processing in the geoprocessing options.

  • You can change the default colors used in the target map by editing the Business Analyst styles document. You can edit these colors in ArcMap's Style Manager. To open the Style Manager, click Tools > Styles > Style Manager.

语法

arcpy.ba.TargetMap(SegmentationBase, SegmentaionClusters, SegmentationLayer, SegmentationAnalysisResultFolder, {CreateReport}, {CreateFeatureClass})
参数说明数据类型
SegmentationBase

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

String
SegmentaionClusters
[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.

Folder
CreateReport
(可选)

Defines whether to generate a Target Map report.

  • CREATE_REPORT —Generates a Target Map report.
  • DONT_CREATE_REPORT —Does not generate a Target Map report. This is the default.
Boolean
CreateFeatureClass
(可选)

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

  • CREATE_OUT_FEATURECLASS —Generates an output feature class for the Target Map.
  • DONT_CREATE_OUT_FEATURECLASS —Does not generate an output feature class for the Target Map. This is the default.
Boolean

代码示例

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(r"C:\Program Files (x86)\ArcGIS\Desktop10.8\Business Analyst\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:/ArcGIS/Business Analyst/US_2022/Data/Demographic Data/BlockGroups_bg.bds"
 
# Create Target Map
  arcpy.TargetMap_ba("Total Adult Population", "Top Tier;Boomburbs", SegLayer, OutPath, "CREATE_REPORT", "DONT_CREATE_OUT_FEATURECLASS")
 
# Release extension license 
arcpy.CheckInExtension("Business")

环境

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

许可信息

  • Basic: 需要 Business Analyst
  • Standard: 需要 Business Analyst
  • Advanced: 需要 Business Analyst

相关主题

  • An overview of the Segmentation Analysis toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS
  • ArcGIS Developer
  • ArcGIS Solutions
  • ArcGIS Marketplace

关于 Esri

  • 关于我们
  • 招贤纳士
  • Esri 博客
  • 用户大会
  • 开发者峰会
Esri
分享您的想法。
Copyright © 2022 Esri. | 隐私政策 | 法律声明