-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Initial point from the response is different than first from waypoint #407
Comments
As long as In general, the additional coordinates aren’t due to interpolation; rather, each coordinate is supposed to correspond to a node along a way in OpenStreetMap. OSM may insert a node for many reasons, not necessarily due to the road’s geometry. However, the Directions API doesn’t appear to be returning the expected results in this area. The first two waypoints are very close to each other and should get snapped to different points along Via Cosenza. Here’s how the OSRM-powered FOSSGIS Routing Service routes between the first two waypoints: By contrast, this request returns an unexpected geometry that starts with a spurious coordinate corresponding to the end of Via Cosenza: The mapbox/driving profile returns the same result as OSRM, but the mapbox/cycling profile returns a zero-length geometry at the destination waypoint. /cc @mapbox/directions-traffic-and-data |
@1ec5 any update on this? |
I’ve reported the issue to the backend routing team to investigate the issue. Unfortunately, there’s nothing we can do on the client side to work around the issue. Do you see a similar issue with other roads in Tripoli, or just this particular road? |
@1ec5 so far only this one. |
Steps to reproduce:
Expected behavior
First point from returned route is first coordinate.
Actual behavior
First point from returned route is second coordinate.
Configuration
Mapbox-iOS-SDK: 5.4.0
Mapbox Navigation 0.38.1
iOS versions: 13.3
Device/simulator models: all
Xcode version: 11.3
The text was updated successfully, but these errors were encountered: