[GRASS-dev] [GRASS GIS] #1886: Error in input may result in r.proj overwriting exising layers

GRASS GIS trac at osgeo.org
Fri Feb 15 05:15:20 PST 2013


#1886: Error in input may result in r.proj overwriting exising layers
------------------------+---------------------------------------------------
 Reporter:  pvanbosgeo  |       Owner:  grass-dev@…              
     Type:  defect      |      Status:  new                      
 Priority:  normal      |   Milestone:  7.0.0                    
Component:  Raster      |     Version:  svn-trunk                
 Keywords:              |    Platform:  Unspecified              
      Cpu:  x86-64      |  
------------------------+---------------------------------------------------

Comment(by glynn):

 Replying to [ticket:1886 pvanbosgeo]:

 > A more consistent behavior, i.m.h.o., would be if in both steps, the
 '@mapset' is ignored (which would eliminate the possibility of unwittingly
 overwriting layers). Alternatively, it should be impossible to use an
 input name which includes a '@mapset' part (doing so should give an error
 message).

 The most consistent behaviour would be to make the output= parameter non-
 optional. The parser will automatically generate an error if an "output"
 map exists and overwrite wasn't enabled.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1886#comment:1>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list