Skip to content

Commit

Permalink
Add OpenFileGDB read-only driver option to OGR directory drivers (ava…
Browse files Browse the repository at this point in the history
…ilable in gdal-1.11.0)

- Works fine, though sometimes is assigned '-' for a CRS when CRS is unknown (unrelated to driver?)
  • Loading branch information
dakcarto committed May 3, 2014
1 parent 0c52039 commit a096cf4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -1637,6 +1637,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;";
Expand Down

0 comments on commit a096cf4

Please sign in to comment.