ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Help
  • Sign Out
ArcGIS Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS Desktop

A complete professional GIS

ArcGIS Enterprise

GIS in your enterprise

ArcGIS Developers

Tools to build location-aware apps

ArcGIS Solutions

Free template maps and apps for your industry

ArcGIS Marketplace

Get apps and data for your organization

  • Documentation
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

ArcMap

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • Extensions

Create a Store Layer with Address Data

Available with Business Analyst license.

  • Summary
  • Usage
  • Syntax
  • Code sample
  • Environments
  • Licensing information

Summary

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

Usage

  • 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.

Syntax

arcpy.ba.CreateStoreWithAddressData(Locator, AddressesCollection, OutputFeatureClass, {UsePictureSymbol}, {ImagePath}, {PictureSymbolSize})
ParameterExplanationData Type
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
(Optional)

Inserts custom store symbology into point feature class.

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

The file location containing the custom store symbology.

File
PictureSymbolSize
(Optional)

The feature class that will contain the store points.

Long

Code sample

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")

Environments

This tool does not use any geoprocessing environments.

Licensing information

  • Basic: Requires Business Analyst
  • Standard: Requires Business Analyst
  • Advanced: Requires Business Analyst

Related topics

  • An overview of the Store Setup toolset

ArcGIS Desktop

  • Home
  • Documentation
  • Support

ArcGIS

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

About Esri

  • About Us
  • Careers
  • Esri Blog
  • User Conference
  • Developer Summit
Esri
Tell us what you think.
Copyright © 2022 Esri. | Privacy | Legal