Opened 13 years ago

Closed 13 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:


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).

Change History (1)

comment:1 by Even Rouault, 13 years ago

Resolution: fixed
Status: newclosed

Commited in trunk (r17203). Test added in r17204

Note: See TracTickets for help on using tickets.