If no start or end time is provided in the request, traffic data is not used, and the posted speed limits are generally used.
Distance Matrix API travel time calculations
I am working the Distance Matrix API to identify travel times between origin and destination coordinates. My question is about how this travel time is calculated. From what I can ascertain from the supporting information, if a start or end time is specified, the travel time will account for anticipated traffic conditions. However, it is unclear what if any traffic impact there is as default, when a start or end time is not passed. When submitting a request for a driving mode matrix specifying just origin and destination locations, how is the travel time calculated? Is the appropriate road speed used, assuming no traffic? Is there an average road speed applied to individual road sections? Will this calculation ever provide a different response?
1 answer
Sort by: Most helpful
-
rbrundritt 18,266 Reputation points Microsoft Employee
2024-01-24T16:03:24.96+00:00