This tutorial will describe a number of GeoBase routing features and concepts in the Telogis.GeoBase.Routing namespace.
The tutorial is divided into the following sections:
This example shows how to create a Route from a series of RouteStop objects.
A Directions object describes the navigation of a route.
This example shows how to use a Directions object to calculate the distance along a route, find the estimated time required to travel the route and to generate driving directions.
It's often useful to display a route in graphical form to the user. This example will demonstrate how to display two different routes on the same map.
A RouteMatrix can efficiently calculate the distances and times between many RouteStop objects.
This example shows how to use a RouteMatrix to dispatch employees to customers as quickly as possible.
Describes how to create a custom route cost evaluation function to adjust the way GeoBase creates a route.
This example shows how to create a route that avoids freeways.
This tutorial describes an advanced routing strategy using edited street links. By editing a link or a collection of links, it is possible to specify the maximum speed permitted by vehicles traveling along these links in one or both directions.
This example shows the difference in route duration with and without a strategy to which edited links have been applied.
How to use a GeoFence object to exclude one or more defined areas from a route.
If you describe the size, shape and load carried by a truck, GeoBase will intelligently route the truck avoiding road features (such as bridges and tunnels) that would prevent the truck from driving safely.
A time window is a specified time period in which the stop must be visited (such as between 9am and 5pm, or between 2pm and 4pm). GeoBase can then plan the route to ensure that each stop is visited only within its time window. Time windows are especially useful in situations where deadlines are important (such as utilities, repair companies and delivery services).
GeoBase can insert breaks into a route at fixed or unknown locations to allow for lunch breaks, personal appointments or mandatory rest periods. Like other stops, breaks can use time windows to prioritize routing and ensure they occur within their assigned windows.
This tutorial shows how to add and use traffic data in a simple routing application.