qgis/QGIS — pull request #1490 by radosuav (2014-06-26 15:09:18+00:00)
Title: [processing] Small fixes 2

The first commit allows scripts to pass parameter values to processing algorithms in a dict instead of a list. This makes the scripts more robust since the names of algorithm parameters are less likely to change than their order or number (when, for example, a new optional parameter is added). It also improves the readability of the scripts.

The second commit also concerns scripts. Previously, if a script passed a file to a processing algorithm it was not possible to delete this file in the same scripts, since QGIS would keep the file handle open. This commit avoids the problem and also simplifies the code a bit.

The third commit prevents quotation marks from being put around extra parameters (starting with -, e.g. -b 1) passed to GDAL algorithms. This caused problems in the "Additional creation parameters" field in translate and warp algorithms.