I started using TomTom APIs a couple of days ago, and I’m currently trying to do the following:
- Call the Routing API for a given Origin and Destination, and determine the route. The Routing API delivers the coordinates of the waypoints along the route, however, it doesn’t return the maximum/average velocity considering the live/historical traffic.
- To cope with this issue, I’ve tried calling the Traffic API for all the point coordinates provided by the Routing API to get the velocity on the segments between the points. Although this works, the acquisition of data is extremely slow due to a number of calls to the Traffic API.
Is it possible to solve this issue by returning the segment speeds from the Routing API, or is it possible to send a number of points to the Traffic API? Before TomTom, I was using GraphHopper, and GraphHopper returns the segment speeds along the route, however, the speeds are not influenced by traffic, rather they are just speed limits under no traffic.