[Tile-serving] [openstreetmap/osm2pgsql] Make -G / --multi-geometry option default (#660)
Darafei Praliaskouski
notifications at github.com
Thu Dec 22 14:51:17 UTC 2016
For linear features there is an automated split-up based on feature length. This split is enabled unconditionally.
https://github.com/openstreetmap/osm2pgsql/blob/95a3a2036aa6c45698378e5b7b6643d9a7a276b1/geometry-builder.cpp#L293
Polygon split could be implemented in a similar way: if bounding box is wide (probably wider than 180 degrees), split up the rightmost part into a second part, until it grows up to being 180 degrees wide. This way Russia/Alaska will be split into two parts not affecting performance in Europe, but labeling for then would become much better.
--
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/660#issuecomment-268814979
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20161222/ed8163a1/attachment.html>
More information about the Tile-serving
mailing list