<div dir="ltr"><div>Thanks for the explanation and the link. I thought that the pixel interleaving was defined in COG standard, but now I see it is only in GDAL (so far).</div><div>Definitely depending on the use case, pixel or band interleaving is more useful (as already commented on the issue you linked). I am not sure if the COG readers are prepared for band interleave.</div><div><br></div><div>Cheers,</div><div>Javier.<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 Mon, 2 May 2022 at 10:09, 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>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 href="https://github.com/opengeospatial/CloudOptimizedGeoTIFF/issues/3" target="_blank">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>Le 01/05/2022 à 11:10, Javier Jimenez
Shaw a écrit :<br>
</div>
<blockquote type="cite">
<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" target="_blank">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">.___ ._ ..._ .. . ._.
.___ .. __ . _. . __.. ... .... ._ .__<br>
Entre dos pensamientos racionales <br>
hay infinitos pensamientos irracionales.<br>
<br>
</div>
</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>
</blockquote></div>