[QGIS-trac] [Quantum GIS] #1885: r.mapcalc command misses apices
Quantum GIS
qgis at qgis.org
Wed Aug 19 11:14:53 EDT 2009
#1885: r.mapcalc command misses apices
--------------------------------+-------------------------------------------
Reporter: pcav | Owner: rugginoso
Type: bug | Status: new
Priority: minor: annoyance | Milestone: Version 1.2.0
Component: GRASS | Version: HEAD
Keywords: | Platform_version:
Platform: All | Must_fix: No
Status_info: 0 |
--------------------------------+-------------------------------------------
If we run r.mapcalc in graphic mode, then we copy the resulting command in
the GRASS shell, it throws an error, eg:
r.mapcalc raster_sum=((raster1+raster2))
bash: syntax error near unexpected token `('
If we add apices, it works:
r.mapcalc raster_sum='((raster1+raster2))'
same if we remove the parentheses:
r.mapcalc raster_sum=raster1+raster2
Looks an easy fix.
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1885>
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