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

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

Customer Prospecting By Demographic Data

获得 Business Analyst 许可后可用。

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

描述

Searches for areas that contain a specific type of demographic attribute.

Learn more about how Customer Prospecting By Demographic Data works

插图

Customer Prospecting

使用方法

  • In ArcMap, analysis will only be completed on features that are within the active study area or analysis extent.

  • Before running this tool, set up your customer profile (DMQ file) using the Customer Profiling tool.

  • Set your boundary layer to include the market to prospect.

  • Run your initial customer prospecting on large geographies, such as census tracts, to get a general idea of the distribution of your potential customers. Drill down into large concentrations of these boundaries and run the tool again using the block group level. This will allow you to create submarkets within your primary market to focus your analysis.

语法

arcpy.ba.DemoCustomerProspecting(InputBoundaryLayer, InputGeographyLevel, OutputFeatureClass, {WayToDefineDemoQuery}, {DMQFile}, {DemographicQueryWhereClause})
参数说明数据类型
InputBoundaryLayer

The input feature layer that determines the extent at which the analysis will query and return results from the geography level layer.

Feature Layer
InputGeographyLevel

The input feature class that contains the data to be used in the demographic query.

Feature Layer
OutputFeatureClass

The feature class that will contain the customer profile features.

Feature Layer
WayToDefineDemoQuery
(可选)

The parameters to be queried against the geography level.

  • USE_DMQ_FILE —Allows you to point to an existing DMQ file.
  • EDIT_QUERY_IN_PLACE —Allows you to manually create your own DMQ file in the Demographic Query WHERE Clause dialog box. This is the default.
Boolean
DMQFile
(可选)

The definition input file generated in customer prospecting that sets the parameters to filter the geography level.

File
DemographicQueryWhereClause
(可选)

Allows you to manually enter the field statistics for the demographic query.

String

代码示例

DemoCustomerProspecting example (stand-alone script)

# Name: DemoCustomerProspecting.py
# Description: Imports pre-generated customer profile (*.dmq file) to locate block groups that meet the criteria set in that profile.
# 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 the parameters for the Customer Prospecting by Demographic Data tool
# Please note that your paths may be different.
  InputBoundaryLayer = "C:/temp/Boundary.shp"
  InputGeographyLevel = "C:/ArcGIS/Business Analyst/US_2022/Data/Demographic Data/BlockGroups_bg.bds"
  OutputFeatureClass = "C:/temp/Demo_Prospect.shp"
  WayToDefineDemoQuery = "USE_DMQ_FILE"
  DMQFile = "C:/temp/DMQ_output.dmq"
 
# Create Customer Prospecting output file
  arcpy.DemoCustomerProspecting_ba(InputBoundaryLayer, 
	InputGeographyLevel, 
	OutputFeatureClass, 
	WayToDefineDemoQuery, 
	DMQFile)
 
# Release extension license 
arcpy.CheckInExtension("Business")

环境

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

许可信息

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

相关主题

  • An overview of the Business Analyst Analysis toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

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