Rebuild Address Locator (Geocoding) |
|
Release 9.2
Last modified March 30, 2008 |
![]() ![]() ![]() Print all topics in : "Tools" |
Rebuilds an address locator
Usage tips
You must have write privileges to the address locator to use this tool.
The reference feature class and tables must be available. You may need to repair the address locator particularly the paths to the reference data if the data has been moved to a different location since the last time the locator was built.
Address locators created based on a versioned geodatabase will be rebuilt using the same version.
Composite address locators cannot be rebuilt.
Address locators created with ArcGIS prior to version 9.2 or address locators provided by any StreetMap products cannot be rebuilt.
The following environment settings affect this tool: Configuration keyword, workspace, and scratch workspace.
Command line syntax
An overview of the Command Line window
RebuildAddressLocator_geocoding <in_address_locator>
Parameter | Explanation | Data Type |
<in_address_locator> |
The address locator you want to rebuild |
Address Locator |
Workspace "D:\Workspace\Madison" RebuildAddressLocator "Madison Streets" Workspace "D:\Workspace\Madison\Madison.mdb" RebuildAddressLocator "Madison Streets" Workspace "D:\Workspace\Madison\Madison.gdb" RebuildAddressLocator "Madison Streets" Workspace "Database Connections\\mendota.madison.sde" RebuildAddressLocator "SDE.Madison Streets"
Scripting syntax
About getting started with writing geoprocessing scripts
RebuildAddressLocator_geocoding (in_address_locator)
Parameter | Explanation | Data Type |
in_address_locator (Required) |
The address locator you want to rebuild |
Address Locator |
# Example 1: # Rebuild a local address locator. import arcgisscripting GP = arcgisscripting.create() try: GP.Workspace = "D:\Workspace\Madison" locator = "Madison Streets" GP.RebuildAddressLocator(locator) except: print GP.GetMessages(2) # Example 2: # Rebuild an address locator in a personal or file geodatabase. import arcgisscripting GP = arcgisscripting.create() try: # Modify the following line to specify a file geodatabase workspace such as "D:\Workspace\Madison\Madison.gdb" GP.Workspace = "D:\Workspace\Madison\Madison.mdb" locator = "Madison Streets" GP.RebuildAddressLocator(locator) except: print GP.GetMessages(2) # Example 3: # Rebuild an ArcSDE address locator. import arcgisscripting GP = arcgisscripting.create() try: GP.Workspace = "Database Connections\\mendota.madison.sde" locator = "SDE.Madison Streets" GP.RebuildAddressLocator(locator) except: print GP.GetMessages(2)