[gdal-dev] Zip files and VISFileFromMemBuffer()

Sean Gillies sean at mapbox.com
Tue Jan 31 08:33:23 PST 2017


Hey all,

The tests in
https://svn.osgeo.org/gdal/branches/1.9/autotest/gcore/vsizip.py show how
to create a zip archive in memory and create directories and files within
it. I'm looking for a shortcut.

Given a sequence of bytes representing an existing zip file that contains a
TIFF and a VRT (referencing the TIFF), is it possible to make a VSI file
from this buffer (using VISFileFromMemBuffer()) and then access the VRT
using a path like /vsizip/vsimem/archive.zip/example.vrt protocol?

-- 
Sean Gillies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20170131/a2f012c0/attachment.html>


More information about the gdal-dev mailing list