Skip to content
Permalink
Browse files
Merge pull request #1486 from gioman/grass_instructions
[processing] fixed instructions on how build GRASS modules
  • Loading branch information
alexbruy committed Jun 24, 2014
2 parents d56c6c8 + 30e5747 commit 2fc5ce31ebbf0e9e680e8a152ff16849e9b96f28
Showing with 7 additions and 2 deletions.
  1. +7 −2 python/plugins/processing/algs/grass/grass.txt
@@ -48,7 +48,7 @@ To indicate the type of geometry, use the following values:

- A numerical value

ParameterNumericalValue|[name of GRASS parameter]|[description of parameter to show]|[min value]|[max value]|[default value]
ParameterNumber|[name of GRASS parameter]|[description of parameter to show]|[min value]|[max value]|[default value]

"None" can be used for both min and max values to indicate that there is no lower
or upper limit.
@@ -72,6 +72,12 @@ ParameterSelection|[name of GRASS parameter]|[description of parameter to show]|

Example: ParameterBoolean|-c|-c|True

- A range

ParameterRange|[name of GRASS parameter]|[description of parameter to show]|[comma separated values to limit the range]

Example: ParameterRange|from|description|0,1

- Outputs

All outputs are added with the following syntax:
@@ -85,7 +91,6 @@ The following types are available
-OutputTable
-OutputFile (for any file that is not a layer or table of a format supported by QGIS)


- Advanced parameters

to tag a parameter as "advanced", just add "*" before its declaration. For instance:

0 comments on commit 2fc5ce3

Please sign in to comment.