Skip to content

Commit 2fc5ce3

Browse files
committed
Merge pull request #1486 from gioman/grass_instructions
[processing] fixed instructions on how build GRASS modules
2 parents d56c6c8 + 30e5747 commit 2fc5ce3

File tree

1 file changed

+7
-2
lines changed
  • python/plugins/processing/algs/grass

1 file changed

+7
-2
lines changed

python/plugins/processing/algs/grass/grass.txt

+7-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ To indicate the type of geometry, use the following values:
4848

4949
- A numerical value
5050

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

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

7373
Example: ParameterBoolean|-c|-c|True
7474

75+
- A range
76+
77+
ParameterRange|[name of GRASS parameter]|[description of parameter to show]|[comma separated values to limit the range]
78+
79+
Example: ParameterRange|from|description|0,1
80+
7581
- Outputs
7682

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

88-
8994
- Advanced parameters
9095

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

0 commit comments

Comments
 (0)