[gdal-dev] Support for reading GDAL datasets in compressed archives(.gz and .zip)

Frank Warmerdam warmerdam at pobox.com
Wed Aug 27 09:43:01 EDT 2008

Baumann, Konstantin wrote:
> Hi Even!
> That sounds cool. Is there also a function for retrieving all available
> files inside of a ZIP archive?


Programatically this can presumably be accomplished with VSIReadDir()
(aka CPLReadDir()).

char CPL_DLL **VSIReadDir( const char * );

The VSI filesystem operations should generally work on virtual
file systems, though in the case of the zip driver I presume all the
update operations (like VSIRename() or VSIUnlink()) are unimplemented.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

More information about the gdal-dev mailing list