Reputation: 14818
Does the HERE API take into account historical traffic data when routing with traffic enabled? For example, if I set the departure time to 5PM local time for a date either in the future or the past (not today) I would expect to get a traffic time greater than the base time due to rush hour traffic.
It doesn't seem to work though. The traffic time and base time come back with the same value. I can't tell if this API just doesn't support this, if it's a bug, or if I'm doing something wrong.
Here is a sample request from the API Playground (with the demo App ID and key) set to 5PM as an example of what I'm referring to:
Upvotes: 0
Views: 1280
Reputation: 1044
Documentation suggests Historic Data is not considered for Routing, only current data is considered
"Enabling traffic allows the Routing API to consider up-to-date traffic information when calculating a route. If the route calculation is performed for the current time, traffic information will be based on current data. Calculations for future times will only consider long term road closures."
Upvotes: 1