[Qgis-developer] This had escaped me!

Giovanni Manghi giovanni.manghi at faunalia.pt
Wed May 9 06:41:32 PDT 2012


Hi Etienne,


> > just noticed one thing, if the zip file contains >1 raster then is not
> > shown in the browser, while if it contains just one it works ok (also
> > from the add raster dialog).
> 
> You have to change the "Scan zip" settings (in the general options),
> the possible values are
> 
> - No
> - Passthru - this just sets the uri to /vsizip/file.zip (which is the
> way gdal/ogr supports zip files) and does not support multiple files
> - Basic Scan - this opens the zip file and presents the files which
> extension is supported  (.tif, .shp, etc)
> - Full Scan - this presents the files inside the zip which are valid
> (takes longer)
> 
> Default value is Passthru, but perhaps "Basic Scan" would be a better default?
> I had chosen Passthru as a default before using QuaZip, but it is
> probably not the best default now.


Thanks, it works.

I just noticed that today the only way to add a zipped shape is through
the browser and the add vector layer dialog, drag and drop and CLI all
return "is not a valid or recognized data source". If is a zipped raster
all methods work fine.

Can you confirm?

cheers


-- Giovanni --



More information about the Qgis-developer mailing list