Module osm.io.pbf.compression
Compression identifiers used by OSMPBF Blob payloads.
The enumeration mirrors the data members of the Blob oneof from
fileformat. Raw and zlib payloads are mandatory reader capabilities;
LZMA, LZ4, and Zstandard are optional codecs. The former bzip2 field remains
recognizable so deprecated input is never mistaken for an unknown field.
Date
2026-09-12
Functions
| Name | Description |
|---|---|
blobPayloadFieldNumber(codec)
|
Return the protobuf field number carrying codec.
|
isCodecSupported(codec)
|
Return whether the current core can produce uncompressed bytes for codec.
|
isCompressed(codec)
|
Return whether codec requires decompression before OSM protobuf decoding.
|
Enums
| Name | Description |
|---|---|
BlobCodec
|
Compression/storage representation selected by an OSMPBF Blob. |