[GRASS-dev] [GRASS GIS] #1306: WGUI doesn't strip quotes from map name when adding to layer manager after module run

GRASS GIS trac at osgeo.org
Fri Mar 11 04:34:23 EST 2011


#1306: WGUI doesn't strip quotes from map name when adding to layer manager after
module run
-------------------------+--------------------------------------------------
 Reporter:  marisn       |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.1                    
Component:  wxGUI        |     Version:  6.4.1 RCs                
 Keywords:               |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 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)
 }}}

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1306>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list