From 2606fa1777d3fb3031f63410cd54a17325a3c0d8 Mon Sep 17 00:00:00 2001 From: Eric Fischer Date: Thu, 29 Sep 2016 08:47:41 -0700 Subject: [PATCH] Add new protocol elements to .proto file --- vector_tile.proto | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/vector_tile.proto b/vector_tile.proto index e25ac3b..3d74b4b 100644 --- a/vector_tile.proto +++ b/vector_tile.proto @@ -23,7 +23,17 @@ message tile { optional sint64 sint_value = 6; optional bool bool_value = 7; - extensions 8 to max; + // Each element refers to the nth value in the layer's values list + repeated uint32 list_value = 8 [ packed = true ]; + + // Even numbered elements refer to the nth key in the layer's keys list + // Odd numbered elements refer to the nth value in the layer's values list + repeated uint32 hash_value = 9 [ packed = true ]; + + // The actual number written is unused; any value counts as a null value + optional int64 null_value = 10; + + extensions 11 to max; } message feature {