[Qgis-user] Rscripts in Sextante - multiple fields?

Victor Olaya volayaf at gmail.com
Tue Jul 30 00:36:55 PDT 2013


> - is it possible to select multiple fields from a layer and use that vector
> of column names in a script?
> ##fields = multiple field layer

There is currently no option for selecting multiple fields. You can
add a string input which can be used to enter a comma-separated list
of field names. Just make sure that you then check that the fields
exist, since the user might enter wrong field names

>
> - very often the R console output does not work. For example the "Field
> summary statistic" example script sometimes works and sometimes doesnt. I
> have no clue why. Are there any known bugs with the console output?
>

Can you provide a case where it always fails? that would help debuggin...

> -another question regarding SAGA and Sextante: why do some tools do not
> appear? for example the new SAGA has the VirGa Modules including a nice
> watershed segmentation algorithm which is nice and fast. However, it does
> not appear in the module list. Is there any reason why not all of them
> appear in Sextante?

A module will appear only if a description file exist that tells
SEXTANTE about the syntax needed to call it. Creating a module is
pretty simple, with jut a short text file. Here you have a list of
them.

https://github.com/qgis/Quantum-GIS/tree/master/python/plugins/sextante/saga/description

If you could have a look at some of them and then create the
corresponding descriptions for the VirGa modules, that would be great.

More information about this can be found here.

https://github.com/qgis/Quantum-GIS/blob/master/python/plugins/sextante/grass/grass.txt

Thanks in advance!



More information about the Qgis-user mailing list