ArcGIS for Desktop

  • Documentation
  • Pricing
  • Support

  • My Profile
  • Help
  • Sign Out
ArcGIS for Desktop

ArcGIS Online

The mapping platform for your organization

ArcGIS for Desktop

A complete professional GIS

ArcGIS for Server

GIS in your enterprise

ArcGIS for 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
  • Pricing
  • Support
Esri
  • Sign In
user
  • My Profile
  • Sign Out

Help

  • Home
  • Get Started
  • Map
  • Analyze
  • Manage Data
  • Tools
  • More...

Create a Customer Layer With Address data

  • Summary
  • Usage
  • Syntax
  • Code Sample
  • Environments
  • Licensing Information

Summary

Allows you to input addresses to be geocoded in a new customer layer.

Usage

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

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

  • Only matched records will be included in the output customer layer.

Syntax

CreateCustomerWithAddressData_ba (Locator, AddressesCollection, OutputFeatureClass)
ParameterExplanationData Type
Locator

The address locator.

Address Locator
AddressesCollection

The addresses that are to be geocoded and included in the new store layer.

String
OutputFeatureClass

The feature class that will contain the customer features.

Feature Class

Code Sample

CreateCustomerWithAddressData Example (Stand-alone Script)
# Name: CreateCustomerWithAddressData.py
# Description: Creates a geocoded customer layer based on a single address in Redlands, CA.
# Author: Esri

# Import system modules
import arcview
import arcpy

arcpy.ImportToolbox("C:\Program Files (x86)\ArcGIS\Desktop10.3\Business Analyst\ArcToolbox\Toolboxes\Business Analyst Tools.tbx")
 
try:
# Acquire extension license 
  arcpy.CheckOutExtension("Business")
 
# Defines the parameters for the Create a Customer Layer with Address Data tool
  OutFC= "C:/temp/Redlands_customer.shp"
  Locator = "C:/ArcGIS/Business Analyst/US_2014/Data/Geocoding Data/USA Geocoding Service.loc"
  AddressCol = "Addr:380 New York St|City:Redlands|State:CA"
 
# Create output file for Create customer layers with address data tool
  arcpy.CreateCustomerWithAddressData_ba(Locator, AddressCol, OutFC)
 
# Release extension license 
  arcpy.CheckInExtension("Business") 
 
except:
  print arcpy.GetMessages(2)

Environments

This tool does not use any geoprocessing environments

Licensing Information

  • ArcGIS for Desktop Basic: Requires Business Analyst
  • ArcGIS for Desktop Standard: Requires Business Analyst
  • ArcGIS for Desktop Advanced: Requires Business Analyst

Related Topics

  • An overview of the Customer Setup toolset
Feedback on this topic?

ArcGIS for Desktop

  • Home
  • Documentation
  • Pricing
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS for Desktop
  • ArcGIS for Server
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

About Esri

  • About Us
  • Careers
  • Insiders Blog
  • User Conference
  • Developer Summit
Esri
© Copyright 2016 Environmental Systems Research Institute, Inc. | Privacy | Legal