[Tile-serving] [openstreetmap/osm2pgsql] Use libosmium for geometry building (#684)
Sarah Hoffmann
notifications at github.com
Tue Feb 7 12:33:31 UTC 2017
> > but it won't work for the C transform anymore. If that is not acceptable than we need to reintroduce the old behaviour for ways.
>
> Because osmium.osm2pgsql.paulnorman.ca is working, I wonder if I built the wrong osm2pgsql branch.
No, the branch is right, I was badly remembering my own code. For ways the rules is: it goes into the polygon table if tagtransform makes it a polygon and the way is closed. So the main change is that closed ways with a broken geometry (e.g. a self-intersecting way) won't end up in the line table anymore. They are discarded. I guess that's an acceptable loss.
--
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/pull/684#issuecomment-277985857
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20170207/5a2aed67/attachment.html>
More information about the Tile-serving
mailing list