<div dir="ltr"><div>Hi</div><div><br></div><div>I have a GeoTIFF with this characteristics:</div><div>- 6 bands</div><div>- last band is "Alpha" (with values 0 or 255, nothing else)<br></div><div>- Float32</div><div>- NoData value = -10000</div><div><br></div><div>The 5 first bands may have "nodata" pixels, not necessarily on all bands simultaneously. (nodata pixels are usually broken or saturated pixels from the sensor, and each band comes from a different sensor). The valid pixels have values between 0 and 1</div><div><br></div><div>When I try to generate embedded overviews (with average interpolation) with C++ or CreateCopy as COG (with default values), looks like it is using the -10000 values as valid values, and producing results in the overviews like -9990.6... that obviously are not anymore considered "nodata".</div><div><br></div><div>The first noticeable effect opening the file in QGIS, is that the min and max value for each band are not anymore 0 and 1, but nonsense negative numbers.<br></div><div><br></div><div>Can both Alpha and NoData live together properly?</div><div><br></div><div>Thanks.</div><div><br></div><div>PS I have the impression that with external ovr file it does not happen. I am testing more.<br></div><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></div></div></div>