#6580 closed defect (fixed)
GTiffDataset::Finalize() should flush dirty buffer before filling empty tiles
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | gtiff |
Cc: |
Description
In some scenarios in trunk (using Create(), with nodata value, and non power of 2 depth), data can be lost when writing GeoTIFF. The issue was latent before but couldn't cause data loss, just (some) wasted storage in case of compressed files.
Note:
See TracTickets
for help on using tickets.
Note: the issue could arise since r34201 "GTiff: when writing missing blocks (ie non SPARSE case), use the nodata value when defined"