Skip To Content

Rematch Addresses

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.

  • An ArcGIS Online for organizations subscription is required if you rematch addresses in the geocoded feature class using the ArcGIS Online Geocoding Service.

Syntax

RematchAddresses(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. For more information on SQL syntax see the help topic SQL reference for elements used in query expressions.

SQL Expression

Derived Output

NameExplanationData Type
out_geocoded_feature_class

The updated geocoded feature class.

Feature Class

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
arcpy.env.workspace = "C:/ArcTutor/Geocoding/atlanta.gdb" 

# Set local variables:
where_clause = "Status = 'U' "
geocoded_feature_class = "geocode_result"

arcpy.RematchAddresses_geocoding(geocoded_feature_class, where_clause)

Environments

Licensing information

  • Basic: Yes
  • Standard: Yes
  • Advanced: Yes

Related topics