[GRASS-dev] [GRASS GIS] #2506: g.rename fails to rename map when there is already map of the same name in PERMENENT

GRASS GIS trac at osgeo.org
Wed Dec 3 08:22:17 PST 2014


#2506: g.rename fails to rename map when there is already map of the same name in
PERMENENT
-------------------------+--------------------------------------------------
 Reporter:  annakrat     |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  Default      |     Version:  svn-trunk                
 Keywords:  g.rename     |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
 In a mapset (different than PERMANENT) I run:

 {{{
 g.rename raster=mymap,elevation
 WARNING: <elevation> already exists in mapset <PERMANENT>
 }}}
 It doesn't rename it. When I use overwrite, it works. Still it seems it's
 a bug.

 Also when I add there my current mapset, it fails, and I thought we
 decided that current mapset should be supported when specifying output map
 names.

 {{{
 g.rename raster=mymap,elevation at mycurrentmapset
 WARNING: Illegal filename <elevation at mycurrentmapset>. Character <@> not
 allowed.
 WARNING: <elevation at mycurrentmapset> is an illegal file name
 }}}

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



More information about the grass-dev mailing list