Skip to content

Commit

Permalink
Treat GeoPDF files as databases in browser panel
Browse files Browse the repository at this point in the history
Since these can have multiple sub layers, we need to allow users
to expand them out to pick a specific layer or it is not possible
to repair broken GeoPDF layer sources in projects.
  • Loading branch information
nyalldawson committed Sep 23, 2020
1 parent 3119eb7 commit aa1d199
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/core/providers/ogr/qgsogrdataitems.cpp
Expand Up @@ -619,6 +619,7 @@ QgsDataItem *QgsOgrDataItemProvider::createDataItem( const QString &pathIn, QgsD
QStringLiteral( "kml" ),
QStringLiteral( "osm" ),
QStringLiteral( "mdb" ),
QStringLiteral( "pdf" ),
QStringLiteral( "pbf" ) };
static QStringList sOgrSupportedDbDriverNames { QStringLiteral( "GPKG" ),
QStringLiteral( "db" ),
Expand Down

0 comments on commit aa1d199

Please sign in to comment.