#2592: r.mapcalc: add -l flag -------------------------+-------------------------------------------------- Reporter: martinl | Owner: grass-dev@… Type: enhancement | Status: new Priority: normal | Milestone: 7.0.1 Component: Raster | Version: svn-trunk Keywords: r.mapcalc | Platform: Unspecified Cpu: Unspecified | -------------------------+-------------------------------------------------- Add new flag to list inputs and outputs:
{{{ r.mapcalc -l "test1 = test2 + test3 + 5" input=test2,test3 output=test1 }}} From #2409: {{{ Such an option would be fairly simple to add. Most of the relevant logic is already present in execute() in r.mapcalc/evaluate.c. The initialize() function populates the list of input maps (in r.mapcalc/map.c or map3.c), which can be used to generate the list of inputs. Each top-level assignment expression defines an output. }}} -- Ticket URL: <http://trac.osgeo.org/grass/ticket/2592> GRASS GIS <http://grass.osgeo.org> _______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev