[OSM-talk] Osmosis and --rii
Jeremy Adams
milenko at king-nerd.com
Tue Dec 1 19:08:58 GMT 2009
Hi,
>
>
> Jeremy Adams wrote:
>
>> I'm using osmosis to download replicate diffs via the --rii task and write
>> them out to change files using --wxc. Is there any way to have osmosis name
>> the output file with the sequence ID or timestamp of the last replicate it
>> downloaded? I'm using a script to name them with the current system
>> timestamp when osmosis was invoked, but that's not the timestamp of when
>> they were committed on the osm server.
>>
>
> Why not modify your script to let osmosis write to a temp .osc file and
> then rename that according to what Osmosis put into its state.txt file?
>
> Bye
> Frederik
>
That's my plan "B". I'm not a superstar when it comes to bash, so I'll have
to do some research on how to read the state.txt file and pull the sequence
number out.
-Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20091201/11bb6df1/attachment.html>
More information about the talk
mailing list