Feature request #2577

r.mapcalculator: variable number of input maps

Added by Paolo Cavallini about 7 years ago. Updated over 4 years ago.

Status:Open Start Date:
Priority:Low Due date:
Assigned to:- % Done:

0%

Category:GRASS
Target version:Future Release - Nice to have
Platform:All Resolution:
Platform version: Pull Request or Patch supplied:No
Status info:0 Tag:

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

Updated by Markus Neteler about 7 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.

Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

Updated by Paolo Cavallini about 5 years ago

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

Updated by Giovanni Manghi almost 5 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

Updated by Pirmin Kalberer over 4 years ago

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

Also available in: Atom