I have a daily cron job that updates the Great Britain extract in my PostGIS database using data from Geofabrik. The command is
and the configuration file is
(I had to set
This has worked very nicely for the last few years, but recently it has started failing with
It's as if items are being thrown into
If it helps, my
How can I get my database updating again?
asked 15 Feb, 20:33
This appears to be a side effect of the switch to a new extract software at Geofabrik. The download dataset was re-synced with a current planet file at the time. This apparently led to some diff files containing some objects twice. This doesn't hurt osm2pgsql imports but trips up osmosis. Either re-initialize your database from a current data set, or use the --simplify-change flag in Osmosis to flatten the diff before applying to the database.
answered 15 Feb, 20:38
Frederik Ramm ♦