moja-global / taswira

Taswira: An interactive tool for visualising GCBM output.
Mozilla Public License 2.0
3 stars 6 forks source link

Convert DEFLATE-compressed rasters to ZSTD before intializing #33

Open abhineet97 opened 4 years ago

abhineet97 commented 4 years ago

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.