Переглянути джерело

r.mapcalc.simple: more guisections, description cosmetics, see https://trac.osgeo.org/grass/ticket/3431

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@73794 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 6 роки тому
батько
коміт
ef30dce209
1 змінених файлів з 18 додано та 11 видалено
  1. 18 11
      scripts/r.mapcalc.simple/r.mapcalc.simple.py

+ 18 - 11
scripts/r.mapcalc.simple/r.mapcalc.simple.py

@@ -18,9 +18,10 @@ for details.
 """
 
 #%module
-#% description: Calculate new raster map from a r.mapcalc expression
+#% description: Calculates a new raster map from a simple r.mapcalc expression.
 #% keyword: raster
 #% keyword: algebra
+#% keyword: simple
 #%end
 #%option
 #% key: expression
@@ -30,38 +31,41 @@ for details.
 #%end
 #%option G_OPT_R_INPUT
 #% key: a
-#% description: A
+#% description: Name of input A raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: b
-#% description: B
+#% description: Name of input B raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: c
-#% description: C
+#% description: Name of input C raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: d
-#% description: D
+#% description: Name of input D raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: e
-#% description: E
+#% description: Name of input E raster map
 #% required : no
+#% guisection: Input maps
 #%end
 #%option G_OPT_R_INPUT
 #% key: f
-#% description: F
+#% description: Name of input F raster map
 #% required : no
+#% guisection: Input maps
 #%end
-#%option
-#% key: output
-#% description: Name for output raster map
-#% required : yes
+#%option G_OPT_R_OUTPUT
 #%end
 #%option
 #% key: seed
@@ -69,14 +73,17 @@ for details.
 #% required: no
 #% multiple: no
 #% description: Seed for rand() function
+#% guisection: Random
 #%end
 #%flag
 #% key: s
 #% description: Generate random seed (result is non-deterministic)
+#% guisection: Random
 #%end
 #%flag
 #% key: q
 #% description: Quote the map names
+#% guisection: Input maps
 #%end
 #%flag
 #% key: c