Depreciate lzma and bzip2 compressed blocks.

No encoder has ever supported bzip2 or lzma. bzip2 has a poor
time/compression ratio, so obsolete it right now. lzma can be
considered for future use, so indicate it as a proposed extension.
This commit is contained in:
Scott Crosby 2010-12-11 11:23:28 -06:00
parent c8ebe317b8
commit 67d5ae5a1e
1 changed files with 9 additions and 5 deletions

View File

@ -11,16 +11,20 @@ package OSMPBF;
message Blob {
optional bytes raw = 1; // No compression
optional int32 raw_size = 2; // When compressed, the uncompressed size
// Possible compressed versions of the data.
optional bytes zlib_data = 3;
optional bytes lzma_data = 4;
optional bytes bzip2_data = 5;
// PROPOSED feature for LZMA compressed data.
// optional bytes lzma_data = 4; // Do not change this tag number.
// Formerly used for bzip2 compressed data. Depreciated in 2010.
optional bytes OBSOLETE_bzip2_data = 5 [deprecated=true]; // Don't reuse this tag number.
}
/* A file contains an sequence of fileblock headers, each prefixed by
their length, followed by a data block containing the actual data.
types staring with a "_" are reserved.
their length in network byte order, followed by a data block
containing the actual data. types staring with a "_" are reserved.
*/
message BlockHeader {