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

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

Comment (by mlennert):

Please try the new patch ( v_out_ogr_alltypes.patch) which covers points,
lines and areas. With this patch applied, I can do each of the following
which throws an error without the patch:

{{{
v.out.ogr input=usgsgages output=usgsgages.sqlite format=SQLite type=point
dsco='SPATIALITE=yes'
v.out.ogr input=roadsmajor output=roadsmajor.sqlite format=SQLite
type=line dsco='SPATIALITE=yes'
v.out.ogr input=urbanarea output=urbanarea.sqlite format=SQLite type=area
dsco='SPATIALITE=yes'
}}}

I also tested exporting each of these maps to shapefile.

The patch was made with release70, but applies to trunk as well.

I would appreciate some testing and a critical eye from someone a bit
knowledgeable in OGR/v.out.ogr to make sure that this does not break
anything in such an important module.

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