[gdal-dev] Should we make also GTiff to use TILED=YES as default?

Javier Jimenez Shaw j1 at jimenezshaw.com
Tue Nov 30 01:08:53 PST 2021


Hi Jukka

I don't think it is a good option.
TL;DR: tiled without overviews is extremely slow for a global view.

If you have a (big) image with TILED=YES but without overviews, it is
really really slow in QGIS (from seconds to many minutes).
The reason (I guess) is that QGIS is by default sub-sampling the image
using nearest neighbor. If the image is not tiled, then it has to read only
every nth line. However, when tiled, at the end has to read the full image
from file.
The bigger the zoom level, the faster it goes. But waiting 5 minutes to see
the global view of your image to know where to zoom in... you close QGIS
and blame somebody.

That changes dramatically if there are (proper) overviews available, of
course.

Cheers
.___ ._ ..._ .. . ._.  .___ .. __ . _. . __..  ... .... ._ .__
Entre dos pensamientos racionales
hay infinitos pensamientos irracionales.



On Tue, 30 Nov 2021 at 08:04, Rahkonen Jukka (MML) <
jukka.rahkonen at maanmittauslaitos.fi> wrote:

> Hi,
>
>
>
> There are loads of questions in the stack.exchange site where users have
> problems with performance when they do something with reading and writing
> very large image files. Big files have obviously become much more common
> now due to clouds. Users try to solve the problem by increasing
> GDAL_CACHEMAX and using multithreading etc. but they use the default
> GeoTIFF settings and keep on writing huge striped TIFFs. I wonder if we
> should make tiling the default also for the GTiff driver like it is in the
> COG driver.
>
>
>
> -Jukka Rahkonen-
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20211130/d6421343/attachment.html>


More information about the gdal-dev mailing list