Skip to content
Permalink
Browse files

Allow more file types to be expanded in the browser

Allows for
- xls(x)
- ods
- gpx
- accdb

Files to be expanded in the browser. This permits map layers with these
file types to be repaired or changed via the browser interface when
they have to link to a specific child layer from the file.
  • Loading branch information
nyalldawson committed Oct 15, 2020
1 parent f8aafda commit 252976b739527e213f5d1c8c98a345911dfeab32
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/core/providers/ogr/qgsogrdataitems.cpp
@@ -624,11 +624,17 @@ QgsDataItem *QgsOgrDataItemProvider::createDataItem( const QString &pathIn, QgsD
QStringLiteral( "kml" ),
QStringLiteral( "osm" ),
QStringLiteral( "mdb" ),
QStringLiteral( "accdb" ),
QStringLiteral( "xls" ),
QStringLiteral( "xlsx" ),
QStringLiteral( "gpx" ),
QStringLiteral( "pdf" ),
QStringLiteral( "pbf" ) };
static QStringList sOgrSupportedDbDriverNames { QStringLiteral( "GPKG" ),
QStringLiteral( "db" ),
QStringLiteral( "gdb" ),
QStringLiteral( "xlsx" ),
QStringLiteral( "xls" ),
QStringLiteral( "pgdb" )};

// these extensions are trivial to read, so there's no need to rely on

0 comments on commit 252976b

Please sign in to comment.
You can’t perform that action at this time.