Opened 17 years ago

Last modified 16 years ago

#1369 closed enhancement

read gzipped files in situ (e.g. raster.tif.gz) — at Version 4

Reported by: matt.wilkie@… Owned by: warmerdam
Priority: low Milestone: 1.6.0
Component: GDAL_Raster Version: 1.4.0
Severity: minor Keywords: zip gzip
Cc:

Description (last modified by warmerdam)

I've run into a fair amount of raster imagery, OnEarth for example, which is available gzipped instead of using an internal compression. It would be very convenient if gdal could read gzipped files in situ. Having to decompress the files to a scratch space first means having to keep a lot extra room around to manouver. In other applications which do read .gz files such as VTP it also seems to be a lot faster to read/write a .gz than an uncompressed file. Perhaps because of less disk use (?).

Change History (2)

comment:1 by warmerdam, 17 years ago

A special file handler something like the one used for in-memory files could
be implemented to achieve this.  However, it is not partiuclarly high on my
personal priority list.  Due to challenges seeking in compressed data
streams it might be necessary to decompress the whole file into RAM which 
would not scale well to large datasets. 

comment:4 by warmerdam, 17 years ago

Description: modified (diff)
Priority: highestlow
Note: See TracTickets for help on using tickets.