[OSM-dev] [PATCH] osm2pgsql tile expiry

Jon Burgess jburgess777 at googlemail.com
Sun Feb 8 12:50:52 GMT 2009

On Sun, 2009-02-08 at 13:07 +0100, Martijn van Oosterhout wrote:
> I just realised. You have also created a parse_wkt, which opens up the
> path to limited relation processing even in non-slim mode. (It doesn't
> solve the problem completely, since the whole problem is that non-slim
> doesn't store most of the info required, but for certain types of
> relations it might be sufficient.)

I've recently fixed the relation processing in non-slim mode. I've
undone some of the memory saving tricks to keep all the ways in memory
regardless of tagging. The memory usage is obviously higher, but then
the non-slim mode has always declared that it needs more RAM. 

I can successfully use the non-slim mode to import the whole of the UK
without issue on a machine with 4GB of ram. I have not tried doing it on
the whole planet.

I was wondering whether to add some hooks to save/load the RAM tables to
disk. This would open up the possibility of doing diff imports with the
non-slim mode too.


More information about the dev mailing list