[GRASS-dev] GRASS GIS raster files: LZW compression?
nik at nikosalexandris.net
Tue Dec 5 04:06:31 PST 2017
* Markus Neteler <neteler at osgeo.org> [2017-12-05 10:08:00 +0100]:
>On Mon, Dec 4, 2017 at 7:32 PM, Markus Metz
><markus.metz.giswork at gmail.com> wrote:
>> ZSTD compression has been added to trunk with r71889-92.
>> ZSTD compression can be added with configure --with-zstd=yes or simpler
>> configure --with-zstd
>> In order to get some wider testing, ZSTD is now the default compression
>> method in trunk if ZSTD is available.
>> ZSTD is an improvement over ZLIB: generally it compresses faster and higher
>> than ZLIB. Decompression is consistently much faster than with ZLIB. For
>> more information on ZSTD (Zstandard), see
>> Please test!
>Here an initial test with a WorldClim DECLL map:
Another quick test with some MERIT DEM tiles:
→ find . -name n00w060 |sort |xargs du -h
→ find . -name n00w060_zstd |sort |xargs du -h
→ r.compress -p n00w060
<n00w060> is compressed (method 2: ZLIB). Data type: FCELL
<n00w060> has an uncompressed NULL file
time -p r.univar -g n00w060
→ r.compress -p n00w060_zstd
<n00w060_zstd> is compressed (method 5: ZSTD). Data type: FCELL
<n00w060_zstd> has a compressed NULL file
→ time -p r.univar -g n00w060_zstd
Thank you, Nikos
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 228 bytes
Desc: not available
More information about the grass-dev