Ticket #1306 (closed defect: fixed)

Opened 2 years ago

Last modified 9 months ago

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:
Platform: Unspecified CPU: 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

Changed 2 years ago by martinl

  • keywords raster calculator added

Changed 9 months ago by neteler

  • milestone changed from 6.4.1 to 6.4.3

See also #1305

Changed 9 months ago by annakrat

  • status changed from new to closed
  • resolution set to fixed

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

Note: See TracTickets for help on using tickets.