This document is archived and information here might be outdated.  Recommended version.


IAdvancedGeocoding.StandardizeAddress Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Location)  

IAdvancedGeocoding.StandardizeAddress Method

Standardizes an address.

[Visual Basic .NET]
Public Function StandardizeAddress ( _
    ByVal address As IPropertySet, _
    ByRef isAnIntersection As Boolean _
) As IPropertySet
[C#]
public IPropertySet StandardizeAddress (
    IPropertySet address,
    ref bool isAnIntersection
);
[C++]
HRESULT StandardizeAddress(
  IPropertySet* address,
  VARIANT_BOOL* isAnIntersection,
  IPropertySet** standardizedAddress
);
[C++]

Parameters address [in]
address is a parameter of type IPropertySet isAnIntersection [in, out] isAnIntersection is a parameter of type VARIANT_BOOL standardizedAddress [out, retval]
standardizedAddress is a parameter of type IPropertySet

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Remarks

All of the locators provided with ArcGIS prior to 10.0 standardize addresses before matching them to the reference data. Version 10.0 locators do not use standardization for matching and therefore do not support IAdvancedGeocoding.

Sometimes, locators are not able to standardize addresses properly and thus cannot match them. If you find addresses that a locator cannot match, examining how they are standardized may help you determine why they cannot be matched. You may even be able to modify the standardization so that the addresses are standardized properly and thus improve the likelihood that the locator can match them.

The StandardizeAddress method returns a PropertySet containing the address contained in the address parameter standardized by the geocoding engine. Use the IAddressInputs::AddressFields property to determine the properties that the address parameter should contain. Use the StandardizeFields property to determine the names of the properties that the returned PropertySet contains.

The isAnIntersection is an output parameter whose value is set by the StandardizeAddresses method. If the value of the variable is set to True, then the locator interpreted the address as an intersection. If the address is an intersection, then you can use the IAdvancedIntersectionGeocoding::StandardizeIntersectionFields property to inspect the properties in the PropertySet returned by this method. Otherwise, you can use the StandardizeFields property to inspect the properties.

See Also

IAdvancedGeocoding Interface