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

Filtration of road points from the osm file

0

I need to filter only the road points from the osm file. How can I achieve this. I need it for my research purpose. Any help will be greatly appreciated.

Any direct method to get road points would be gretly appreciated.

This question is marked "community wiki".

asked 14 Mar '15, 20:58

Manish%20Bansal's gravatar image

Manish Bansal
16335
accept rate: 0%

edited 15 Mar '15, 20:34

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554


2 Answers:

1

Your starting point to get the data on your own can be the OSM wiki ...

I assume that you are familiar with the OSM database elements like nodes, ways and relations,

So then look in the wiki for osmfilter and osmconvert ... or try another model via overpass-api and overpass-turbo.

Tell us short here about success or failure.

answered 15 Mar '15, 18:57

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

edited 15 Mar '15, 20:32

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

What about using overpass turbo?

(17 Mar '15, 04:55) Manish Bansal

Yes, overpass-turbo.eu is a very good tool for special OSM data queries.

What did you read about it in the OSM wiki?

Did you try its wizard modus?

(18 Mar '15, 20:42) stephan75

Nope. I followed overpass and had this query which is resolved. https://help.openstreetmap.org/questions/41754/extracting-node-from-highways

(18 Mar '15, 20:57) Manish Bansal

0

answered 18 Mar '15, 20:57

Manish%20Bansal's gravatar image

Manish Bansal
16335
accept rate: 0%

edited 18 Mar '15, 20:57

Source code available on GitHub .