Feature #5463
Set proper boolean values for GRASS modules
| Status: | New | Start Date: | 04/23/2012 | |
|---|---|---|---|---|
| Priority: | Low | Due date: | ||
| Assigned to: | % Done: | 0% |
||
| Category: | Backend/GRASS | |||
| Target version: | - | |||
| Patch supplied: | No |
Description
It seems that all the boolean flags in GRASS modules are set to "yes" by default. This seems to be suboptimal as also in native GRASS most (but not all) boolean parameters are set to "no" (in Sextante is easy to find modules where a yes/no leads to unexpected results, for the vast majority of uses). After things are settled in Sextante I can help in defining what should be "yes" and what is better to be "no".
History
Updated by Victor Olaya about 1 year ago
If you want to work on that (thanks in advance!), it is very easy. The descriptions in grass/descriptions contain lines like this
ParameterBoolean|name|description of parameter|True
The last value is the default value. Set it to True or False and you are done! :-)
Updated by Markus Neteler - about 1 year ago
The majority of the flags are incorrect.
We'll upload a fixed version of all descriptions to Bug #5645.
Updated by Paolo Cavallini about 1 year ago
Please keep the flags equals to those in the current GRASS plugin, unless there a re compelling reasons not to do so, so the users will be least surprised. Thanks.