On 18 September 2012 21:46, Shaun McDonald <[email protected]>wrote:
> > On 18 Sep 2012, at 12:39, Brett Henderson <[email protected]> wrote: > > On 17 September 2012 02:57, Frederik Ramm <[email protected]> wrote: > >> I didn't know that it works without a state file at all! >> > > If no state file is available, it will initialise itself to the latest > sequence. In other words, on first run it will download the latest state > file and exit without making any changes. > > > I'm thinking that this is a poor default, and a better default would be to > use a state file for the current planet file, possibly going as far as > adding a comment to state that if was auto generated, and include the > previous plant date as an alternative. > It seemed like a good idea at the time :-) I'm not keen on automatically setting it to planet timestamps. That would require knowledge of the planet server layout, and assumes that the data is being downloaded from the planet server. Currently the only URL required is the URL of the replication files, and that is defined in the config file. How about aborting with an error message stating that it can't run without being initialised with a state file? That's a fail safe approach that avoids silently missing data. Brett
_______________________________________________ osmosis-dev mailing list [email protected] http://lists.openstreetmap.org/listinfo/osmosis-dev
