[osmosis-dev] tagtransform: copy-matched does not removes tags when no tag on entity is matched
Felix Schneider
schneider at iosphere.de
Fri Apr 26 08:41:50 UTC 2013
Hi,
I'm trying to filter all tags in an .osm file on a whitelist basis. This works fine when at least one tag on an entity is matched, but fails when an entity has only tags that should be removed.
I think the problem is around TransformHelper.java:132, but I have no clue how to fix this.
Sample files and sample outputs are attached.
Regards,
Felix Schneider
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input_failing.osm
Type: application/octet-stream
Size: 513 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20130426/1606a2e2/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: input_working.osm
Type: application/octet-stream
Size: 540 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20130426/1606a2e2/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: output
Type: application/octet-stream
Size: 2536 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20130426/1606a2e2/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: translation.xml
Type: application/xml
Size: 308 bytes
Desc: not available
URL: <http://lists.openstreetmap.org/pipermail/osmosis-dev/attachments/20130426/1606a2e2/attachment.xml>
More information about the osmosis-dev
mailing list