/[zanavi_public1]/navit/navit/maptool/fileformat.proto
ZANavi

Contents of /navit/navit/maptool/fileformat.proto

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (show annotations) (download)
Fri Oct 28 21:39:42 2011 UTC (12 years, 5 months ago) by zoff99
File size: 946 byte(s)
import
1 option java_package = "crosby.binary";
2 package OSMPBF;
3
4 //protoc --java_out=../.. fileformat.proto
5
6
7 //
8 // STORAGE LAYER: Storing primitives.
9 //
10
11 message Blob {
12 optional bytes raw = 1; // No compression
13 optional int32 raw_size = 2; // When compressed, the uncompressed size
14
15 // Possible compressed versions of the data.
16 optional bytes zlib_data = 3;
17
18 // PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
19 optional bytes lzma_data = 4;
20
21 // Formerly used for bzip2 compressed data. Depreciated in 2010.
22 optional bytes OBSOLETE_bzip2_data = 5 [deprecated=true]; // Don't reuse this tag number.
23 }
24
25 /* A file contains an sequence of fileblock headers, each prefixed by
26 their length in network byte order, followed by a data block
27 containing the actual data. types staring with a "_" are reserved.
28 */
29
30 message BlobHeader {
31 required string type = 1;
32 optional bytes indexdata = 2;
33 required int32 datasize = 3;
34 }
35
36

   
Visit the ZANavi Wiki