qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.39k stars 2.98k forks source link

r.mapcalculator: variable number of input maps #12637

Open qgib opened 14 years ago

qgib commented 14 years ago

Author Name: Paolo Cavallini (@pcav) Original Redmine Issue: 2577

Redmine category:grass


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

qgib commented 14 years ago

Author Name: Markus Neteler (Markus Neteler)


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.

qgib commented 12 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 12 years ago

Author Name: Paolo Cavallini (@pcav)


qgib commented 12 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 11 years ago

Author Name: Pirmin Kalberer (Pirmin Kalberer)


qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 6 years ago

Author Name: Paolo Cavallini (@pcav)


Unchanged in QGIS 3