[osmosis-dev] Question regarding the replication file structure
Frederik Ramm
frederik at remote.org
Wed Jan 23 22:02:06 GMT 2013
Hi,
I'm toying with the idea of offering regionalised diffs - i.e. a
series of daily diffs for every regional extract that
download.geofabrik.de has to offer. To make it easy for consumers to
keep their extracts up to date, I thought about making an Osmosis-style
directory for each extract, e.g. something like
download.geofabrik.de/openstreetmap/europe/germany/nordrhein-westfalen/000/000/001.osc.gz
or so. Just to be safe: What are the conventions that I will have to
follow so that this works seamlessly with existing clients? Simply have
a xxx.osc.gz and matching xxx.state.txt in the leaf directory, count
from 000 to 999 then wrap to the next directory, and have the most
recent state.txt file at the root directory as well - anything else?
If the frequency wasn't exactly daily - if, say, because of some sort of
glitch there was extract for one day and therefore the diff is missing,
or if there were two extracts in one day - would that matter?
Bye
Frederik
--
Frederik Ramm ## eMail frederik at remote.org ## N49°00'09" E008°23'33"
More information about the osmosis-dev
mailing list