osmcode / pyosmium

Python bindings for libosmium
https://osmcode.org/pyosmium
BSD 2-Clause "Simplified" License
318 stars 65 forks source link

Update required libosmium version to 2.16.0 and add LZ4 support #162

Closed joto closed 3 years ago

joto commented 3 years ago

Libosmium 2.16.0 now supports reading and writing PBF files with internal LZ4 compression of blocks. This commit enables this by default for pyosmium if the lz4 library is found. It can be disabled by setting the CMake option WITH_LZ4 to OFF. LZ4 (de)compression is much faster than zlib compression. This is useful for mostly internally used files.

lonvia commented 3 years ago

Can you please also make the CI build with lz4 support.