Skip to content

Commit

Permalink
r.mapcalc.simple: more guisections, description cosmetics, see https:…
Browse files Browse the repository at this point in the history
  • Loading branch information
landam committed Dec 11, 2018
1 parent dd97248 commit ef30dce
Showing 1 changed file with 18 additions and 11 deletions.
29 changes: 18 additions & 11 deletions scripts/r.mapcalc.simple/r.mapcalc.simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@
"""

#%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
Expand All @@ -30,53 +31,59 @@
#%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
#% type: integer
#% 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
Expand Down

0 comments on commit ef30dce

Please sign in to comment.