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:
parent
c8ebe317b8
commit
67d5ae5a1e
|
|
@ -11,16 +11,20 @@ package OSMPBF;
|
||||||
message Blob {
|
message Blob {
|
||||||
optional bytes raw = 1; // No compression
|
optional bytes raw = 1; // No compression
|
||||||
optional int32 raw_size = 2; // When compressed, the uncompressed size
|
optional int32 raw_size = 2; // When compressed, the uncompressed size
|
||||||
|
|
||||||
// Possible compressed versions of the data.
|
// Possible compressed versions of the data.
|
||||||
optional bytes zlib_data = 3;
|
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
|
/* A file contains an sequence of fileblock headers, each prefixed by
|
||||||
their length, followed by a data block containing the actual data.
|
their length in network byte order, followed by a data block
|
||||||
types staring with a "_" are reserved.
|
containing the actual data. types staring with a "_" are reserved.
|
||||||
|
|
||||||
*/
|
*/
|
||||||
|
|
||||||
message BlockHeader {
|
message BlockHeader {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue