Re: [gdal-dev] COG and VRT behaviour

2022-10-06 Thread Even Rouault
Le 06/10/2022 à 07:55, thomas bonfort a écrit : There are only very specific cases where it would be valid to directly copy overview tiles, namely if both image sizes are an exact power of 2. I'll let Even contradict me if I'm wrong, but I highly doubt that what you are trying to do is possibl

Re: [gdal-dev] COG and VRT behaviour

2022-10-05 Thread thomas bonfort
There are only very specific cases where it would be valid to directly copy overview tiles, namely if both image sizes are an exact power of 2. I'll let Even contradict me if I'm wrong, but I highly doubt that what you are trying to do is possible. regards, Thomas Le jeu. 6 oct. 2022, 05:58, Ian R

[gdal-dev] COG and VRT behaviour

2022-10-05 Thread Ian Reese
Hi GDAL, Let's say I have two GTiff files in COG format: f1.tif f2.tif f1.tif and f2.tif are created like so: gdal_translate input.tif f1.tif \ -of COG \ -co BLOCKSIZE=256 \ -co COMPRESS=JPEG \ I can easily create a vrt of these two COGs and get the expected behaviour where the VRT honours the