[Qgis-developer] zip&http?
Even Rouault
even.rouault at mines-paris.org
Mon May 7 08:05:47 PDT 2012
Selon Etienne Tourigny <etourigny.dev at gmail.com>:
> Hi,
>
> my pleasure!
>
> I agree that http support would be very cool, and perhaps not that
> hard to implement (internally) since .zip support is there.
>
> However, where would this fit in the interface? .zip support is
> builtin the browser and file open dialogs, as the files reside on the
> filesystem.
>
> I personally have no interest in it so I cannot devote some time,
> sorry! Although I can help anybody that wishes to lead this effort.
>
> There is also .tar.gz (and .tar) support that is missing, but that has
> performance implications as the files have to be decompressed, whereas
> .zip file contents are queried very fast.
>
> .tar support would require the addition of a .tar reading lib, like
> what is done in gdal/ogr.
Reading in .tar or .tar.gz could be added in a similar way than the zip support
by using the /vsitar/ mechanism. See the "How to use that capability with a .tar
or .tar.gz/.tgz archive ?" paragraph of
http://trac.osgeo.org/gdal/wiki/UserDocs/ReadInZip . But as underlined by
Etienne, due to the structure of .tar.gz files, on-the-fly reading in them is
not efficient. .tar archives are different, but not particular popular.
I'm not sure why you would need a .tar reading lib. What is in GDAL should be
sufficient, by using the VSIReadDir() API to get the list of files and dirs in
it and VSIStatL() to know their nature (file or dir). (That could have been used
for zip file listing by the way)
>
> Etienne
>
> On Mon, May 7, 2012 at 4:57 AM, Paolo Cavallini <cavallini at faunalia.it>
> wrote:
> > Merci Etienne for the zip support.
> > Any plan to support also http and zip over http?
> > http://trac.osgeo.org/gdal/wiki/UserDocs/ReadInZip
> > *That* would be very cool.
> > All the best.
> >
> > --
> > Paolo Cavallini
> > See: http://www.faunalia.it/pc
> >
> > _______________________________________________
> > Qgis-developer mailing list
> > Qgis-developer at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
More information about the Qgis-developer
mailing list