This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Given a location with longitudes and lattitudes, how can I get the nodeID for that location?

0

Hello, I am new here

I need to get nodeID for a given longitude and latitude of a location, How can I do that? Further.. If I have two NodeIDs is there a way to get the distance and duration between the NodeIDs?

I'm running a local instance of OSRM

Thanks.

asked 10 Feb '18, 06:06

KlausD94's gravatar image

KlausD94
21334
accept rate: 0%

edited 11 Feb '18, 14:47

Tordanik's gravatar image

Tordanik
12.0k15106147

Source code available on GitHub .