Created
May 7, 2014 15:55
-
-
Save cspanring/8f0c83f57b7ed68af23c to your computer and use it in GitHub Desktop.
Adds OpenFileGDB GDAL driver to QGIS 2.2
This file contains hidden or 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
| From c54e2a8f30d3755550c61fc7a2f55df928c1cf50 Mon Sep 17 00:00:00 2001 | |
| From: Christian Spanring <[email protected]> | |
| Date: Wed, 7 May 2014 11:40:09 -0400 | |
| Subject: [PATCH] Add OpenFileGDB read-only driver option to OGR directory | |
| drivers | |
| available in gdal-1.11.0. | |
| See https://github.com/qgis/QGIS/commit/a096cf45e4ad2fe9dc35fdb3d4453c73e26e7621 for details in QGIS master. | |
| --- | |
| src/providers/ogr/qgsogrprovider.cpp | 4 ++++ | |
| 1 file changed, 4 insertions(+) | |
| diff --git a/src/providers/ogr/qgsogrprovider.cpp b/src/providers/ogr/qgsogrprovider.cpp | |
| index 96830d9..5663484 100644 | |
| --- a/src/providers/ogr/qgsogrprovider.cpp | |
| +++ b/src/providers/ogr/qgsogrprovider.cpp | |
| @@ -1636,6 +1636,10 @@ QString createFilters( QString type ) | |
| { | |
| myDirectoryDrivers += QObject::tr( "ESRI FileGDB" ) + ",FileGDB;"; | |
| } | |
| + else if ( driverName.startsWith( "OpenFileGDB" ) ) | |
| + { | |
| + myDirectoryDrivers += QObject::tr( "OpenFileGDB" ) + ",OpenFileGDB;"; | |
| + } | |
| else if ( driverName.startsWith( "PGeo" ) ) | |
| { | |
| myDatabaseDrivers += QObject::tr( "ESRI Personal GeoDatabase" ) + ",PGeo;"; | |
| -- | |
| 1.9.2 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment