Feature request #2577

r.mapcalculator: variable number of input maps

Added by Paolo Cavallini almost 15 years ago. Updated almost 7 years ago.

Status:Open
Priority:Low
Assignee:-
Category:GRASS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:12637

Description

It would be good to have a variable number of input maps for r.mapcalculator GRASS module. See r.buffer as an example (this approach cannot be used directly, as the underlying GRASS commands are different).

History

#1 Updated by Markus Neteler almost 15 years ago

The reason for the different behaviour is that the command style is different:

 r.mapcalculator [-eo] [amap=string] [bmap=string] [cmap=string]
   [dmap=string] [emap=string] [fmap=string] formula=string
   outfile=string ...

but

r.buffer [-zq] input=name output=name distances=value[,value,...] ...

The distances parameter is a 1..n list while in r.mapcalculator the
parameters are separate.

Suggestion: modify r.mapcalculator in QGIS to require input=string[,string,...]
since this cannot be changed in the GRASS 6 series for compatibility.

#2 Updated by Giovanni Manghi about 13 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#3 Updated by Paolo Cavallini about 13 years ago

  • Pull Request or Patch supplied set to No
  • Assignee deleted (Lorenzo Masini)

#4 Updated by Giovanni Manghi over 12 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#5 Updated by Pirmin Kalberer about 12 years ago

  • Target version changed from Version 2.0.0 to Future Release - Nice to have

#6 Updated by Giovanni Manghi over 7 years ago

  • Easy fix? set to No

#7 Updated by Paolo Cavallini almost 7 years ago

Unchanged in QGIS 3

Also available in: Atom PDF