github.com/omniscale/go-osm@v0.3.1/parser/pbf/internal/osmpbf/fileformat.proto (about)

     1  syntax = "proto2";
     2  
     3  package osmpbf;
     4  
     5  //
     6  //  STORAGE LAYER: Storing primitives.
     7  //
     8  
     9  message Blob {
    10    optional bytes raw = 1; // No compression
    11    optional int32 raw_size = 2; // When compressed, the uncompressed size
    12  
    13    // Possible compressed versions of the data.
    14    optional bytes zlib_data = 3;
    15  
    16    // PROPOSED feature for LZMA compressed data. SUPPORT IS NOT REQUIRED.
    17    optional bytes lzma_data = 4;
    18  
    19    // Formerly used for bzip2 compressed data. Depreciated in 2010.
    20    optional bytes OBSOLETE_bzip2_data = 5 [deprecated=true]; // Don't reuse this tag number.
    21  }
    22  
    23  /* A file contains an sequence of fileblock headers, each prefixed by
    24  their length in network byte order, followed by a data block
    25  containing the actual data. types staring with a "_" are reserved.
    26  */
    27  
    28  message BlobHeader {
    29    required string type = 1;
    30    optional bytes indexdata = 2;
    31    required int32 datasize = 3;
    32  }
    33  
    34