atasets" inside.
Just an idea, too much coffee :)
Best regards,
Ivan
> ---Original Message-------
> From: Even Rouault <[EMAIL PROTECTED]>
> Subject: Re: [gdal-dev] Support for reading GDAL datasets in compressed
> archives (.gz and .zip)
> Sent: Aug 27 '08
Le Wednesday 27 August 2008 15:58:54 Lucena, Ivan, vous avez écrit :
> Rouault,
>
> Nice job!
>
> Even Rouault wrote:
> > --
> > To read from a .gz file,
> > --
> > gdalinfo /vsigzip/path/to/the/file.gz were path/to/the/file.gz is
> >
Konstantin,
Frank is correct.
Let's suppose you have an archive archive.zip with the following content :
"file1"
"dir1/"
"dir1/dir1file1"
"dir1/dir1file2"
"file2"
(After r15231), the behaviour of VSIReadDir and VSIStatL is similar to the
behaviour of those functions as if archive.zip was a dir
Rouault,
Nice job!
Even Rouault wrote:
--
To read from a .gz file,
--
gdalinfo /vsigzip/path/to/the/file.gz were path/to/the/file.gz is relative or
absolute.
The first time that a .gz file is read, a small .gz.properties file wi
Baumann, Konstantin wrote:
Hi Even!
That sounds cool. Is there also a function for retrieving all available
files inside of a ZIP archive?
Kosta,
Programatically this can presumably be accomplished with VSIReadDir()
(aka CPLReadDir()).
char CPL_DLL **VSIReadDir( const char * );
The VSI file
ts.osgeo.org
> Subject: [gdal-dev] Support for reading GDAL datasets in
> compressed archives(.gz and .zip)
>
> Folks,
>
> I've just commited code in gdal 1.6.0dev SVN trunk that
> enables GDAL to
> decompress on-the-fly data from GZIP (.gz) and ZIP (.zip) archives.
&
Folks,
I've just commited code in gdal 1.6.0dev SVN trunk that enables GDAL to
decompress on-the-fly data from GZIP (.gz) and ZIP (.zip) archives.
This is implemented as 2 virtual file systems (like /vsimem for
example), /vsigzip and /vsizip. Only read-only access is supported.
Note that perfo