Summary
Rematches addresses in a geocoded feature class.
Usage
The input feature class must be a feature class created by the Geocode Addresses tool or a process in which a table of addresses was geocoded.
An ArcGIS Online for organizations organizational subscription is required and consumes credits if you rematch addresses in the geocoded feature class using the ArcGIS World Geocoding Service. The organizational account must have enough credits to complete the entire rematch request.
Syntax
RematchAddresses(in_geocoded_feature_class, in_where_clause)
Parameter | Explanation | Data Type |
in_geocoded_feature_class | The geocoded feature class to be rematched. | 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
Name | Explanation | Data Type |
out_geocoded_feature_class | The updated geocoded feature class. | Feature Class |
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
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