pb protocol description
This commit is contained in:
parent
78b271c633
commit
8d68d46dd4
22
TileData.proto
Normal file
22
TileData.proto
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user