[GRASS-dev] [GRASS GIS] #3466: v.to.db: check if column exists before running
GRASS GIS
trac at osgeo.org
Wed Aug 29 00:33:05 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:9 mmetz]:
> Replying to [comment:8 veroandreo]:
> > Replying to [comment:6 pvanbosgeo]:
> > > +1 for creating columns if they don't exist (and the flag to
determine if overwriting is OK) as default behavior
> > +1
> +1
>
> Just for clarification:
> * if the column(s) exist, require --overwrite
> * if the column(s) do not exist, create them with the appropriate type
>
> Additionally,
> * if the column(s) exist, check if the column type is correct
So, you are suggesting no -c flag as in v.rast.stats ? Should that flag in
v.rast.stats be deprecated in order to maintain coherence ?
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3466#comment:10>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list