Opened 12 years ago

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

Change History (1)

comment:1 Changed 12 years ago by Even Rouault

Resolution: fixed
Status: newclosed

Commited in trunk (r17203). Test added in r17204

Note: See TracTickets for help on using tickets.