Rematch Addresses (Geocoding)

Summary

Rematches addresses in a geocoded feature class.

Usage

Syntax

RematchAddresses_geocoding (in_geocoded_feature_class, in_where_clause)
ParameterExplanationData 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

RematchAddresses Example (Python Window)

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)

Environments

Related Topics

Licensing Information

ArcView: Yes
ArcEditor: Yes
ArcInfo: Yes

Published 6/8/2010