Opened 15 years ago
Closed 15 years ago
#3021 closed enhancement (fixed)
Avoid uncesserary re-writting the TIFF directory
Reported by: | Even Rouault | Owned by: | Even Rouault |
---|---|---|---|
Priority: | normal | Milestone: | 1.7.0 |
Component: | GDAL_Raster | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: |
Description
Currently, both using gdal_translate and gdalwarp to produce a GeoTIFF lead to a duplicated TIFF directory at the end of the file and an obsolete one at the beginning.
I'll commit a few changes in the GeoTIFF driver so that the TIFF directory is not rewritten in common scenarios implying Create() or CreateCopy(), to save a few bytes and to keep the directory at the beginning of the file (save seeking to the end, which is not good for the performance of vsigzip/vsizip).
Note:
See TracTickets
for help on using tickets.
Commited in trunk (r17203). Test added in r17204