Skip to content

Commit

Permalink
add GeoPackage support to ogr provider
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennesky committed May 9, 2014
1 parent ecb2778 commit a94aa69
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/providers/ogr/qgsogrprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1685,6 +1685,11 @@ QString createFilters( QString type )
myFileFilters += createFileFilter_( QObject::tr( "GPS eXchange Format [GPX]" ), "*.gpx" );
myExtensions << "gpx";
}
else if ( driverName.startsWith( "GPKG" ) )
{
myFileFilters += createFileFilter_( QObject::tr( "GeoPackage" ), "*.gpkg" );
myExtensions << "gpkg";
}
else if ( driverName.startsWith( "GRASS" ) )
{
myDirectoryDrivers += QObject::tr( "Grass Vector" ) + ",GRASS;";
Expand Down

0 comments on commit a94aa69

Please sign in to comment.