[gdal-dev] Geotiff FillEmptyTiles with no data value?
even.rouault at spatialys.com
Tue May 3 11:59:38 PDT 2016
Le mardi 03 mai 2016 20:23:49, jramm a écrit :
> When writing geotiffs, if I dont write blocks they will automatically be
> filled on close by the FillEmptyTiles.
> It appears that this will only fill with zeros - is it possible to make it
> fill with the no data value instead?
You can also avoid the blocks to be written at all with the SPARSE_OK=TRUE
creation option. On reading, missing blocks will be returned filled with the
nodata value. But sparse geotiffs are a bit non-standard.
We'd welcome a patch to modify FillEmptyTiles to use the nodata value
> This is potentially a huge time saver when processing a large, fairly
> sparse geotiff using python as relying on gdal to fill in 'null' blocks
> appears far quicker than calling the python write method.
> View this message in context:
> lue-tp5264310.html Sent from the GDAL - Dev mailing list archive at
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
Spatialys - Geospatial professional services
More information about the gdal-dev