<div dir="auto">this is one of the reasons we built <a href="https://github.com/airbusgeo/cogger" target="_blank" rel="noreferrer">https://github.com/airbusgeo/cogger</a> (supposing you are creating a tiled tif): first create your tif with your usual gdal tooling , unconditionally setting bigtiff=yes, and then as a postprocessing step run cogger on the resulting file. You'll get a COG which depending on the final output size will be bigtiff if really needed or a standard tiff if not.<div dir="auto"><br></div><div dir="auto">regards,</div><div dir="auto">thomas</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 12 oct. 2022, 13:59, Andrea Giudiceandrea via gdal-dev <<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer">gdal-dev@lists.osgeo.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Il 12/10/2022 11:51, Richard Duivenvoorde ha scritto:<br>
> One of the 'easy' solutions (on QGIS side) would be to *always* add <br>
> the BIGTIFF=yes option.<br>
<br>
Hi all,<br>
while there are also the IF_NEEDED and IF_SAFER values for the BIGTIFF <br>
creation option, another possibility would be to have an option to let <br>
GDAL to retry to create the raster file as a BIGTIFF if the the normal <br>
TIFF creation fails or to let QGIS to inform the user if the normal TIFF <br>
creation fails and then offer the possibility to retry using the <br>
BIGTIFF=YES option.<br>
<br>
Regards.<br>
<br>
Andrea<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" rel="noreferrer noreferrer" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>