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

GRASS GIS trac at osgeo.org
Mon Oct 23 13:30:07 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 neteler):

 {{{
  args.c:
       tempDriver = OGRGetDriverByName("GPKG");
 }}}

 I found a hint:

 http://www.gdal.org/ogr__api_8h.html#ae814db7e2212b9bbb0fd8c361bee11fe

 "Fetch the indicated driver.

 NOTE: Starting with GDAL 2.0, it is NOT safe to cast the returned handle
 to OGRSFDriver*. If a C++ object is needed, the handle should be cast to
 GDALDriver*.

 Deprecated: Use GDALGetDriverByName() in GDAL 2.0
 "

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



More information about the grass-dev mailing list