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

Retrieval of Nearest locations rather than node ID #7029

Open
muteebali opened this issue Sep 4, 2024 · 0 comments
Open

Retrieval of Nearest locations rather than node ID #7029

muteebali opened this issue Sep 4, 2024 · 0 comments

Comments

@muteebali
Copy link

muteebali commented Sep 4, 2024

Feature

The nearest API service computes the nearest node IDs and snap locations based on a provided location. The OSRM API should include a feature that returns both the nearest locations, along with the corresponding node IDs and snap-in locations.

Nearest API Call

{
"code": "Ok",
"waypoints": [
{
"hint": "hM4bgP___384AAAAOgAAABEAAAAAAAAAP3F9QpEJoz-9bJVBAAAAADgAAAA6AAAAEQAAAAAAAABTCgEAaxzOAFQRIgN0HM4ATBEiAwEA3w4cClna",
"nodes": [
30690709,
1841273491
],
"distance": 1.07925309,
"name": "Falkenberger Chaussee",
"location": [
13.507691,
52.564308
]
}
]
}

Is there any possibility to add corresponding locations of eac node ID in the response?

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