<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>I meant that the input GeoTIFF file should use the tile size and
      compression method that you expect for the final COG, to be usable
      with cogger. If you need to re-tile or change compression method,
      use the GDAL COG driver<br>
    </p>
    <div class="moz-cite-prefix">Le 07/06/2021 à 23:17,
      <a class="moz-txt-link-abbreviated" href="mailto:Matt.Wilkie@yukon.ca">Matt.Wilkie@yukon.ca</a> a écrit :<br>
    </div>
    <blockquote type="cite"
      cite="mid:9fe7c185bf474effb3084e02d7988371@yukon.ca">
      <meta name="Generator" content="Microsoft Word 15 (filtered
        medium)">
      <div class="WordSection1">
        <p class="MsoNormal">…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!).<span></span></p>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span>I’m confident I know what a properly
            compressed geotiff is, but what is a properly tiled one? (or
            if it’s easier to define: what are improperly tiled
            geotiff?)</span></p>
        <p class="MsoNormal"><span> </span></p>
        <p class="MsoNormal"><span> </span></p>
        <div>
          <p class="MsoNormal"><span lang="EN-US">-Matt</span><i><span></span></i></p>
        </div>
        <p class="MsoNormal"><span> </span></p>
        <div>
          <div>
            <p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span
                lang="EN-US"> Even Rouault
                <a class="moz-txt-link-rfc2396E" href="mailto:even.rouault@spatialys.com"><even.rouault@spatialys.com></a>
                <br>
                <b>Sent:</b> June 4, 2021 9:33 AM<br>
                <b>To:</b> thomas bonfort
                <a class="moz-txt-link-rfc2396E" href="mailto:thomas.bonfort@gmail.com"><thomas.bonfort@gmail.com></a>; Matt.Wilkie
                <a class="moz-txt-link-rfc2396E" href="mailto:Matt.Wilkie@yukon.ca"><Matt.Wilkie@yukon.ca></a><br>
                <b>Cc:</b> Gdal Dev <a class="moz-txt-link-rfc2396E" href="mailto:gdal-dev@lists.osgeo.org"><gdal-dev@lists.osgeo.org></a><br>
                <b>Subject:</b> Re: [gdal-dev] Introducing the cogger
                and godal projects</span></p>
          </div>
        </div>
        <p class="MsoNormal"> </p>
        <table class="MsoNormalTable">
          <tbody>
            <tr>
              <td>
                <pre><strong><span>*** External email: Do not click on links or attachments except from trusted senders. ***</span></strong></pre>
                <pre><strong><span>******************************************************************************************</span></strong><span></span></pre>
                <pre><span>

</span></pre>
              </td>
            </tr>
          </tbody>
        </table>
        <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.</p>
        <div>
          <p class="MsoNormal"><span>Le 04/06/2021 à 18:28, thomas
              bonfort a écrit :</span></p>
        </div>
        <blockquote>
          <div>
            <div>
              <p class="MsoNormal"><span>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...</span></p>
            </div>
            <div>
              <p class="MsoNormal"><span>Regards,</span></p>
            </div>
            <div>
              <p class="MsoNormal"><span>Thomas</span></p>
              <div>
                <div>
                  <p class="MsoNormal"><span>Le ven. 4 juin 2021 à
                      18:14, <<a href="mailto:Matt.Wilkie@yukon.ca"
                        moz-do-not-send="true">Matt.Wilkie@yukon.ca</a>>
                      a écrit :</span></p>
                </div>
                <blockquote>
                  <p class="MsoNormal"><span>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.</span></p>
                </blockquote>
              </div>
            </div>
          </div>
          <p class="MsoNormal"><span><br>
              <br>
            </span></p>
          <pre>_______________________________________________</pre>
          <pre>gdal-dev mailing list</pre>
          <pre><a href="mailto:gdal-dev@lists.osgeo.org" moz-do-not-send="true">gdal-dev@lists.osgeo.org</a></pre>
          <pre><a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
        </blockquote>
        <pre>-- </pre>
        <pre><a href="https://imsva91-ctp.trendmicro.com:443/wis/clicktime/v1/query?url=http%3a%2f%2fwww.spatialys.com&umid=BB1EB12E-C3F3-3E05-A4FC-DC578DED8704&auth=c132af8ee7c9d1278d61a701569070a095ce962e-b9e494bc988145611c35e65f34295c2b143834aa" moz-do-not-send="true">http://www.spatialys.com</a></pre>
        <pre>My software is free, but my time generally not.</pre>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>