Skip to content

Issue: Routes Appear Parallel to Roads Instead of Aligning Correctly #7126

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

Open
aymen-fkir opened this issue Mar 5, 2025 · 2 comments
Open

Comments

@aymen-fkir
Copy link

I am encountering an issue when using the OSRM backend for routing. The generated routes appear parallel to the actual road network instead of following the roads precisely. The paths are correct in terms of direction but are offset from the expected positions (see attached screenshot).

Steps to Reproduce

Run the OSRM routing server with the following setup:

  • Data: france.osm.pbf
  • Profile: car.lua

Expected Behavior

Routes should follow the actual road network correctly.

Actual Behavior

  • The computed routes appear shifted and parallel to the actual roads instead of aligning with them.
  • The general path is correct, but all segments are consistently offset.

Screenshot

Image

Would appreciate any insights on what might be causing this issue. Thanks!

@funkytorino
Copy link

Hello,

I'm facing a similar problem. It renders correctly when using the public server. Can you confirm that your app works well against it?

@aymen-fkir
Copy link
Author

@funkytorino i had this issue only when try to routing multiple cars on the same route , but i figured out a work around it by using map matching sevice .

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants