<div dir="ltr"><div>Thanks Thomas!</div><div>I see this is in Go. Is there a C++ version of it? Or how easy is to use it from C++ code?</div><div>Thanks.<br></div><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature">.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__<br>Entre dos pensamientos racionales <br>hay infinitos pensamientos irracionales.<br><br></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 4 Jun 2021 at 18:48, Even Rouault <<a href="mailto:even.rouault@spatialys.com">even.rouault@spatialys.com</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">
  
    
  
  <div>
    <p>I haven't benchmarked cogger but I'd expect it to be much faster
      than gdal_translate -of COG (if your input is GeoTIFF and always
      properly tiled and compressed of course!). gdal_translate -of COG
      uses generic GDAL API to acquire input data, which implies
      decompression / recompression. And in particular, if using input
      GeoTIFF with lossy compressed methods such as JPEG or WebP, cogger
      will avoid adding any new loss.<br>
    </p>
    <div>Le 04/06/2021 à 18:28, thomas bonfort a
      écrit :<br>
    </div>
    <blockquote type="cite">
      <div dir="auto">
        <div>I haven't extensively used -of COG (the cogger code
          actually predates the cog driver) but iirc there are at least
          some cases where it uses an intermediate file, which would
          imply that cogger does offer some speedups. I'll let Even
          confirm...</div>
        <div dir="auto">Regards,</div>
        <div dir="auto">Thomas<br>
          <br>
          <div class="gmail_quote" dir="auto">
            <div dir="ltr" class="gmail_attr">Le ven. 4 juin 2021 à
              18:14, <<a href="mailto:Matt.Wilkie@yukon.ca" target="_blank">Matt.Wilkie@yukon.ca</a>> a
              écrit :<br>
            </div>
            <blockquote class="gmail_quote">Is cogger specifically for
              the scenario where your converting a large imagery library
              that already exists, but isn't cloud optimized? i.e. Does
              it offer any advantages over the one step `gdal_translate
              -of cog ...` when starting fresh?<br>
              <br>
              Cheers,<br>
              <br>
              Matt<br>
              Geomatics Analyst | Environment | T 867-667-8133 |
              Yukon.ca<br>
              Hours: 08:30-16:30, Tue-Wed: Office, Thu-Fri: Remote.<br>
            </blockquote>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
    </blockquote>
    <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </div>

_______________________________________________<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>