From ded53598f1acbfc2b1254a393e88e3e1400cc3a1 Mon Sep 17 00:00:00 2001 From: Vladimir Agafonkin Date: Fri, 27 Mar 2015 13:40:35 +0200 Subject: [PATCH] switch to 64-bit ints in the proto, close #33 --- geobuf.proto | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/geobuf.proto b/geobuf.proto index e99594a..26b742b 100644 --- a/geobuf.proto +++ b/geobuf.proto @@ -17,7 +17,7 @@ message Data { oneof id_type { string id = 11; - sint32 int_id = 12; + sint64 int_id = 12; } repeated Value values = 13; // unique values @@ -29,7 +29,7 @@ message Data { required Type type = 1; repeated uint32 lengths = 2 [packed = true]; // coordinate structure in lengths - repeated sint32 coords = 3 [packed = true]; // delta-encoded integer values + repeated sint64 coords = 3 [packed = true]; // delta-encoded integer values repeated Geometry geometries = 4; repeated Value values = 13; @@ -57,8 +57,8 @@ message Data { oneof value_type { string string_value = 1; double double_value = 2; - uint32 pos_int_value = 3; - uint32 neg_int_value = 4; + uint64 pos_int_value = 3; + uint64 neg_int_value = 4; bool bool_value = 5; string json_value = 6; }