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

Extracting nodes along all ways

0

Hi,

I am a little new to programming. I actually wanted to extract all the nodes along all the ways in a particular city. So, I need any node that lies along any street(mostly streets that are traversed by cars) in the city.

Thanks.

asked 19 Aug '16, 08:00

KoushikC's gravatar image

KoushikC
11112
accept rate: 0%

2

With "nodes" are you referring to the nodes that determine the geometry of the ways, or do you mean POIs etc. along but not necessary "on" the way?

(19 Aug '16, 08:48) SimonPoole ♦

Yes. I am referring to the nodes that determine the geometry of the way, i.e. they necessarily lie on the way.

(19 Aug '16, 10:53) KoushikC

Source code available on GitHub .