Click or drag to resize

Routing Tutorial

Verizon Connect Logo
Print this page
Learn more about Verizon Connect GeoBase.
Get information about the latest release

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:

  • Creating a Simple Route

    This example shows how to create a Route from a series of RouteStop objects.

  • Using Directions

    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.

  • Displaying a Route

    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.

  • Using a RouteMatrix

    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.

  • Modifying the Routing Strategy

    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.

  • Editing a Link's Permitted Speed

    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.

  • Avoiding a Given Area

    How to use a GeoFence object to exclude one or more defined areas from a route.

  • Using Truck Attributes

    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.

  • Delivery Time Windows

    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).

  • Breaks and Time Window Optimization

    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.

  • Routing with Traffic

    This tutorial shows how to add and use traffic data in a simple routing application.