[GRASS-dev] [GRASS GIS] #3428: Set OGC GeoPackage as default export format
GRASS GIS
trac at osgeo.org
Mon Oct 23 06:00:59 PDT 2017
#3428: Set OGC GeoPackage as default export format
--------------------------+-------------------------
Reporter: jachym | Owner: grass-dev@…
Type: task | Status: new
Priority: normal | Milestone: 7.4.0
Component: Vector | Version: svn-trunk
Resolution: | Keywords: v.out.ogr
CPU: Unspecified | Platform: Unspecified
--------------------------+-------------------------
Comment (by mmetz):
Replying to [comment:6 mlennert]:
> Replying to [comment:4 jachym]:
> > Thec checking is done in vector/v.out.ogr/create.c, line 18:
> >
> > {{{
> > /* start driver */
> > hDriver = OGRGetDriverByName(pszDriverName);
> > if (hDriver == NULL) {
> > G_fatal_error(_("OGR driver <%s> not available"), pszDriverName);
> > }
> >
> > }}}
> >
>
> This would mean that if the user does not have SQLITE support in their
GDAL instance, they would get an error message when trying to export using
v.out.ogr and its default settings ?
It would be safer to use GPKP as default only if it is available,
otherwise default should fall back to ESRI Shapefile.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3428#comment:7>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list