Gets fields contained in a list of candidates returned from geocoding an intersection with the FindAddressCandidates method.
GetIntersectionCandidateFields(PropertySet PropMods)
Parameter |
Description |
PropMods |
Modifications to the geocode service (locator) properties. Use GetLocatorProperties to return default locator properties. |
Return Value
A Fields object containing one of more Field objects, each representing information about a match candidate.
Remarks
The common fields returned from the GetCandidateFields method will also be returned by this method - this includes Shape, Status, and Score.
The address style of the specific match fields will differ. If geocoding a street address, the input address will include a house number. As a result, a match candidate for the address will return the house number in a candidate field for the match (match fields returned from GetCandidateFields). When geocoding an intersection, a house number is not specified. Instead two streets are specified. As a result, the match fields for both streets are included are included in the recordset of match candidates. The match field names for the first street are appended with a "1", for example "StreetName1". The match field names for the second street are appended with a "2", for example "StreetName2".
Examples