Facility
A class that represents a facility. Facilities represent locations that can serve as the starting point or ending point of a closest facility analysis, for example, a fire station or a hospital. The Facility class contains one of location inputs for the ClosestFacilityTask. The ClosestFacilityTask will create a route between facilities and incidents.
Since
200.1.0
See also
Constructors
Properties
Curb approach. Default value CurbApproach.EitherSide will be returned on error.
Current bearing in degrees. Current bearing in degrees, measured clockwise from true north. Typical values are 0 to 360 or NaN, negative values will be subtracted from 360 (e.g. -15 => 345), values greater than 360 will be have 360 subtracted from them (e.g. 385 => 25). For this property to be used the bearing tolerance also has to be set.
Current bearing tolerance in degrees. Valid values are 0 to 180 or NaN.
Distance to network location in meters. The distance to network location in meters can be populated by closest facility task.
Facility ID. This is a caller supplied foreign key that can be used to associate output facilities with input facilities.
Impedance cutoff. It's a value for the impedance beyond which facilities should not be found.
Location status. Facility location's status can be populated by closest facility task. Default value LocationStatus.NotLocated will be returned on error.
Navigation latency in seconds.
Navigation speed in meters per second.
Network location. The facility's location on the network that can be populated by closest facility task. Set to null for resetting a network location.