Hello Osmosis,

I saw that there is some desire to filter ways based on the presence  
of a key. This is useful for extracting all highways, whatever the  
type, for instance. I basically just made a hybrid of the  
WayKeyValueFilter and NodeKeyFilter, and it seems to do exactly that.  
The patch is at the following address:

http://global_void.mailc.net/

Usage example:
osmosis --read-xml file="input.osm" --way-key keyList="boundary" -- 
used-node --write-xml file="output.osm"

Happy data filtering,
Andrew

_______________________________________________
osmosis-dev mailing list
osmosis-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/osmosis-dev

Reply via email to