#1305: WXGUI raster map calculator should quote map names -------------------------+-------------------------------------------------- Reporter: marisn | Owner: grass-dev@… Type: defect | Status: new Priority: minor | Milestone: 6.4.1 Component: wxGUI | Version: 6.4.1 RCs Keywords: | Platform: Unspecified Cpu: Unspecified | -------------------------+-------------------------------------------------- Create a map with - in it's name (it's legal map name). Use it in r.mapcalc from WXGUI mapcalculator (use dropdown list to select it). Wrapping map names in "" fixes issue:
{{{ (Fri Mar 11 11:18:08 2011) r.mapcalc srtm-rst = srtm@SRTM-reljefs_rst@SRTM syntax error, unexpected '-', expecting '=' Parse error (Fri Mar 11 11:18:10 2011) Command finished (1 sec) (Fri Mar 11 11:20:34 2011) r.mapcalc negacija = reljefs_rst@SRTM-srtm-reljefs@SRTM Invalid map <reljefs@SRTM> Parse error (Fri Mar 11 11:20:35 2011) Command finished (1 sec) (Fri Mar 11 11:22:29 2011) r.mapcalc negacija = "reljefs_rst@SRTM"-"srtm-reljefs@SRTM" (Fri Mar 11 11:22:31 2011) Command finished (2 sec) (Fri Mar 11 11:27:28 2011) r.mapcalc "negacija-smegacija" = "reljefs_rst@SRTM"-"srtm-reljefs@SRTM" (Fri Mar 11 11:27:30 2011) Command finished (2 sec) }}} -- Ticket URL: <http://trac.osgeo.org/grass/ticket/1305> GRASS GIS <http://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/grass-dev