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

Richard Ive richard at xanox.net
Tue Sep 8 11:20:21 BST 2009

Having got mod_tile working nicely (Thanks everyone for their help!) I was
wondering what the best method of keeping the database up-to-date using
osm2pgsql is.

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)

Richard Ive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090908/00edeb9b/attachment.html>

More information about the dev mailing list