Skip to content

nearest service returns OSM node ids [0, 26734302] for 13.370863,52.519569 #7125

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
afarber opened this issue Mar 2, 2025 · 2 comments
Open

Comments

@afarber
Copy link
Contributor

afarber commented Mar 2, 2025

Issue

When calling OSRM backend nearest service for the location with longitude 13.370863 latitude 52.519569 through the following URL:

https://router.project-osrm.org/nearest/v1/driving/13.370863,52.519569?number=1&generate_hints=false&radiuses=10

Then 2 OSM node ids are returned and one of them is 0:

{
  "code": "Ok",
  "waypoints": [
    {
      "nodes": [0, 26734302],
      "distance": 0.067871706,
      "name": "Heinrich-von-Gagern-Straße",
      "location": [13.370864, 52.519569]
    }
  ]
}

Steps to reproduce

If you're reporting an issue with https://map.project-osrm.org, please provide a link to the problematic request.

https://router.project-osrm.org/nearest/v1/driving/13.370863,52.519569?number=1&generate_hints=false&radiuses=10
(returns two OSM node ids and one of them is 0)

@DennisOSRM
Copy link
Collaborator

Thanks for reporting

@CodyKlingler
Copy link

It looks like this has been reported before. See #7047 #7048

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

3 participants