[OSM-dev] Osmosis: Filter way/node *without* key x

Dave Stubbs osm.list at randomjunk.co.uk
Thu Feb 12 15:05:49 GMT 2009

2009/2/7 Rolf Bode-Meyer <robome at gmail.com>:
> Hi,
> is there a way (maybe not documented) to filter out ways/nodes without
> a specific key?

You can try the TagTransform plugin:

A translation along the lines of this should drop entities not
matching the regex:

   <description>Drop without mykey</description>
     <notag k="mykey" v=".*"/>
   <!-- no output description means matching entities are dropped -->

More information about the dev mailing list