Skip to content

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

@afarber

Description

@afarber

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)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions