Journeys and travel time.
WHAT THE SERVICES PROVIDE
Directions between points Distance and duration between many origins and destinations Route optimisation for several stops
WHAT TO KNOW ABOUT THE MATRIX SERVICE
It is billed per element, meaning origins multiplied by destinations.
WHY THAT MATTERS
A request with many of each is expensive, and it grows quickly.
WHAT TO DO
Limit the size of the request, and filter candidates first.
WHAT TRAVEL MODES EXIST
Driving, walking, cycling and transit, where data is available.
WHAT TO KNOW LOCALLY
Transit data coverage is limited in many areas, and traffic conditions may not reflect reality.
WHAT THAT MEANS
Estimated durations should be treated as approximate, and presented as such.
WHAT TO CONFIGURE
Departure time, for traffic-aware estimates Avoidance options, where relevant
WHAT TO CACHE
Routes between fixed points, where the terms permit.
WHY
The same journey requested repeatedly is billed repeatedly.
WHAT TO HANDLE
No route found Partial results Requests exceeding limits
WHAT TO SHOW USERS
Distance and duration, with an indication that it is an estimate.