[Qgis-user] Processing compatibility with SAGA 2.1.3

samuelmesa at gmail.com samuelmesa at gmail.com
Tue Nov 4 15:37:12 PST 2014


Hi. I updated the latest stable versions of QGIS v2.6 and SAGA GIS
v2.1.3. However
I have seen that reported some bugs with the processing module and
ParameterBoolean. To correct the compactability with the latest of
SAGA GIS, needs
to be added or changed in [1]

if param.value:
    command += ' -' + param.name

for something like:

if param.value:
    command += ' -' + param.name + " true"

regards,

Samuel Mesa.

[1]
https://github.com/qgis/QGIS/blob/60706275e8c913e6a2c104827d3c854b8c573cb6/python/plugins/processing/algs/saga/SagaAlgorithm.py#L196
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141104/3a2086d0/attachment.html>


More information about the Qgis-user mailing list