2

I've searched the web and found out that "osmosis" is the key. also, this blog http://learnosm.org/en/osm-data/osmosis/ gave me a huge hint and i made it to extract POI tag by tag (by the way, i am using windwos)

enter image description here

as you know, there are hundreds of tags in OSM and going through all the tags and paste that in the command window is not feasible. so, instead of writing "amenity.school", i used "amenity.*"

enter image description here

of course, it doesn't seem to work. You have any suggestions?

3
  • 3
    You might want to use the node-key filter instead: wiki.openstreetmap.org/wiki/Osmosis/…
    – AndreJ
    Commented Nov 24, 2017 at 7:19
  • 1
    awesome! it works perfect!
    – Pil Kwon
    Commented Nov 24, 2017 at 8:04
  • 1
    You can self-answer your question with the correct command line.
    – AndreJ
    Commented Nov 24, 2017 at 11:15

1 Answer 1

5

easy. 1. download *.osm.pbf 2. install osmosis 3. in the command window type

osmosis --rbf INPUT.osm.pbf --nk keyList="amenity" --wx OUTPUT.osm

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.