Mike,
This is probably a better question for the osm-dev list, but my opinion is:
Yes - osmosis is the recommended way of doing it.

But, I have struggled to get it going on my database, so the way I do it is
to just use daily updates and apply them with osm2pgsql.  I have a simple
script that looks to see if updates need applying, then downloads them -
copy of script attached.  I just run this as a daily cron job.

Graham.



On 31 December 2010 14:18, Mike <[email protected]> wrote:

> Folks,
>
> I've setup a Postgres server and imported an OSM planet file using the
> plentyful guides available on the Interweb.
>
> What I've been less successful at finding is a guide to keeping the
> aforementioned database up to date.  I'm aware of the daily, hourly and
> minutely .osc files but I'm not 100% sure how to import these into the
> DB.  I can find plently of examples for using Osmonsis to import a planet
> file and indeed for using it to create many and varying diffs and the
> like but nothing identifying how one should apply a .osc file to a DB.
>
> Please could someone confirm that Osmosis is the correct way to go about
> this and that I'm not barking up the wrong tree and secondly what the
> correct syntax is for applying an osc file to a database?
>
> Regards,
> Mike.
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAk0d5i8ACgkQmUrfmTU1ohXUSgCeINu+UM/bwgzJ24YVLcdotjXy
> ptQAn2PFgDi4sKVP++RiMDO2OE6Ubwb+
> =71I6
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> Talk-GB mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/talk-gb
>
>


-- 
Graham Jones
Hartlepool, UK.

Attachment: update_db.sh
Description: Bourne shell script

_______________________________________________
Talk-GB mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-gb

Reply via email to