RoutingStrategyForPedestrian Class |
Namespace: Telogis.GeoBase.Routing
The RoutingStrategyForPedestrian type exposes the following members.
Name | Description | |
---|---|---|
RoutingStrategyForPedestrian | Initializes a new instance of the RoutingStrategyForPedestrian class |
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.
(Inherited from RoutingStrategy.) | |
CostUnits |
Gets the units in which the cost for this strategy is calculated in (always returns meters).
(Overrides RoutingStrategyCostUnits.) | |
CustomCostFunction |
Gets or sets a custom function used to adjust the cost associated with a particular link.
(Inherited from RoutingStrategy.) | |
CustomRoutingAccessKeys |
Gets or sets the custom routing access keys for this route.
(Inherited from RoutingStrategy.) | |
DefaultProfile | Obsolete.
The default RoutingProfile for
all countries. This profile will be overridden if a profile has been set for another country.
(Inherited from RoutingStrategy.) | |
ExtraProcessingRatio |
Used to increase the area of the bounding boxes for querying the network.
(Inherited from RoutingStrategy.) | |
IgnoreConstraints |
When true, tells the routing engine to ignore all constraints. When false (default), constraints are obeyed.
(Inherited from RoutingStrategy.) | |
IgnoreDrivingDirection |
When true, tells the routing engine to ignore the direction of one way roads.
Default is false.
(Inherited from RoutingStrategy.) | |
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.
(Inherited from RoutingStrategy.) | |
KeyAccessPredicate |
Gets or sets a custom predicate used to instruct the routing engine whether an access constraint may be ignored.
(Inherited from RoutingStrategy.) | |
LinkEdits |
A set of link edits that, for selected links, will override the default speed that is
used when calculating a route.
(Inherited from RoutingStrategy.) | |
ObeyPreferredConstraints |
When true, tells the routing engine to use preferred constraints. May introduce a performance penalty.
When false (default), preferred constraints are not obeyed.
(Inherited from RoutingStrategy.) | |
RoadCrossingBehavior |
Sets the permitted type of road crossing behavior (Allowed, Discouraged, Forbidden).
(Inherited from RoutingStrategy.) | |
UseFerries |
Sets whether ferry crossings are allowed (true) or should be avoided as much as possible (false).
Default is true.
(Inherited from RoutingStrategy.) | |
UseTollRoads |
Gets or sets whether this route is allowed to use toll roads. Default is true.
(Inherited from RoutingStrategy.) |
Name | Description | |
---|---|---|
CalculateTimeAfter |
Calculates the time after passing through the link.
(Inherited from RoutingStrategy.) | |
Dispose |
Frees all (managed & unmanaged) resources associated with this RoutingStrategy.
(Overrides RoutingStrategyDispose.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetAllowedVehicleTypes |
Returns the types of vehicles that are allowed on a particular functional class road on this strategy.
(Inherited from RoutingStrategy.) | |
GetHashCode |
Returns a unique integer for this object.
(Inherited from RoutingStrategy.) | |
GetProfile |
Gets the RoutingProfile
for a certain country for this RoutingStrategy.
(Inherited from RoutingStrategy.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
RegisterProfile |
Registers the RoutingProfile for
a given country and type of vehicle.
(Inherited from RoutingStrategy.) | |
SetAllowedVehicleTypes |
Sets the types of vehicles that are allowed on a particular functional class road on this strategy.
(Inherited from RoutingStrategy.) | |
SetProfile(RoutingProfile) | Obsolete. (Inherited from RoutingStrategy.) | |
SetProfile(Country, RoutingProfile) |
Sets the RoutingProfile
for a certain country.
(Inherited from RoutingStrategy.) | |
SetProfile(Country, RoutingProfile) |
Sets the RoutingProfile for all the countries
in an array.
(Inherited from RoutingStrategy.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToXml |
Used to serialize a RoutingStrategy
object to XML.
(Inherited from RoutingStrategy.) |
The routing strategy for pedestrians assumes an average walking speed (3 mph/5 kph), allows a route to traverse one-way streets in either direction, checks the AR_PEDEST flag, and avoids streets with a FUNC_CLASS of 1 or 2.
Related articles: Routing Concept, Using a RouteMatrix.
// Create a Route. Route WalkingRoute = new Route(); // Change the Route Strategy. Determine the best route if walking. WalkingRoute.Strategy = new RoutingStrategyForPedestrian();