qgis/Quantum-GIS — pull request #101 by etiennesky (2012-03-09 19:23:56+00:00)
Title: fixes and enhancements for GDALTools VRT, GDAL sublayer dialog and  browser dock

1) 3c1eb0ac

GDALTools Build Virtual Raster - allow to use loaded layers as input files (instead of file selector)
I have enhanced the GDAL Tools VRT dialog to optionally use the active layers as input, instead of manually adding the files.

This is more convenient and also allows to use rasters within subdatasets (e.g. HDF files). I have created this to add (and extend) the functionality of the deprecated RGB composition plugin.

see thread "plugin bug and patch - RGB composition plugin broken in 1.7.4 and master" on the mailing list.

2) c73e04eb

askUserForGDALSublayers dialog:

- fix order that items are added in the layers panel
- add option to load all sublayers from a raster with subdatasets

Jürgen graciously applied my patches for bug #5041 that are related to this.

3) aedb7dea

fixes for browser panel:

- skip *.aux.xml files (PAM auxiliary files) to avoid unnecessary warnings from GDAL

( ERROR 4: `/data/research/work/modis/mod13/MOD13Q1.A2009353.h13v10.005.2010009131529.250m 16 days relative azimuth angle.tif.aux.xml' not recognised as a supported file format. )

- show HDF4 files: add HDF4 file suffix (.hdf) in buildSupportedRasterFileFilterAndExtensions()

4) 7d61147b

Add selected layers via context menu and tool button. This is handy when you want to load many layers.

I have added a button with the text "Add Selection" (maybe the text is not necessary) and 2 context menu items ("Add Layer" and "Add Selected Layers")

Thanks, Etienne