<div dir="ltr">Hi List,<div><br></div><div>Is there a way to control the block size of overviews and inspect that block size from gdalinfo ?</div><div>I have a raster with 256x256 block size. </div><div><div>Band 1 Block=256x256 Type=Byte, ColorInterp=Red</div>
<div>Band 2 Block=256x256 Type=Byte, ColorInterp=Green</div><div>Band 3 Block=256x256 Type=Byte, ColorInterp=Blue</div></div><div><br></div><div>I'm trying to feed the images to a program that seemingly supports Tiffs with internal overview of the same block size than the image.</div>
<div><br></div><div>I've tried >gdaladdo --config BLOCKXSIZE 256 --config BLOCKYSIZE 256 image.tif 2 4 8 16 32</div><div><div>gdalinfo:</div><div>Band 1 Block=256x256 Type=Byte, ColorInterp=Red<br></div><div> Overviews: 8655x5655, 4328x2828, 2164x1414, 1082x707, 541x354</div>
<div>Band 2 Block=256x256 Type=Byte, ColorInterp=Green</div><div> Overviews: 8655x5655, 4328x2828, 2164x1414, 1082x707, 541x354</div><div>Band 3 Block=256x256 Type=Byte, ColorInterp=Blue</div><div> Overviews: 8655x5655, 4328x2828, 2164x1414, 1082x707, 541x354</div>
</div><div><br></div><div>But I couldn't find a way to inspect the overview block size to confirm they are 256x256 since I get the same results if I set BLOCKSIZE to 128. I suspect these options are ignored in gdaladdo.</div>
<div><br></div><div>Any way I can 1) control the overview block size and 2) inspect the block size ?</div><div><br></div><div>Thanks for your help,</div><div>Etienne</div><div><br></div></div>