Skip to content
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

Node IDs > 2^34 are reported by route matching incorrect. #7069

Open
TrevorPace opened this issue Nov 14, 2024 · 0 comments
Open

Node IDs > 2^34 are reported by route matching incorrect. #7069

TrevorPace opened this issue Nov 14, 2024 · 0 comments

Comments

@TrevorPace
Copy link

Issue

Ran into an issue today with a client that is using an instance of OSRM to compute routes on a mix of data from OSM (and thus valid IDs) and data from a local source (which was given arbitrary IDs > 1quadrillion to avoid conflicts, we couldn't renumber everything right now). When performing a route match request against the higher node IDs the reported route coordinates were correct, but the node IDs were not. Upon further investigation it appeared that the reported IDs were overflowing beyond 2^34.

Steps to reproduce

Start an OSRM match server with some node IDs higher than 2^34. Make a route match request (eg. v1/driving). Check the reported node IDs.

osrm-backend version: 5.26.0

Specifications

  • Unknown server the client operates. It's linux, some VM from a cloud provider.

The good news

We have like 1600 days to resolve this before actual OSM data causes this issue.

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

No branches or pull requests

1 participant