[GRASS-dev] [GRASS GIS] #1626: cannot overwrite existing vector with r.contour

GRASS GIS trac at osgeo.org
Thu Mar 22 16:51:56 EDT 2012


#1626: cannot overwrite existing vector with r.contour
-------------------------------+--------------------------------------------
 Reporter:  cmbarton           |       Owner:  grass-dev@…              
     Type:  defect             |      Status:  new                      
 Priority:  normal             |   Milestone:  7.0.0                    
Component:  Database           |     Version:  svn-trunk                
 Keywords:  r.contour, sqlite  |    Platform:  Unspecified              
      Cpu:  Unspecified        |  
-------------------------------+--------------------------------------------
 Even if the --overwrite flag is set, attempting to overwrite an existing
 file with r.contour gives an SQLite error.

 {{{

 GRASS 7.0.svn (Global_latlon):~ > r.contour --overwrite
 input=CCSM4_1000may.currspeed at paleoclimate_currents
 output=CCSM4_1000may_currspeed step=4
 DBMI-SQLite driver error:
 Error in sqlite3_prepare():
 table CCSM4_1000may_currspeed already exists

 ERROR: Unable to create table: 'create table CCSM4_1000may_currspeed ( cat
        integer, level double precision )'
 }}}

 I haven't tested it, but this may be more widespread and affect any
 attempt to overwrite an existing vector file.

 Michael

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



More information about the grass-dev mailing list