[Tile-serving] [openstreetmap/osm2pgsql] Lua relation members gets post-way transform member tags (#659)
Paul Norman
notifications at github.com
Sat Dec 24 01:40:13 UTC 2016
> However, I don't know how many people rely on the current behaviour
I'm pretty sure no one does.
> The easy way to work around your problem is to add a fixed tag to filtered ways and check for that, i.e. like that:
The problem is that will lead to different interpretations on what is and isn't a MP depending on which table I'm looking at, so some object might be treated as an old-style MP for one table and an invalid MP for another. I want understandable and strict processing of old-style MPs so a tag change doesn't have an unexpected impact.
At least, that's what I think would happen, but it's hard to be sure.
> There is a comment in the code here confirming that the filtering is intentional. It was introduced in 2565bf7 and the reasoning there is consistent with the old C implementation.
Ya, but I'm not sure we ever thought about the implications of C and pgsql lua transforms seldom losing tagging information because they commonly only add tags, vs multi transforms where losing information is common with multiple tables.
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/659#issuecomment-269063102
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20161223/7bd60414/attachment.html>
More information about the Tile-serving
mailing list