[Tile-serving] [osm2pgsql] Fix multi tags redeclaration (#337)
Matt Amos
notifications at github.com
Mon Apr 20 18:24:52 UTC 2015
I think this is a fix for #336 - the re-use of `outtags` and passing the original relation tags to the member filter function rather than the previously filtered tags seems to have been causing missing tag values under some circumstances. Since this type of tag mangling is pretty common in multi-polygon processing, it's fairly likely that some missing tags would be fixed by this.
Also added a new test case which (hopefully) encapsulates the expected behaviour.
You can view, comment on, or merge this pull request online at:
https://github.com/openstreetmap/osm2pgsql/pull/337
-- Commit Summary --
* Don't use `outtags` for both relations and members.
* Added test case for multi-backend and polygons from relations.
* Better test for relation tags.
-- File Changes --
M .gitignore (1)
M Makefile.am (4)
M output-multi.cpp (6)
A tests/test-output-multi-poly-trivial.cpp (134)
A tests/test_output_multi_poly_trivial.lua (24)
A tests/test_output_multi_poly_trivial.osm (39)
A tests/test_output_multi_poly_trivial.style.json (15)
-- Patch Links --
https://github.com/openstreetmap/osm2pgsql/pull/337.patch
https://github.com/openstreetmap/osm2pgsql/pull/337.diff
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/337
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20150420/4aadbce5/attachment.html>
More information about the Tile-serving
mailing list