-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Nearest Service returning an incorrect node ID of 0 #5415
Comments
capturing per chat with @daniel-j-h:
|
Hey, Don't hesitate to try our code. |
I'm also observing the behaviour that around ~10% of the responses contain an invalid I've tried running @Gp2mv3's However, it was my understanding that originally the Nearest service returned the two nodes which correspond to the nearest segment. With the patch, it seems to simply return all nodes that define the whole (nearest) way? |
Indeed, that's exactly the behaviour I wanted. It seems more logical, no? |
Hmm, not sure, because at least in my usecase I'm interested in identifying the actual closest segment, not the whole way (which might be huge). Returning all the nodes for the way is also kind of redundant, because the caller might as well get just the |
I'm still observing this behaviour. Any new information on this issue? |
When requesting
\nearest
we often find the annotation of nodes returning an incorrect node ID of0
.We're seeing a node ID
0
in about 17% of all requests.Example:
https://router.project-osrm.org/nearest/v1/driving/13.5077,52.5643
Response:
Expected Behaviour
Instead of node ID
0
, we would expect 536784687The text was updated successfully, but these errors were encountered: