Route Comparison
The Route Comparison APIs can help you plan routes by considering the time and distance between a series of locations. These APIs include:
- Drive Time Polygon (Isochrones), which retrieves a polygon of the location coordinates that can be reached from a
center
point within a specified driving time inminutes
. - Route Matrix, which returns the travel time and distance for a matrix of origins and destinations.
Pre-requisites
To call the Route Comparison APIs, you must have a PC*Miler Web Services API key. Route Matrix also requires an add-on license.
Operations
- The Drive Time Polygon API can be called via a GET request.
- Route Matrix APIs can be called via both GET and POST requests.
Resource URLs
Drive Time Polygon endpoint: https://pcmiler.alk.com/apis/rest/v1.0/Service.svc/route/DriveTimePolygon
Route Matrix endpoint: https://pcmiler.alk.com/apis/rest/v1.0/Service.svc/route/matrix
Getting Started
Parameter descriptions and sample requests are available for both Drive Time Polygon and Route Matrix. Our developer guide also provides code samples for requests in common programming languages, as well as “How to Guides” for common tasks with the APIs.