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

GRASS GIS trac at osgeo.org
Mon Aug 27 00:08:30 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):

 Replying to [comment:5 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.

 See the -c flag in v.rast.stats.

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

More information about the grass-dev mailing list