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

Richard Ive richard at xanox.net
Wed Sep 9 09:47:45 BST 2009


When you say read the diffs. Do you mean download the weekly planet from
osm.org, and then run it though osmosis. Would you be happy sending me an
example of your set-up?

Richard.

2009/9/8 Stephan Knauss <osm at stephans-server.de>

> 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.
>
> Stephan
>
> _______________________________________________
> dev mailing list
> dev at openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
>



-- 
Regards,
Richard Ive.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20090909/6fb433ea/attachment.html>


More information about the dev mailing list