IAddressGeocoding.MatchFields Property
Fields contained in the geocoding result.
[Visual Basic .NET]
Public ReadOnly Property MatchFields As IFields
[C#]
public IFields MatchFields {get;}
[C++]
HRESULT get_MatchFields(
IFields** MatchFields
);
[C++]
Parameters
MatchFields [out, retval]
MatchFields is a parameter of type IFields**
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.
Description
The MatchFields property returns the fields that are created by the address locator for matched addresses.
Remarks
The MatchFields that can be returned by geocoding services included with ArcGIS are:
- Match_addr - The address that the matched location actually resides based on the information of the matched candidate. For example, an input address "123 Main St N" is matched to a candidate with the suffix direction 'NW" and all other components matched correctly. The Match_addr field will contain "123 Main St NW" as the actual address that was matched.
- Pct_along - For address locators that use feature classes with polyline geometry as reference data, the percentage along the matched feature at which the matched address is located.
- Ref_ID - The ObjectID of the matched feature.
- Score - A number between 0 and 100 indicating the score of the matched feature. A score of 100 represents an exact match.
- Shape - The geometry for the matched address.
- Side - For address locators that can match addresses to a particular side of a street, the side of the street on which the address matches the matched feature. A value of "L" indicates the left side of the street, and a value of "R" indicates the right side of the street.
- Stan_addr - The standardized address.
- Status - A string value that indicates whether the address was matched ("M"), unmatched ("U"), or had two or more candidates tied with the best score ("T").
- X - The x coordinate of the matched address.
- Y - The y coordinate of the matched address.
All address locators based on the address locator styles provided with ArcGIS return the Shape, Status , Score and Match_addr fields.
You can use the fields returned by this property to inspect the match returned by the MatchAddress method, or to define the feature class that is created using the MatchTable method. See the MatchTable method for more information on fields written to the result feature class.
See Also
IAddressGeocoding Interface | IAddressGeocoding Interface | IAddressGeocoding.MatchTable Method | IAdvancedGeocoding.RematchTable Method | IAddressGeocoding.MatchAddress Method
.NET Samples
StreetMap routing