Create a Customer Layer With Address data (Business Analyst)

概要

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\ArcGIS\Desktop10.0\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:/Program Files/ArcGIS/Desktop10.0/Business Analyst/Data/USA Geocoding Service/USA Geocoding Service"
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)

環境

このツールは、ジオプロセシング環境では使用できません

関連項目

ライセンス情報

ArcView: 要 Business Analyst
ArcEditor: 要 Business Analyst
ArcInfo: 要 Business Analyst

10/4/2010