Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Treat mdb files as a database source in browser
Allows these to be expanded so that particular layers can be loaded, notably allowing projects with broken mdb layer paths to be repaired by allowing users to pick the correct target layer from an mdb file.
- Loading branch information
1 parent
38a7e72
commit 463e8ee
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -604,10 +604,12 @@ QgsDataItem *QgsOgrDataItemProvider::createDataItem( const QString &pathIn, QgsD | |
QStringLiteral( "gdb" ), | ||
QStringLiteral( "kml" ), | ||
QStringLiteral( "osm" ), | ||
QStringLiteral( "mdb" ), | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
nirvn
Contributor
|
||
QStringLiteral( "pbf" ) }; | ||
static QStringList sOgrSupportedDbDriverNames { QStringLiteral( "GPKG" ), | ||
QStringLiteral( "db" ), | ||
QStringLiteral( "gdb" ) }; | ||
QStringLiteral( "gdb" ), | ||
QStringLiteral( "pgdb" )}; | ||
|
||
// these extensions are trivial to read, so there's no need to rely on | ||
// the extension only scan here -- avoiding it always gives us the correct data type | ||
|
@nyalldawson , could you make this conditional to GDAL reporting a MDB driver available?