Hi all, I'm using OSM filter to filter my .osm, and I want to remove each nodes besides the ones with a tag highway :
I tried --keep-nodes="highway=", and --drop-nodes="highway!=" but nothing is working. How can you do that ? I'm very new to this, thank you :) |
(converted a comment thread to an answer) You need to follow the instructions on the relevant wiki page. Use
If you want to also keep ways tagged with the highway tag (and use --keep-ways to that effect) then this will also add those nodes that do not have a highway tag, but are needed to construct a way with a highway tag. This can be switched off with 1
It's working fine now, thank you again. In fact I was trying to get nodes about highway and junctions between highway, so I guess I don't need any dependencies.
(15 Oct '15, 15:41)
kevin_matta
|