From 382c2ce46a7d878146cd5ad5d247eef64d1f0181 Mon Sep 17 00:00:00 2001 From: Scott Crosby Date: Mon, 30 Aug 2010 08:34:45 -0500 Subject: [PATCH] Include new 'denseinfo' fields. --- src/osmformat.proto | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/osmformat.proto b/src/osmformat.proto index 760ea62..52b0337 100644 --- a/src/osmformat.proto +++ b/src/osmformat.proto @@ -134,6 +134,15 @@ message Info { optional int32 user_sid = 5; } +/* Optional metadata that may be included into each primitive. */ +message DenseInfo { + repeated int32 version = 1 [packed = true]; + repeated sint64 timestamp = 2 [packed = true]; // DELTA coded + repeated sint64 changeset = 3 [packed = true]; // DELTA coded + repeated sint32 uid = 4 [packed = true]; // DELTA coded + repeated sint32 user_sid = 5 [packed = true]; // String IDs for usernames. DELTA coded +} + // TODO: REMOVE THIS? NOT in osmosis schema. message ChangeSet { required int64 id = 1; @@ -175,6 +184,7 @@ message DenseNodes { repeated sint64 id = 1 [packed = true]; // DELTA coded repeated Info info = 4; + optional DenseInfo denseinfo = 5; // One of these repeated sint64 lat = 8 [packed = true]; // DELTA coded repeated sint64 lon = 9 [packed = true]; // DELTA coded