From b87c80ebf006845d8a03334fec0bf43edfda9cf0 Mon Sep 17 00:00:00 2001 From: Frederik Ramm Date: Mon, 3 Dec 2012 21:39:57 +0100 Subject: [PATCH] Add fields for replication support. --- src/osmformat.proto | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/osmformat.proto b/src/osmformat.proto index 48a3575..f919bac 100644 --- a/src/osmformat.proto +++ b/src/osmformat.proto @@ -62,6 +62,19 @@ message HeaderBlock { optional string writingprogram = 16; optional string source = 17; // From the bbox field. + + /* Tags that allow continuing an Osmosis replication */ + + // replication timestamp, expressed in seconds since the epoch, + // otherwise the same value as in the "timestamp=..." field + // in the state.txt file used by Osmosis + optional int64 osmosis_replication_timestamp = 32; + + // replication sequence number (sequenceNumber in state.txt) + optional int64 osmosis_replication_sequence_number = 33; + + // replication base URL (from Osmosis' configuration.txt file) + optional string osmosis_replication_base_url = 34; }