[GRASS-dev] [GRASS GIS] #3466: v.to.db: check if column exists before running

GRASS GIS trac at osgeo.org
Sun Aug 26 23:11:10 PDT 2018


#3466: v.to.db: check if column exists before running
--------------------------+---------------------------------
  Reporter:  sbl          |      Owner:  grass-dev@…
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  7.6.0
 Component:  Vector       |    Version:  svn-releasebranch74
Resolution:               |   Keywords:  v.to.db,column
       CPU:  All          |   Platform:  All
--------------------------+---------------------------------

Comment (by mlennert):

 While we are discussing this: couldn't the module just create the columns
 if they don't exist, yet ?

 I think this should be the default behavior of all modules writing output
 into DB columns. Possibly with a flag to determine if overwriting an
 existing column is ok.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3466#comment:5>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list