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

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

Match Level Summary Report

获得 Business Analyst 许可后可用。

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

描述

Creates a report that assigns customer records to one of four match levels based on the geographic code assigned to each customer using the address information from your customer file.

Learn more about how Match Level Summary Report (Business Analyst) works

使用方法

  • The customer layer must be a point feature class.

  • You can only use this report on customer layers that were created with Business Analyst or Address Coder.

  • Check the Use Selected Features Only check box if you want to examine a subset of customer records.

  • You can regeocode your file after you make edits to the address records if you want to improve the statistics in the report.

语法

arcpy.ba.MatchLevelSR(CustomerLayer, CustomerLayerDescr, OutputDirectoryParameterName, {UseSelectedFeatures}, {TitleParameterName}, {ReportFormats})
参数说明数据类型
CustomerLayer

The point input feature class containing the customer layer. Typically, this will be a Business Analyst customer layer.

Feature Layer
CustomerLayerDescr

Description or alias for the term customer. For example, this could be patients, subscribers, customers, and so forth.

String
OutputDirectoryParameterName

The output directory that will contain the report.

Folder
UseSelectedFeatures
(可选)

Generates a report on selected features of the customer layer.

  • TRUE —Generates the Match Level Summary Report on selected features.
  • FALSE —Generates the Match Level Summary Report on all features. This is the default.
Boolean
TitleParameterName
(可选)

Title for the report.

String
ReportFormats
[ReportFormats,...]
(可选)

Select the desired report output format.

  • Simple XML
  • PDF
  • HTML
  • CSV
  • ZIP
  • XLSX
  • Stripped XLSX
String

代码示例

MatchLevelSR example (stand-alone script)

# Name: MatchLevelSR.py
# Description: Generates a report with how accurately a customer file geocoded in the San Francisco market.
# 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 Match Level Summary Report tool
  Customers = "C:/temp/sf_cust.shp"
  OutPath = "C:/temp/Output_Segmentation"
 
# Create Match Level Summary Report
  arcpy.MatchLevelSR_ba(Customers, "Customers", OutPath)
 
# 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. | 隐私政策 | 法律声明