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

How do I get an OSM node from a lat/long coordinate?

0

I am trying to extract metrics about routes that I want to run - such as how many intersections occur along it - for data analysis. I have a series of lat/long points.

Ideally I would convert all of my trackpoints to OSM nodes and just perform a count of infrastructure features along the route.

Thank you!

asked 26 Jul '18, 00:49

mdeen's gravatar image

mdeen
11112
accept rate: 0%


One Answer:

0

If you have your trackpoints as a .gpx file you don't even need a conversion. Josm can read the .gpx file. If you save that file locally than you have a local copy of the Osm Database with your trackpoints. If you tell us what in what format your trackpoints are and with what software you try to extract the info from the Osm Database we might provide a better answer. Gys

answered 26 Jul '18, 07:19

Gys%20de%20Jongh's gravatar image

Gys de Jongh
7131514
accept rate: 16%

Source code available on GitHub .