This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INALocator3 Interface (ArcObjects .NET 10.4 SDK) |
Provides access to properties that apply to all network locators.
Description | ||
---|---|---|
AddLocatorAgent | Add a locator agent. | |
Bind | Re-associate the locators with the given network dataset and its schema. | |
CacheRestrictedElements | The locator will examine the NAContext and its associated NASolver to build a cache of network elements that cannot be located on due to restrictions, barriers, etc. This method should be called before querying the locator whenever ExcludeRestrictedElements i | |
CreateDefault | Make the default locators. | |
ExcludeRestrictedElements | Indicates whether to exclude restricted portions of the network when locating points. | |
FindClosestAmongAllAgents | Indicates if the closest location (only) should be returned. | |
GeocodeLocation | The network location at the specified address. Honors side of street if the address locator does. | |
LocatorAgent | The locator agent by index. | |
LocatorAgentCount | The number of locator agents added. | |
MaxSnapTolerance | The maximum distance that can be searched when expanding the snap tolerance. Has the same units as the snap tolerance. | |
NetworkDataset | The associated network dataset. | |
OutputSpatialReference | The spatial reference for points returned by the locator. | |
QueryLocationByPoint | Use the locator agents to find a network location from a point. | |
QueryLocationByPointEx | Use the locator agents to find a network location from a point and curb approach. | |
QueryLocationByRow | Use the locator agents to find a network location from a row. | |
QueryLocationByRowEx | Use the locator agents to find a network location from a row and curb approach. | |
QueryLocationRangesByGeometry | Use the locator agents to find network location ranges from a geometry. | |
QueryLocationRangesByRow | Use the locator agents to find a network location ranges from a row. | |
QueryOffsetPoint | The point offset from a network location. | |
QueryPoint | The point for a network location. | |
RemoveLocatorAgent | Remove a locator agent by index. | |
ReverseGeocodeLocation | The address of the network location. Honors side of street if the address locator does. | |
SnapTolerance | The distance to search. | |
SnapToleranceUnits | The units of the snap tolerance. |
Interfaces | Description |
---|---|
INALocator2 | Provides access to properties that apply to all network locators. |
INALocator | Provides access to properties that apply to all network locators. |
CoClasses and Classes | Description |
---|---|
NALocator | Finds network locations for analysis. |
The INALocator3 interface provides methods to specify settings and make calls to associated NALocatorAgents.
The interface also provides methods that allow the NALocator to automatically expand the snap tolerance when loading network locations. The tolerance begins at the SnapTolerance and doubles each time until either a network location is found or the MaxSnapTolerance value is reached.
Generally, the NALocator should be retrieved from an NAContext. However, if you do create an NALocator, or have added a new locator agent, then, before querying the NALocator, Bind should be called on the NALocator to set up the locator agents and associate it with the NetworkDataset.