[osmpbf] 01/03: Add fields for replication support.

Bas Couwenberg sebastic at xs4all.nl
Sun Mar 16 10:08:39 UTC 2014


This is an automated email from the git hooks/post-receive script.

sebastic-guest pushed a commit to tag v1.3.0
in repository osmpbf.

commit b87c80ebf006845d8a03334fec0bf43edfda9cf0
Author: Frederik Ramm <frederik at remote.org>
Date:   Mon Dec 3 21:39:57 2012 +0100

    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;
 }
 
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osmpbf.git



More information about the Pkg-grass-devel mailing list