[GRASS-dev] [GRASS GIS] #2300: v.out.ogr: spatialite support not working

GRASS GIS trac at osgeo.org
Sun Jul 12 04:51:47 PDT 2015


#2300: v.out.ogr: spatialite support not working
-----------------------+-----------------------------------
  Reporter:  hamish    |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  critical  |  Milestone:  6.4.4
 Component:  Vector    |    Version:  svn-trunk
Resolution:            |   Keywords:  v.out.ogr, spatialite
       CPU:  x86-64    |   Platform:  Linux
-----------------------+-----------------------------------

Comment (by neteler):

 It also fails in GRASS 7:


 {{{
 GRASS 7.0.1svn (nc_spm_08_grass7):~ > v.out.ogr input=usgsgages
 output=usgsgages.sqlite format=SQLite type=point dsco='SPATIALITE=yes'
 Exporting 433 features...
 ERROR 1: sqlite3_step() failed:
   usgsgages.GEOMETRY violates Geometry constraint [geom-type or SRID not
 allowed] (19)
 ...
 ERROR 1: sqlite3_step() failed:
   usgsgages.GEOMETRY violates Geometry constraint [geom-type or SRID not
 allowed] (19)
  100%
 ERROR 1: sqlite3_step() failed:
   usgsgages.GEOMETRY violates Geometry constraint [geom-type or SRID not
 allowed] (19)
 ERROR 1: COMMIT transaction failed: cannot commit - no transaction is
 active
 v.out.ogr complete. 433 features (Point type) written to <usgsgages>
 (SQLite format).
 }}}

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



More information about the grass-dev mailing list