Create a Customer Layer With Address data (Business Analyst)

Уровень лицензии:BasicStandardAdvanced

Краткая информация

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

Использование

Синтаксис

CreateCustomerWithAddressData_ba (Locator, AddressesCollection, OutputFeatureClass)
ПараметрОбъяснениеТип данных
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

Пример кода

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.2\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_2013/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)

Параметры среды

Этот инструмент не использует параметры среды геообработки

Связанные темы

Информация о лицензировании

ArcGIS for Desktop Basic: Требует Business Analyst
ArcGIS for Desktop Standard: Требует Business Analyst
ArcGIS for Desktop Advanced: Требует Business Analyst
4/27/2014