pb protocol description

This commit is contained in:
Hannes Janetzek
2013-10-09 01:17:33 +02:00
parent 78b271c633
commit 8d68d46dd4
+22
View File
@@ -0,0 +1,22 @@
package org.mapsforge.database.pbmap;
option java_package = "org.mapsforge.database.pbmap";
option optimize_for = LITE_RUNTIME;
message Data {
message Way {
repeated uint32 tags = 1 [packed = true];
repeated uint32 index = 2 [packed = true];
repeated sint32 coordinates = 3 [packed = true];
}
message Node {
repeated uint32 tags = 1 [packed = true];
repeated sint32 coordinates = 2 [packed = true];
}
repeated string tags = 1;
repeated Way ways = 2;
repeated Node nodes = 3;
}