[QGIS-trac] Re: [Quantum GIS] #2577: r.mapcalculator: variable
number of input maps
Quantum GIS
qgis at qgis.org
Sun Mar 21 14:43:45 EDT 2010
#2577: r.mapcalculator: variable number of input maps
-------------------------------------+--------------------------------------
Reporter: pcav | Owner: rugginoso
Type: enhancement | Status: new
Priority: minor: annoyance | Milestone: Version 1.5.0
Component: GRASS | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: All
Must_fix: No | Status_info: 0
-------------------------------------+--------------------------------------
Comment (by 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.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/2577#comment:1>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list