Opened 14 years ago

Closed 12 years ago

#1306 closed defect (fixed)

WGUI doesn't strip quotes from map name when adding to layer manager after module run

Reported by: marisn Owned by: grass-dev@…
Priority: normal Milestone: 6.4.3
Component: wxGUI Version: 6.4.1 RCs
Keywords: raster calculator Cc:
CPU: Unspecified Platform: Unspecified

Description

Use raster calculator to create a new map that needs quotes around it's name i.e. "a-b" (r.mapcalc "a-b" = 5). a-b map is added to layer manager as "a-b" (including quotes), still correct map name is a-b and not "a-b". Some modules (all?) would fail to process this map until it's name in layer manager is changed to correct one.

(Fri Mar 11 11:34:03 2011)                                                      
r.mapcalc "a-b" = 5                                                             
(Fri Mar 11 11:34:04 2011) Command finished (1 sec)                             
(Fri Mar 11 11:34:16 2011)                                                      
r.info map="a-b"@SRTM                                                           
Illegal filename. Character <"> not allowed.
ERROR: Raster map <"a-b"@SRTM> not found
(Fri Mar 11 11:34:17 2011) Command finished (0 sec)

Change History (3)

comment:1 by martinl, 14 years ago

Keywords: raster calculator added

comment:2 by neteler, 12 years ago

Milestone: 6.4.16.4.3

See also #1305

comment:3 by annakrat, 12 years ago

Resolution: fixed
Status: newclosed

Fixed in r52811, r52813, r52814. Closing the ticket.

Note: See TracTickets for help on using tickets.