Skip to content

Commit

Permalink
switch to 64-bit ints in the proto, close #33
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Mar 27, 2015
1 parent 2fdc7c0 commit ded5359
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions geobuf.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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;
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit ded5359

Please sign in to comment.