Open qgib opened 13 years ago
Author Name: Giovanni Manghi (@gioman)
The is an option (checkbox) "build pyramids internally if possible". If the checkbox is unselected, pyramids aren't always created as an external file (so no modification to the original raster)?
Author Name: Giovanni Manghi (@gioman)
Author Name: Giovanni Manghi (@gioman)
Author Name: Pirmin Kalberer (Pirmin Kalberer)
Author Name: Giovanni Manghi (@gioman)
Author Name: Paolo Cavallini (@pcav)
Still true in QGIS3
I struggle to see the value of keeping this ticket open, but in any case, I have a comment. Gdaladdo -clean does not shrink the file, and if either it or QGIS is then used to add overviews again the junk remains, and the new overviews are added as well. This is (or at least was) due to a limitation of libtiff. So there is always potential for input files to be bloated with old overviews that have been previously "cleaned", in which case the filesize always increases!
So perhaps what would be more useful is a tool to somehow create a truly cleaned copy of a raster without any potential junk, and without recompressing the actual image data, and you can then add new overviews to that.
This might be helpful: https://gis.stackexchange.com/questions/50281/geotiff-how-to-remove-internal-overview-without-recompression
Author Name: Paolo Cavallini (@pcav) Original Redmine Issue: 3409
Redmine category:rasters Assignee: nobody -
Creating internal pyramids modifies the original file. Wouldn't it be better to rename the original file by default? Maybe adding checkbox (default True) to create backup file would be better.