Standardizes an address using rules defined within the geocode service.
StandardizeAddress(PropertySet Address, PropertySet PropMods)
Parameter |
Description |
Address
|
Address information stored as a PropertySet to be standardized. Each property is associated with an address field defined for the geocoding service. Use GetAddressFields() to get a list of fields.
|
PropMods
|
Modifications to the geocode service properties.
Use GetLocatorProperties() to get a list of default
locator properties.
|
Return Value
Remarks
Standardization is a procedure that usually
occurs before geocoding to prepare an input address for the match process.
Use this method to check the standardization rules
applied to an input address by the geocode service or to construct a PropertySet
that represents a standardized address to pass to the GeocodeAddress()
or FindAddressCandidates() methods.
The following diagram illustrates the geocode server proxy methods commonly used when working with the StandardizeAddress() method. In addition, the diagram also includes the input and output information one can expect when using this method.
The PropMods parameter is a PropertySet containing the geocode service properties to use to find candidates for the address. The GetLocatorProperties() method returns the set of default geocoding properties for the geocode service. Since the StandardizeAddress() method does not perform any matching, most of the locator properties will not apply. However, you may choose to modify some properties associated with address definition, such as intersection connector types.
The PropertySet returned by the StandardizeAddress
method contains the standardized address. If the standardized address
returned is a non-intersection address, then use the names of the fields
returned by the GetStandardizedFields method to retrieve the components
of the standardized address. If the standardized address returned is an
intersection address, then use the names of the fields returned by the
GetStandardizedIntersectionFields method to retrieve the components of
the standardized address. In addition to
the standardized address components, this PropertySet contains a property
named "Addr_type" that indicates the type of address. If the
value of this property is "A", then the address was standardized
as a non-intersection address. If the value of this property is "I",
then the address was standardized as an intersection address. The set
of remaining properties will depend on the value of this property.
Examples