[OSM-dev] Finding the right state.txt

Frederik Ramm frederik at remote.org
Fri Sep 13 07:05:17 UTC 2013


Hi,

   I've committed a little utility to svn (applications/utils/whichdiff)
that finds the state.txt file to use for minutely replication based on
your local highest node ID.

Effectively, it does a binary search over the existing diffs on the
server to find the one in which your node ID has been created and then
goes back by two minutes to be on the safe side.

If you find anything wrong or worthy of improvement, feel free to fix it.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the dev mailing list