ArcObjects Library Reference (Location)  

AGSAddressLocator Class

A locator adaptor for the GeocodeServer proxies.

AGSAddressLocator is a non-creatable object. References to non-creatable objects must be obtained through other objects.

Product Availability

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

Description

An AGSAddressLocator is a locator that uses a GeocodeServer over a LAN or over the Internet to geocode addresses.

Extended Error Information

Use the ISupportErrorInfo method InterfaceSupportsErrorInfo to determine if the object supports extended error information. If the object supports extended error info, VC++ developers should use the OLE/COM IErrorInfo interface to access the ErrorInfo object. Visual Basic developers should use the global error object Err to retrieve this extended error information.

Interfaces

Interfaces Description
IAddressCandidates Provides access to members for generating candidates for an address.
IAddressGeocoding Provides access to members for geocoding addresses.
IAddressInputs Provides access to members that specify fields for address tables.
IAdvancedGeocoding Provides access to members for advanced geocoding functions.
IAdvancedIntersectionGeocoding Provides access to members for advanced intersection geocoding functions.
IClone (esriSystem) Provides access to members that control cloning of objects.
IGeocodingProperties Provides access to members that control geocoding settings.
IIntersectionGeocoding Provides access to members for geocoding intersections.
ILocator (esriGeoDatabase) Provides access to members that describe general locator properties.
ILocatorDataset (esriGeoDatabase) Provides access to members for retrieving objects associated with the Locator.
IPlaceNameAlias Provides access to memebers that specify a place name alias table.
IReverseGeocoding Provides access to members for reverse geocoding.
IReverseGeocodingProperties Provides access to members that control reverse geocoding settings.
ISingleLineAddressInput Provides access to members for working with single line address information.
ISupportErrorInfo Indicates whether a specific interface can return Automation error objects.

Remarks

There are certain restrictions on the use of AGSAddressLocators that do not apply to other types of locators.

AGSAddressLocators are retrieved from an AGSLocatorWorkspace, which represents the collection of GeocodeServers made available by an instance of an ArcGIS Server. AGSAddressLocators cannot be added to an AGSLocatorWorkspace, or to any other type of LocatorWorkspace, using ArcObjects. Use the ServerObjectAdmin class to create new instances of GeocodeServers that can be retrieved from an AGSLocatorWorkspace.

GeocodeServers cannot be modified by their clients, so modifying certain writeable properties on interfaces supported by AGSAddressLocators is not supported. These properties are:

See Also

ServerObjectType Class | ServerObjectConfiguration Class | ServerObjectAdmin Class | ServerMachine Class | ILocatorWorkspaceName2.AGSServerConnectionName Property | GeocodeServer Class | AGSAddressLocator Class | AGSLocatorWorkspace Class | ILocatorManager2.GetAGSLocatorWorkspace Method | IEnumServerObjectType Interface | IEnumServerObjectTypeInfo Interface | ServerObject Class