qgis/Quantum-GIS — pull request #177 by etiennesky (2012-06-15 22:54:54+00:00)
Title: Vsifile - more fixes : bugs and tar support + file open

This pull request is to fix to issues but also enhances both zip and tar file support

3c132f2 remove Passthru option and change storage of options scanZipInBrowser and scanItemsInBrowser

The Passthru option is confusing and unnecessary - because zip reading is no longer dependent on quazip

7ed8415 add support for .tar/.tgz files and relevant tests ; delay scan of .tgz files and large .zip files until requested

I found that opening a directory with large .zip files was really slow (like minutes), so this patch does not scan for contents of large zip files (>10 items), and as a bonus I added .tar and .tgz support. For performance reasons .tgz files are never scanned until requested (i.e. when the item is opened by the user).

9915c5a add zip item layer dialog to open .zip and .tar files with many files ; fix gdal sublayer names

This adds support for opening files from the regular file Open dialogs. A popup appears, similar to the Choose OGR/GDAL Layers dialog.

I also shortened the item names of gdal files with subdatasets, which could be very long (e.g. NETCDF:"longfilename.nc":variable) and were truncated (e.g. NETCDF:"longfilename.nc), because of changes in layer name for bug #5636

171799f0	user layerName() when adding raster from browser (#5636)
somehow this didn't make it up to here... re-applied