Rematch Addresses (Geocoding)
Summary
Rematches addresses in a geocoded feature class.
Usage
-
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.
Syntax
Parameter | Explanation | Data Type |
in_geocoded_feature_class |
The geocoded feature class you want to rematch. | Feature Class |
in_where_clause |
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: "MY_FIELD" If you're querying personal geodatabases, enclose fields in square brackets: [MY_FIELD]. For more information on SQL syntax and how it differs between data sources, see SQL Reference. | SQL Expression |
Code Sample
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)