Calculating routes, Point-to-point routing – Pitney Bowes MapXtreme User Manual

Page 364

Advertising
background image

Chapter 20: Routing

Calculating Routes

MapXtreme v7.1

371

Developer Guide

The following diagram illustrates the interfaces and classes that make up the Routing namespace:

Calculating Routes

There are three types of route calculations (determining shortest or fastest route) that can be
performed: simple routes (point-to-point), multi-point routes, and matrix route requests.

Point-to-Point Routing

One of the most common routing requirements is for simple driving directions where a customer
inputs two addresses, two points, or any combination, and gets back a route. The route will be
calculated from a specified start point to a specified end point.

At the simplest level of point-to-point routing, the response includes a route summary. This summary
includes the distance and time of the route. There are numerous additions you can make to a point-
to-point route request to return additional information in the response. These additions are:

Routing Preferences

Driving Directions

Route Geometry

Avoiding Points, Features, and Segments

Time-Based Routing

Advertising