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

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

Create a Store Layer with Address Data

获得 Business Analyst 许可后可用。

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

描述

This creates a new store layer (feature class) based on address information.

使用方法

  • This tool is often used to enter a few addresses at a time from hard-copy address information.

  • Use the Setup Store Using Tabular Data tool if you already have a table of address records from which you want to create a store layer.

  • Only matched records will be in the output store layer.

语法

arcpy.ba.CreateStoreWithAddressData(Locator, AddressesCollection, OutputFeatureClass, {UsePictureSymbol}, {ImagePath}, {PictureSymbolSize})
参数说明数据类型
Locator

The address locator to use for matching addresses.

Address Locator
AddressesCollection

Addresses to be geocoded.

String
OutputFeatureClass

The feature class that will contain the store features.

Feature Class
UsePictureSymbol
(可选)

Inserts custom store symbology into point feature class.

  • True —Inserts custom symbology
  • False —Will not insert custom symbology
Boolean
ImagePath
(可选)

The file location containing the custom store symbology.

File
PictureSymbolSize
(可选)

The feature class that will contain the store points.

Long

代码示例

CreateStoreWithAddressData example (stand-alone script)

# Name: CreateStoreWithAddressData.py
# Description:  Creates a geocoded store layer based on a single address in Redlands, CA.
# 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")
 
# Defines the parameters for the Create a Store Layer with Address Data tool
  Locator = "C:/ArcGIS/Business Analyst/US_2022/Data/Geocoding Data/USA_StreetAddress.loc"
  AddressesCollection = "Addr:380 New York St|City:Redlands|State:CA"
  OutputFeatureClass = "C:/temp/sf_stores.shp"
 
# Generate Store layers with address data
  arcpy.CreateStoreWithAddressData_ba(Locator, AddressesCollection, OutputFeatureClass)
 
# Release extension license 
arcpy.CheckInExtension("Business")

环境

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

许可信息

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

相关主题

  • An overview of the Store Setup toolset

ArcGIS Desktop

  • 主页
  • 文档
  • 支持

ArcGIS

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

关于 Esri

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