[GRASS-dev] [GRASS GIS] #3428: Set OGC GeoPackage as default export format

GRASS GIS trac at osgeo.org
Mon Oct 23 06:45:51 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 jachym):

 I'm attaching new version of the patch, which checks the availability of
 GPKG format on run time

 {{{

     tempDriver = OGRGetDriverByName("GPKG");
     if (tempDriver == NULL) {
             options->format->answer = "GPKG";
     } else {
             options->format->answer = "ESRI Shapefile";
     }
 }}}

 But I'm not quite convinced, this leads to consistent behavior. I would
 prefer clear and consistent solution - GPKG is *the* output format, make
 sure, you have support for it or use different format explicitly (using
 the `format` option).

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3428#comment:8>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list