moja-global/taswira

Convert DEFLATE-compressed rasters to ZSTD before intializing

abhineet97 opened this issue · 0 comments

Is your feature request related to a problem? Please describe.
Terracotta is not designed to work with DEFLATE-compressed raster files. It is made for Cloud Optimized GeoTIFFs (COGs) that use ZSTD compression. It does work with the DEFLATEs but the processing is considerably slow.

Describe the solution you'd like
We can convert these DELFATEs into ZSTDs before passing starting Terracotta. Thankfully Terracotta provides us with convenient methods for doing this. See here.

Describe alternatives you've considered
Asking the user to reconfigure GCBM on their end to produce COGs. This is what the program is currently doing.