[gdal-dev] Sparse GTiff with sparse index?

Idan Miara idan at miara.com
Wed Aug 5 23:01:08 PDT 2020


Hi,

Is there an option to create a GTiff with a sparse index?

I'm creating a vrt with a large extent from a single small GTiff (that I am
using later as an overview for another raster)
The output is mostly nodata values as only a small part of it contains
actual data from the input tif.
The vrt itself works well but if I try to translate it to a GTiff (with
SPARSE=OK) I get a huge tif due to the huge tile index (creating a
non-sparse tif will be even much bigger than that).
A zip of the input is about the same size as a zip of the output file.
The output compresses so well because its tile index is essentially lots of
nulls.
The output tif is also significantly less responsive than the vrt in QGIS
(I guess due to its huge index).

Is there an option to eliminate this huge index or an alternative format
that I can translate the vrt into and will be with a reasonable size?

Kind regards,
Idan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20200806/099764aa/attachment.html>


More information about the gdal-dev mailing list