[Tile-serving] [openstreetmap/osm2pgsql] Importing with Dutch "Rijksdriehoekstelsel" projection (SRID 28992) fails (extremely slow) (Issue #1876)

mboeringa notifications at github.com
Fri Jan 6 08:26:37 UTC 2023


> I have seen problems like this when switching from lat/lon to Mercator coordinates or the other way round when splitting long lines or large polygons or so, because a line split at 1° is okay, but splitting every 1m in Mercator multiplies the number of features enormously. So maybe it is something to do with coordinate values/ranges.

I actually have code for this in my LUA flex style to deal with this. If the projection is 4326, lines are split at 1 degree, all other projections detected at 100k meters.

I also have a second configuration option, where I can disable line splitting by setting a boolean variable to false. And the current style is configured with false, so no line splitting is taking place.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/issues/1876#issuecomment-1373341106
You are receiving this because you are subscribed to this thread.

Message ID: <openstreetmap/osm2pgsql/issues/1876/1373341106 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20230106/0e626d53/attachment-0001.htm>


More information about the Tile-serving mailing list