On 7/21/2011 11:28 AM, Brett Henderson wrote: > You will however need a wrapper shell script to rename the new planet > file to the original file name and this leaves a very small window for > something to go wrong between the state.txt being updated and the file > being renamed. > > Brett
Thanks to everyone for their replies. I don't rename the new planet file, instead I update a symbolic link to point to the latest file and delete any planet files older than x days. Is there any possibility of changing Osmosis so arbitrary post merge commands could be executed before finalizing the state file? E.g.: PostCommand='ln -s planet-new.osm.pbf planet-current.osm.pbf' Andy -- Andy PGP Key ID: 0xDC1B5864 _______________________________________________ dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/dev

