[Qgis-developer] GeoPackage: Vector layer save as... support

Stefan Keller sfkeller at gmail.com
Thu Jun 4 15:53:39 PDT 2015


Hi,

Can somebody explain, if there is a problem when GeoPackage is being
added as writable driver (see also this feature request [1])?

I'm not sure but it seems that it's mainly inserting following snippet
to "core/qgsvectorfilewriter.cpp", specifially
"QgsVectorFileWriter::driverMetadata", after line 2272 [2]:

  else if ( driverName.startsWith( "GeoPackage" ) )
  {
    longName = "GeoPackage";
    trLongName = QObject::tr( "GeoPackage" );
    glob = "*.gpkg";
    ext = "gpkg";
  }

Yours, S.

[1] https://hub.qgis.org/issues/12187


More information about the Qgis-developer mailing list