Skip to content

Mapbox walking routes not matching OSM OSRM routes? #1933

@streetwalker-unity

Description

@streetwalker-unity

Hi, we are using MapBox in unity and getting really bad walking routes using this call:

https://api.mapbox.com/directions/v5/mapbox/walking/

that is: routes that cross highways where there are no crosswalks; routes that go unnecessary way around to get to the destination.

However, if we go to OpenStreetMap.org and use their map and calculate routes using the OSRM walking option to plot a route between the same start and destination as we do using the above call, we get a really good walking route that has none of those problems.

So what is the difference? Does the MapBox directions API not use OSM for its data and OSRM for its route calculations???

If not, is there any way to get the routes we see at the OpenStreetMap.org site, short of us running our own OSRM server and using that instead of MapBox for route calculation?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions