[Qgis-developer] adding SAGA algorithms in Processing

matteo matteo.ghetta at gmail.com
Mon Jun 20 00:19:12 PDT 2016


Hi all,

I'm trying to add some missing SAGA algorithm in Processing.

I saw that the addition is a simple txt file with some parameter:

* name of the SAGA alg (the extact name)
* name of the Processing group in which the alg will be added in Processing
* all the parameters divided by pipes

e.g. the aggregate algorithm is:

Aggregate
grid_tools
ParameterRaster|INPUT|Grid|False
ParameterNumber|SIZE|Aggregation Size|None|None|3
ParameterSelection|METHOD|Method|[0] Sum;[1] Min;[2] Max


there are many interesting SAGA algorithms that can be added but I 
encounter some difficulties with the parameter (names, type, 
default....) even with SAGA standalone opened so I can compare all of them.

I tried to add the SAGA Transpose Table like (and it works):

Transpose Table
table_tools
ParameterTable|INPUT|Input|False
OutputTable|OUTPUT|Output

for more complex algorithms I had a look in existing ones but still it 
is not straightforward.

I'm wondering if somewhere there is some existing documentation and/or 
if it is worth to add just some basic guidelines.

Thanks to all

Matteo


More information about the Qgis-developer mailing list