RoutingStrategy Class | ![]() |
Namespace: Telogis.GeoBase.Routing
The RoutingStrategy type exposes the following members.
Name | Description | |
---|---|---|
![]() | AllowUTurns |
When true, allows the routing engine to instruct a u-turn. When false, generated
routes will not contain u-turns if possible. Default is true.
|
![]() | CostUnits |
Returns the units that the costs are calculated in.
|
![]() | CustomCostFunction |
Gets or sets a custom function used to adjust the cost associated with a particular link.
|
![]() | CustomRoutingAccessKeys |
Gets or sets the custom routing access keys for this route.
|
![]() | DefaultProfile | Obsolete.
The default RoutingProfile for
all countries. This profile will be overridden if a profile has been set for another country.
|
![]() | ExtraProcessingRatio |
Used to increase the area of the bounding boxes for querying the network.
|
![]() | IgnoreConstraints |
When true, tells the routing engine to ignore all constraints. When false (default), constraints are obeyed.
|
![]() | IgnoreDrivingDirection |
When true, tells the routing engine to ignore the direction of one way roads.
Default is false.
|
![]() | KeepOut |
Sets a GeoFence area where the router will
not send vehicles. You can use this to keep the route from going through a specific
area.
|
![]() | KeyAccessPredicate |
Gets or sets a custom predicate used to instruct the routing engine whether an access constraint may be ignored.
|
![]() ![]() | LinkEdits |
A set of link edits that, for selected links, will override the default speed that is
used when calculating a route.
|
![]() | ObeyPreferredConstraints |
When true, tells the routing engine to use preferred constraints. May introduce a performance penalty.
When false (default), preferred constraints are not obeyed.
|
![]() | RoadCrossingBehavior |
Sets the permitted type of road crossing behavior (Allowed, Discouraged, Forbidden).
|
![]() | UseFerries |
Sets whether ferry crossings are allowed (true) or should be avoided as much as possible (false).
Default is true.
|
![]() | UseTollRoads |
Gets or sets whether this route is allowed to use toll roads. Default is true.
|
Name | Description | |
---|---|---|
![]() | CalculateTimeAfter |
Calculates the time after passing through the link.
|
![]() | Dispose |
Disposes this RoutingStrategy.
|
![]() | Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
![]() ![]() | FromXml |
Used to deserialize a RoutingStrategy
object from XML.
|
![]() | GetAllowedVehicleTypes |
Returns the types of vehicles that are allowed on a particular functional class road on this strategy.
|
![]() | GetHashCode |
Returns a unique integer for this object.
(Overrides ObjectGetHashCode.) |
![]() | GetProfile |
Gets the RoutingProfile
for a certain country for this RoutingStrategy.
|
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | RegisterProfile |
Registers the RoutingProfile for
a given country and type of vehicle.
|
![]() | SetAllowedVehicleTypes |
Sets the types of vehicles that are allowed on a particular functional class road on this strategy.
|
![]() | SetProfile(RoutingProfile) | Obsolete. |
![]() | SetProfile(Country, RoutingProfile) |
Sets the RoutingProfile
for a certain country.
|
![]() | SetProfile(Country, RoutingProfile) |
Sets the RoutingProfile for all the countries
in an array.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | ToXml |
Used to serialize a RoutingStrategy
object to XML.
|
Related articles: Routing Concept, Using a RouteMatrix, Modifying the Routing Strategy.