mapbox / mapbox/mapbox-directions.js
Driving Durations are off
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 58
- Forks
- 21
- PR merge metrics
- No merged PRs in 30d
Description
We have noticed that there are often large discrepancies in the driving times when compared to for instance Google Maps / Bing Maps.
For instance, driving this part of the Trans-Canadian highway:
https://api.mapbox.com/directions/v5/mapbox/driving/-118.076973%2C52.869235%3B-119.413579%2C52.976750.json
6655.2 seconds or 1h 51m! Which averages to 56km/h.
What is causing this difference? Is there something we can do to get more accurate numbers?
P.s. I'm not sure if this is the right place for this kind of issue, if not, can someone please point me in the right direction?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing the linked Google Maps, OSRM, and Mapbox Directions API routes and durations for the stated coordinates. Investigate why the results differ and determine whether the discrepancy is caused by routing data or this project. Done means documenting the cause and whether an actionable accuracy fix exists.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100