Rebuild Address Locator (Geocoding)


Rebuilds an address locator to update the locator with the current reference data. Since an address locator contains a snapshot of the reference data when it was created, it will not geocode addresses against the updated data when the geometry and attributes of the reference data are changed. To geocode addresses against the current version of the reference data, the address locator must be rebuilt if you want to update the changes in the locator.

Learn more about updating your reference data



RebuildAddressLocator_geocoding (in_address_locator)
ParameterExplanationData Type

The address locator to rebuild.

Address Locator

Code Sample

RebuildAddressLocator Example (Python Window)

The following Python window script demonstrates how to use the RebuildAddressLocator function in immediate mode.

# Import system modules
import arcpy
from arcpy import env
env.workspace = "C:/ArcTutor/Geocoding/atlanta.gdb" 

# Set local variables:
address_locator = "Atlanta_AddressLocator"



Related Topics

Licensing Information

ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes

Published 6/8/2010