[gdal-dev] vsipreload: enabling VSI Virtual File API for regular I/O

Etienne Tourigny etourigny.dev at gmail.com
Tue May 28 07:27:21 PDT 2013


On Tue, May 28, 2013 at 11:24 AM, Howard Butler <hobu.inc at gmail.com> wrote:

>
> On May 26, 2013, at 9:46 AM, Even Rouault <even.rouault at mines-paris.org>
> wrote:
> > This file is the source code for a standalone shared library that can be
> > LD_PRELOAD'ed as an overload of libc to enable VSI Virtual FILE API to
> be used
> > with binaries using regular libc I/O API.
>
> > This can work with all VSI Large File API filesystems : /vsizip/ ,
> /vsitar/,
> > /vsisubfile/ , etc...
>
> Cool!
>

Way cool, Even! I'll test it when I have the time.


>
> Next question, if you'll pardon my ignorance, why would we ever want to do
> this? What does the VSI preload provide?
>


You can open files over ftp/http connexions and files that are compressed
inside zip/tgz/gz archives. This was not previously possible with certain
drivers (hdf4, netcdf, etc.)


>
> Howard
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130528/72f50a54/attachment.html>


More information about the gdal-dev mailing list