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

GRASS GIS trac at osgeo.org
Mon Oct 23 14:41:46 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):

 Replying to [comment:16 rouault]:
 > Oh wait, the reason might be much more mundain (deduced from code
 review, no actual testing). Apparently OGRRegisterAll() is called by
 OGR_list_write_drivers(), which is called after this new code... So no
 driver is available when it is called. Fix: call OGRRegisterAll() much
 earlier

 Bingo! I moved it up, patch updated. Now "GPKG" shows up as a default (I'm
 on Fedora with GDAL 2.x) :-)

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



More information about the grass-dev mailing list