[Tile-serving] [openstreetmap/osm2pgsql] Supporting --append in non-slim mode (#1076)

Richard Fairhurst notifications at github.com
Mon Feb 17 13:29:56 UTC 2020


I use osm2pgsql 0.85.0 on a fairly resource-constrained system for cycle.travel's rendering.

The rendering is reloaded once every month or so and covers certain areas only: North America, Europe, Aus/NZ. Currently I load a series of Geofabrik extracts using --append in non-slim mode. (If I use slim mode I run out of SSD; if I use non-slim mode and merge the extracts beforehand, I run out of RAM.)

Append in non-slim mode was dropped with the C++ rewrite. This was discussed in #213 and clarified in #372. The cited issue is that `middle_ram_t::relations_using_way` is not supported.

I'd like to use newer osm2pgsql, particularly for the flex backend. I'm happy to have a go at attempting a PR to fix this, but would appreciate any pointers from those with knowledge of osm2pgsql's internals. My C++fu is fairly weak so I can't promise that it'll necessarily come to anything, but I'm willing to give it a go.

-- 
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/1076
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20200217/4b732dab/attachment.htm>


More information about the Tile-serving mailing list