Feature request #2577

r.mapcalculator: variable number of input maps

Added by Paolo Cavallini about 7 years ago. Updated 23 days ago.

Status:Open
Priority:Low
Assignee:-
Category:GRASS
Pull Request or Patch supplied:No Resolution:
Easy fix?:No

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 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.

#2 Updated by Giovanni Manghi over 5 years ago

  • Target version changed from Version 1.7.0 to Version 1.7.4

#3 Updated by Paolo Cavallini over 5 years ago

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

#4 Updated by Giovanni Manghi about 5 years ago

  • Target version changed from Version 1.7.4 to Version 2.0.0

#5 Updated by Pirmin Kalberer over 4 years ago

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

#6 Updated by Giovanni Manghi 23 days ago

  • Easy fix? set to No

Also available in: Atom PDF