[OSM-dev] Keeping .osm database up-to-date

Stephan Knauss osm at stephans-server.de
Tue Sep 8 22:09:31 BST 2009

Richard Ive wrote:
> Is it easy to run a cron that downloads the daily diff which you can 
> then run an:
> ./osm2pgsql -a -m -d gis ../planet-date.osm.gz on? (I'd assume you add 
> the -a to add the data, rather than clear the db)

my setup uses osmosis to read the diffs and pipe the results to 
osm2pgsql. Mind to use the slim mode on initial import to support updates.


More information about the dev mailing list