Opened 14 years ago
Closed 12 years ago
#1305 closed defect (fixed)
WXGUI raster map calculator should quote map names
Reported by: | marisn | Owned by: | |
---|---|---|---|
Priority: | minor | Milestone: | 6.4.3 |
Component: | wxGUI | Version: | 6.4.2 RCs |
Keywords: | raster calculator, r.mapcalc | Cc: | |
CPU: | All | Platform: | All |
Description
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)
Change History (3)
comment:1 by , 14 years ago
Keywords: | raster calculator added |
---|
comment:2 by , 13 years ago
CPU: | Unspecified → All |
---|---|
Keywords: | r.mapcalc added |
Milestone: | 6.4.1 → 6.4.3 |
Platform: | Unspecified → All |
Version: | 6.4.1 RCs → 6.4.2 RCs |
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
still fails. tested on both wingrass and linux, 6.5svn.
Hamish