[OSM-dev] osm2pgsql not appending changeset?

Kai Krueger kakrueger at gmail.com
Wed Dec 7 06:36:31 GMT 2011

Ákos Maróy wrote
> on the OSM wiki, I found a number of update options, and I have to say
> I'm a bit confused. which is the best option if I want to get all the
> updates for the whole planet file, say, each week?
If you are intending to only update the diffs every week or less (as opposed
to minutely, hourly or daily), you might want to consider simply doing a
fresh import every week. If you have sufficient ram, then you can use the
non-slim mode, otherwise you could consider the slim mode with the --drop
option. Both are considerably faster than the normal slim mode import.

Applying diffs with osm2pgsql is orders of magnitude slower per element than
the initial import. Which makes a full import faster even for moderately
short periods of diff application. Where the change-over lies exactly,
probably depends somewhat on the hardware, but applying a weeks diffs will
probably take a few days.


View this message in context: http://gis.638310.n2.nabble.com/osm2pgsql-not-appending-changeset-tp7065823p7069535.html
Sent from the Developer Discussion mailing list archive at Nabble.com.

More information about the dev mailing list