<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>Javier,</p>
<p>up to now, GDAL has restricted the COG definition to pixel
interleaved organization, a bit artificially admittedly. This
issue was recorded in
<a class="moz-txt-link-freetext" href="https://github.com/opengeospatial/CloudOptimizedGeoTIFF/issues/3">https://github.com/opengeospatial/CloudOptimizedGeoTIFF/issues/3</a> .
There's no way to efficiently extract a subset of bands with pixel
interleaved organization.</p>
<p>Even<br>
</p>
<div class="moz-cite-prefix">Le 01/05/2022 à 11:10, Javier Jimenez
Shaw a écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CADRrdKv6K21VSdp0=ot=MXNgw2UWA5H4xa7WFt0raYTTHGyP+g@mail.gmail.com">
<div dir="ltr">Hi
<div><br>
</div>
<div>In the event "Cloud Native Geospatial" Chris mentioned that
a COG file allows to extract just a few bands. For instance,
from a satellite image with 12 bands, you could extract only
red, green and blue, not needing to download all the bands. In
this example it would be a reduction factor of 4.</div>
<div><br>
</div>
<div>If I understand correctly from <a
href="https://gdal.org/drivers/raster/cog.html"
moz-do-not-send="true" class="moz-txt-link-freetext">https://gdal.org/drivers/raster/cog.html</a>
"Pixel interleaving for multi-band dataset" the optimization
mentioned above could not be possible. Am I right? Is there
any efficient way to read just one band?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Javier.<br>
<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>
</div>
</div>
<br>
<fieldset class="moz-mime-attachment-header"></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>