[GRASS-dev] [GRASS GIS] #2877: r.mapcalc allow neigbourhood modifier to accept expression or NAME
GRASS GIS
trac at osgeo.org
Tue Jan 26 03:30:11 PST 2016
#2877: r.mapcalc allow neigbourhood modifier to accept expression or NAME
-------------------------+-------------------------
Reporter: marisn | Owner: grass-dev@…
Type: enhancement | Status: new
Priority: normal | Milestone: 7.1.0
Component: Raster | Version: svn-trunk
Keywords: r.mapcalc | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
It seems that r.mapcalc map[row,col] accepts only integers as row and col.
It would be useful (in rare cases) to specify row or col as an expression
or name that results in integer.
Here are some examples that should work:
{{{
map[-1, ncols() - 1]
map[sampler_x_map, sampler_y_map]
}}}
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/2877>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list