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

2009-09-10 Thread Richard Ive
Sorry for being a noob, but what is the perpose of threading it though osmosis using -rci. Why not run a cron that does ./osm2pgsql -a ../diff.ocm? 2009/9/9 Frederik Ramm frede...@remote.org Hi, Richard Ive wrote: When you say read the diffs. Do you mean download the weekly planet from

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

2009-09-10 Thread Lennard
Richard Ive wrote: Sorry for being a noob, but what is the perpose of threading it though osmosis using -rci. Why not run a cron that does ./osm2pgsql -a ../diff.ocm? Osmosis --rci takes care of downloading and merging of diffs for you. Say your cron doesn't run for a while, for whatever

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

2009-09-10 Thread Richard Ive
Oh wow. That sounds very useful. Is http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#--read-change-interval_.28--rci.29the only documentation available for this? 2009/9/10 Lennard l...@xs4all.nl Richard Ive wrote: Sorry for being a noob, but what is the perpose of threading it though

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

2009-09-10 Thread Lennard
Richard Ive wrote: Is http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#--read-change-interval_.28--rci.29 the only documentation available for this? The example on the Minutely Mapnik wiki page is useful too, but yeah, your link points to the official osmosis documentation. --

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

2009-09-10 Thread Richard Ive
Don't worry actually. That's more than enough documentation :P 2009/9/10 Richard Ive rich...@xanox.net Oh wow. That sounds very useful. Is http://wiki.openstreetmap.org/wiki/Osmosis/DetailedUsage#--read-change-interval_.28--rci.29the only documentation available for this? 2009/9/10

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

2009-09-09 Thread Richard Ive
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 o...@stephans-server.de Richard Ive wrote: Is it easy to run a cron that downloads the

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

2009-09-09 Thread Stephan Knauss
Richard Ive wrote: When you say read the diffs. Do you mean download the weekly planet from osm.org http://osm.org, and then run it though osmosis. Would you be happy sending me an example of your set-up? The initial import was in slim mode. Updates are done whis way, osmosis being

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

2009-09-09 Thread Frederik Ramm
Hi, Richard Ive wrote: When you say read the diffs. Do you mean download the weekly planet from osm.org http://osm.org, and then run it though osmosis. Would you be happy sending me an example of your set-up? There is a detailed example at http://wiki.openstreetmap.org/wiki/Minutely_Mapnik

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

2009-09-08 Thread Richard Ive
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?

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

2009-09-08 Thread Stephan Knauss
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