Click or drag to resize

RoutingStrategy Class

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release
A collection of routing settings that can be used to control routing priorities. Can be set per route or per link.
Inheritance Hierarchy

Namespace:  Telogis.GeoBase.Routing
Assembly:  geobase.net (in geobase.net.dll) Version: 4.84.0.0
Syntax
public abstract class RoutingStrategy : IDisposable

The RoutingStrategy type exposes the following members.

Properties
  NameDescription
Public propertyAllowUTurns
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.
Public propertyCostUnits
Returns the units that the costs are calculated in.
Public propertyCustomCostFunction
Gets or sets a custom function used to adjust the cost associated with a particular link.
Public propertyCustomRoutingAccessKeys
Gets or sets the custom routing access keys for this route.
Public propertyDefaultProfile Obsolete.
The default RoutingProfile for all countries. This profile will be overridden if a profile has been set for another country.
Public propertyExtraProcessingRatio
Used to increase the area of the bounding boxes for querying the network.
Public propertyIgnoreConstraints
When true, tells the routing engine to ignore all constraints. When false (default), constraints are obeyed.
Public propertyIgnoreDrivingDirection
When true, tells the routing engine to ignore the direction of one way roads. Default is false.
Public propertyKeepOut
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.
Public propertyKeyAccessPredicate
Gets or sets a custom predicate used to instruct the routing engine whether an access constraint may be ignored.
Public propertyCode exampleLinkEdits
A set of link edits that, for selected links, will override the default speed that is used when calculating a route.
Public propertyObeyPreferredConstraints
When true, tells the routing engine to use preferred constraints. May introduce a performance penalty. When false (default), preferred constraints are not obeyed.
Public propertyRoadCrossingBehavior
Sets the permitted type of road crossing behavior (Allowed, Discouraged, Forbidden).
Public propertyUseFerries
Sets whether ferry crossings are allowed (true) or should be avoided as much as possible (false). Default is true.
Public propertyUseTollRoads
Gets or sets whether this route is allowed to use toll roads. Default is true.
Top
Methods
  NameDescription
Public methodCalculateTimeAfter
Calculates the time after passing through the link.
Public methodDispose
Disposes this RoutingStrategy.
Public methodEquals (Inherited from Object.)
Public methodStatic memberFromXml
Used to deserialize a RoutingStrategy object from XML.
Public methodGetAllowedVehicleTypes
Returns the types of vehicles that are allowed on a particular functional class road on this strategy.
Public methodGetHashCode
Returns a unique integer for this object.
(Overrides ObjectGetHashCode.)
Public methodGetProfile
Gets the RoutingProfile for a certain country for this RoutingStrategy.
Public methodGetType (Inherited from Object.)
Public methodRegisterProfile
Registers the RoutingProfile for a given country and type of vehicle.
Public methodSetAllowedVehicleTypes
Sets the types of vehicles that are allowed on a particular functional class road on this strategy.
Public methodSetProfile(RoutingProfile) Obsolete.
Public methodSetProfile(Country, RoutingProfile)
Sets the RoutingProfile for a certain country.
Public methodSetProfile(Country, RoutingProfile)
Sets the RoutingProfile for all the countries in an array.
Public methodToString (Inherited from Object.)
Public methodToXml
Used to serialize a RoutingStrategy object to XML.
Top
Remarks
See Also