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

GRASS GIS trac at osgeo.org
Tue Oct 24 00:00:27 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:17 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) :-)

 I have added a somewhat simplified patch that also accounts for GDAL 2.x
 in list.c.

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



More information about the grass-dev mailing list