Skip to content

Commit fb107f1

Browse files
committedJun 5, 2015
Add GeoPackage/GPKG writable driver support
1 parent 0df62b7 commit fb107f1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed
 

‎src/core/qgsvectorfilewriter.cpp

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2270,6 +2270,13 @@ bool QgsVectorFileWriter::driverMetadata( QString driverName, QString &longName,
22702270
glob = "*.geojson";
22712271
ext = "geojson";
22722272
}
2273+
else if ( driverName.startsWith( "GPKG" ) )
2274+
{
2275+
longName = "GeoPackage";
2276+
trLongName = QObject::tr( "GeoPackage" );
2277+
glob = "*.gpkg";
2278+
ext = "gpkg";
2279+
}
22732280
else if ( driverName.startsWith( "GeoRSS" ) )
22742281
{
22752282
longName = "GeoRSS";

0 commit comments

Comments
 (0)
Please sign in to comment.