<div dir="ltr"><div>Apparently it is related with COG:</div><div><br></div><div><pre role="code">$ gdal_translate -of COG foo.tif foo.cog.tif<br>Input file size is 1000, 1000<br>0...10...20...30...40...50...60...70...80...90...100 - done.</pre><pre role="code">$ gdaladdo -clean --debug ON foo.cog.tif <br>GDAL: GDALOpen(foo.cog.tif, this=0x15900ae00) succeeds as GTiff.<br>GTiff: ScanDirectories()<br>GTiff: Opened 500x500 overview.<br>GTiff: File open for read-only accessing, creating overviews externally.<br>ERROR 6: foo.cog.tif: Cannot add external overviews when there are already internal overviews<br>Cleaning overviews failed.<br>GDAL: GDALClose(foo.cog.tif, this=0x15900ae00)</pre></div></div>