[GRASS-dev] [GRASS GIS] #3475: r.mapcalc expression does not accept fully qualified map name as an output
GRASS GIS
trac at osgeo.org
Thu Jan 4 08:51:48 PST 2018
#3475: r.mapcalc expression does not accept fully qualified map name as an output
-------------------------+-------------------------
Reporter: marisn | Owner: grass-dev@…
Type: defect | Status: new
Priority: minor | Milestone:
Component: Raster | Version: svn-trunk
Keywords: r.mapcalc | CPU: Unspecified
Platform: Unspecified |
-------------------------+-------------------------
All raster and vector modules should accept fully qualified map name as an
output parameter and ignore @mapset part as long as mapset == current
mapset. This is implemented in Vect_open_new() and G_open_raster_new().
Still r.mapcalc is failing with an error:
{{{
mapcalc> sample at mapset=1
syntax error, unexpected '@', expecting '('
}}}
See extra discussion at bug #676
I'll try to fix r.grow code to strip @mapset part as a workaround as at
the moment it fails to overwrite an existing map when called from WXGUI.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3475>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list