<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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 class="moz-cite-prefix">Le 04/06/2021 à 18:28, thomas bonfort a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAOM3y2iXyGJXQcqgqkgVeXm9oxaEuVOaAd8VvvbJTxx+yodZqA@mail.gmail.com">
<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"
moz-do-not-send="true">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 class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</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>