Open muteebali opened 2 months ago
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?
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?