Distance Matrix API travel time calculations

Dan Cull 0 Reputation points
2024-01-15T19:28:45.4166667+00:00

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?

Azure Maps
Azure Maps
An Azure service that provides geospatial APIs to add maps, spatial analytics, and mobility solutions to apps.
592 questions
Windows Maps
Windows Maps
A Microsoft app that provides voice navigation and turn-by-turn driving, transit, and walking directions.
245 questions
{count} votes

1 answer

Sort by: Most helpful
  1. rbrundritt 15,311 Reputation points Microsoft Employee
    2024-01-24T16:03:24.96+00:00

    If no start or end time is provided in the request, traffic data is not used, and the posted speed limits are generally used.

    1 person found this answer helpful.