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.
You must have write privileges to the address locator to use this tool.
In order to rebuild an address locator, all the referenced feature classes and tables need to exist. Rebuilding the locator will fail If you have moved your reference data to another location since the last time the locator was created. You may repair the address locator by updating the locations of the reference data in ArcGIS Desktop. As an alternative, you can re-create an address locator using the Create Address Locator tool.
Address locators based on a versioned geodatabase will be rebuilt with the same version used when the locator was created.
Composite address locators cannot be rebuilt using this tool. The best practice for managing composite locators is to create a composite locator using the Create Composite Address Locator tool in a geoprocessing model. In ModelBuilder, you can also chain the tool with the Create Address Locator tool to use its outputs as the inputs to the composite locator and manage the entire process of creating or updating a composite address locator.
The address locator to rebuild.
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" # Set local variables: address_locator = "Atlanta" arcpy.RebuildAddressLocator_geocoding(address_locator)
- ArcGIS Desktop Basic: Yes
- ArcGIS Desktop Standard: Yes
- ArcGIS Desktop Advanced: Yes