qgis/Quantum-GIS — pull request #109 by etiennesky (2012-03-27 14:10:25+00:00)
Title: gdal/ogr providers: optimizations and .zip / .gz file support

This pull request is part 3 of pull request 106 and adds optimizations for gdal/ogr dataset acces in the browser and adds support for access to files inside .zip and .gz files through gdal/ogr /vsizip and /vsigzip mechanisms (both in browser and normal file open).

Please add this to 1.8 branch, there are some api improvements but none break api compat (unless I am mistaken).

Thanks

f801dec cache gdal sublayers list for subsequent access
af772d94 add preliminary support for GDAL/OGR VSIFileHandler (.zip and .gz fil…
b6187b9d add quazip for zip file read support
fdaf0e13 add support for reading datasets inside zip file in browser using qua…
f87ca8df add option to bypass dataset scanning in browser dock

Commits that may be contentious

fdaf0e13 add support for reading datasets inside zip file in browser using qua…
b6187b9d add quazip for zip file read support

These commits allow for viewing the contents of zip files in the browser using quazip, and creating appropriate /vsizip/file.zip/layer items. This is supported by gdal/ogr since 1.6 and can be pretty handy. I have added quazip to support zip file reading, it may be overkill but it is a nice cross-platform QT interface to minizip. The license is LGPL and I have imported the files directly instead of adding an additional dependency. It is very light and compiles instantly.

The labels and option names for these 2 commits may not be very clear, some rewording may be necessary

f87ca8d add option to bypass dataset scanning in browser dock
fdaf0e1 add support for reading datasets inside zip file in browser using qua…