Rebuild Address Locator (Geocoding)

License Level:BasicStandardAdvanced

Summary

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

Usage

Syntax

RebuildAddressLocator_geocoding (in_address_locator)
ParameterExplanationData Type
in_address_locator

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"

arcpy.RebuildAddressLocator_geocoding(address_locator)

Environments

Related Topics

Licensing Information

ArcGIS for Desktop Basic: Yes
ArcGIS for Desktop Standard: Yes
ArcGIS for Desktop Advanced: Yes
1/22/2013