Rematch Addresses (Geocoding)
Rematches addresses in a geocoded feature class.
The input feature class has to be a feature class that was created by the Geocode Addresses tool or a process in which a table of addresses was geocoded.
The geocoded feature class you want to rematch.
An SQL expression used to select a subset of features.
The syntax for the expression differs slightly depending on the data source. For example, if you're querying file or ArcSDE geodatabases, or shapefiles, enclose field names in double quotes:
If you're querying personal geodatabases, enclose fields in square brackets:
For more information on SQL syntax and how it differs between data sources, see SQL Reference.
The following Python window script demonstrates how to use the RematchAddress function in immediate mode.
# Rematch unmatched addresses in a geocoded feature class. # Import system modules import arcpy from arcpy import env env.workspace = "C:/ArcTutor/Geocoding/atlanta.gdb" # Set local variables: where_clause = "Status" = 'U' geocoded_feature_class = "geocode_result" arcpy.GeocodeAddresses_geocoding(geocoded_feature_class, where_clause)