[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:
http://wiki.openstreetmap.org/wiki/Osmosis/TagTransform
A translation along the lines of this should drop entities not
matching the regex:
<translation>
<name>Drop</name>
<description>Drop without mykey</description>
<match>
<notag k="mykey" v=".*"/>
</match>
<!-- no output description means matching entities are dropped -->
</translation>
More information about the dev
mailing list