<div dir="ltr"><div>Another +1 here. As far as I understand, the only real point of the COG driver is to be a quick way to get some sensible defaults for GeoTIFF format, and compression is definitely one such sensible default.</div><div><br></div><div>Also, the COG spec's example GDAL command includes `-co COMPRESS=LZW`, which might be another reason why some are surprised that the dedicated COG driver doesn't do the same. <a href="https://github.com/cogeotiff/cog-spec/blob/master/spec.md">https://github.com/cogeotiff/cog-spec/blob/master/spec.md</a></div><div><br></div><div>Daniel<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, 30 Sept 2021 at 18:30, Tobias Wendorff <<a href="mailto:tobias.wendorff@tu-dortmund.de">tobias.wendorff@tu-dortmund.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">I'd give LZW a go. I've got very good experience with that, in terms of <br>
performance on weaker or embedded systems. However, some people still <br>
think that the algorithm has a protection by patents.<br>
<br>
<br>
Am 30.09.2021 um 15:46 schrieb Even Rouault:<br>
> should we enable a default compression scheme for the COG driver ? I've <br>
> heard people "complaining" about that, or people just not realizing that <br>
> specifying a compression method was something reasonable to do. Likely a <br>
> lossless one to be conservative. ZSTD is probably not reasonable as it's <br>
> too non-standard outside of the GDAL/libtiff world. So the choice would <br>
> go basically between LZW or DEFLATE. LZW has probably the best <br>
> compatibility profile (but the less efficient). I guess that most <br>
> browser based solutions would handle it ? Thoughts ?<br>
> <br>
> Even<br>
> <br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>