NAServerLocations
Derived Types: NAServerPropertySets, NAServerRecordSet, NAServerDataLayer
An abstract class that describes a collection of input features to load as network locations into the various input classes to the network analysis problem. This is how you specify the Stops, Barriers, Incidents, Facilities, etc to use during analysis.
Property |
Type |
Description |
---|---|---|
DoNotLocateOnRestrictedElements |
bool |
Indicates if the loader should avoid locating the network locations on network elements that are restricted by Barriers or due to the set of restrictions specified by NAServerSolverParams.RestrictionAttributeNames |
DoNotLocateOnRestrictedElementsSpecified |
bool |
Indicates if DoNotLocateOnRestrictedElements is specified. |
Remarks
At a minimum, each location should include a shape representing the location of the network location to use for locating.
You can choose to use additional properties when loading the network locations. For example, if you specify the network location fields "SourceID" (int), "SourceOID" (int), "PosAlong" (double), and "SideOfEdge" (int), the values in these properties will specify the network location rather than perform a spatial search to determine the network location.