pb protocol description

This commit is contained in:
Hannes Janetzek 2012-08-07 14:42:35 +02:00
parent 78b271c633
commit 8d68d46dd4

22
TileData.proto Normal file
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;
}