Geocode Match Code and Match Method Tables
This documentation is no longer available on MSDN. It is available as a CHM or PDF download. For the newest Geocoding, Imagery, Routing and Traffic services, see Bing Maps REST Services.
The following tables list match code and match method values returned by the Bing Maps Geocode Service.
Match Codes
The GeocodeResult.MatchCodes Property and the LocationData.MatchCodes Property contain values that indicate the geocoding level of the location match. The table below lists possible values for these properties.
Value |
Description |
---|---|
None |
No match was found by the Bing Maps Geocode Service. |
Good |
The Bing Maps Geocode Service found a single match. |
Ambiguous |
The Bing Maps Geocode Service returned more than one possible match. For example, the street address for the entity is 128 Main St. and the Bing Maps Geocode Service returns matches for 128 North Main St. and 128 South Main St. because there is no way to determine which is desired. |
UpHierarchy |
The Bing Maps Geocode Service was unable to match all of the information and had to move up the geographic hierarchy to find a less precise result. For example, a match code of UpHierarchy is returned if the Bing Maps Geocode Service cannot match the address fields for the entity and returns a match at the postal code level. |
Modified |
The Bing Maps Geocode Service found a match, but only if the match is modified. |
Match Methods
The GeocodeLocation.CalculationMethod Property contains values that indicate the geocode method used to match the location to the map. The following table lists possible values for this property.
Value |
Description |
---|---|
Interpolation |
The Bing Maps Geocode Service matched the location to a point on a road using interpolation. |
InterpolationOffset |
The Bing Maps Geocode Service matched the location to a point on a road using interpolation with an additional offset to shift the point to the side of the street. |
Parcel |
The Bing Maps Geocode Service matched the location to the center of a parcel. |
Rooftop |
The Bing Maps Geocode Service matched the location to the rooftop of a building. |