[GRASS-dev] [GRASS GIS] #3563: v.in.ogr can't create tables in GRASS 7.4

GRASS GIS trac at osgeo.org
Thu May 17 14:56:26 PDT 2018

#3563: v.in.ogr can't create tables in GRASS 7.4
  Reporter:  pierreroudier  |      Owner:  grass-dev@…
      Type:  defect         |     Status:  reopened
  Priority:  normal         |  Milestone:  7.4.1
 Component:  Vector         |    Version:  7.4.0
Resolution:                 |   Keywords:  v.in.ogr
       CPU:  Unspecified    |   Platform:  Unspecified

Comment (by pierreroudier):

 Replying to [comment:6 martinl]:
 > G74:v.in.ogr could be more clever about such issues. Rename column to
 eg. ORDER_, print warning and continue.

 That would be a great feature -- with maybe a flag to control this
 behaviour: when using a flag such as say `-s`, `v.in.ogr` would add an
 underscore to any reserved SQL word rather than failing.

 In SQLite you could also bracket those words, but this does not look like
 standard SQL (source: https://www.sqlite.org/lang_keywords.html)

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

More information about the grass-dev mailing list