[Tile-serving] [osm2pgsql] Set polygon/linestring differently for some key values differently than the key in default style.lua (#346)
math1985
notifications at github.com
Sun Feb 21 22:32:04 UTC 2016
Rebased and solved a bug.
AppVeyor seems to fail, but I only touched the Lua files. What could be the cause of that?
> changes to filter_tags_relation_member should also be mirrored in multi.lua, as they are basically the same function.
@pnorman It's not yet totally clear to me how this works. Both style.lua and multi.lua sometimes add tags from the outer polygons to the multipolygons. However, the circumstances under which they do so are different. The file style.lua adds the tags from the outer polygons to the multipolygon if the multipolygon has no polygon tags. However, multi.lua adds the tags from the outer polygons to the multipolygon if the multipolyon is not a building. That's quite a different condition! The only change I made to filter_tags_relation_member is the way the number of polygon tags is counted, and as we don't count polygon tags in multi.lua, it does not seem like we need a similar change in multi.lua at the moment.
---
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/346#issuecomment-186934723
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20160221/1eb0d3d6/attachment.html>
More information about the Tile-serving
mailing list