[Qgis-user] Problem opening .GDB (v 10.1) using QGIS

Eric Goddard egoddard1010 at gmail.com
Thu Mar 27 10:22:59 PDT 2014


In another thread about QGIS and FileGeodatabases, there is a link to
the OpenFileGDB driver [1]. It mentions a different type of
compression that the fileGDB API doesn't support. It doesn't appear
that the FWA_LINEAR_BOUNDARIES_SP.gdb has that type of compression so
it should be able to load in theory.

I tried opening the GDB in QGIS and got the red bar at the top with
the invalid data message like you. Once that failed, we both used the
ogrinfo (QGIS uses the OGR library to read FileGDBs) command line tool
to see if OGR could open the geodatabase. It said it could, but it is
failing because it did not report detailed information about the
feature classes in the the database like it should have since the
'-al' flag was used. Since OGR can't open the file geodatabase, QGIS
can't read it.

 [1] http://erouault.blogspot.com/2014/01/ogr-openfilegdb-driver.html

On Thu, Mar 27, 2014 at 12:06 PM, Eric Goddard <egoddard1010 at gmail.com> wrote:
> I have gdal built with FileGDB support and I was unable to open the
> geodatabase; QGIS gave an invalid datasource error. Arcpy reports that
> it is indeed a version 10/10.1 database though. Using
>
> ogrinfo -al FWA_LINEAR_BOUNDARIES_SP.gdb
>
> reports that it was successfully opened:
> INFO: Open of `FWA_LINEAR_BOUNDARIES_SP.gdb'
>       using driver `FileGDB' successful.
>
> However, it should have also printed detailed information about the
> feature classes in the geodatabase, which it didn't. Not sure what is
> going on in the gdb. I was able to open it with ArcMap (checked the
> version with arcpy).
>
> On Thu, Mar 27, 2014 at 12:05 PM, Clifford Snow <clifford at snowandsnow.us> wrote:
>>
>> On Thu, Mar 27, 2014 at 8:32 AM, cdp <cdaponte at synergyaspen.ca> wrote:
>>>
>>> The data is supposed to be an Esri file geodatabase created with ArcGIS
>>> 10.1.
>>>
>>> The data  is stream network data from the BC provincial government and can
>>> be found at the following FTP location if anyone wants to try it out on
>>> their end (no login info required)
>>>
>>> ftp.geobc.gov.bc.ca/pub/outgoing/FWA_Public
>>>
>>> There you will find 4 zipped files. Download the smallest of them and let
>>> me
>>> know what you find. that should be
>>>
>>> FWA_LINEAR_BOUNDARIES_SP.gdb.zip
>>
>>
>> ogrinfo -al just reports:
>> INFO: Open of `FWA_LINEAR_BOUNDARIES_SP.gdb'
>>       using driver `FileGDB' successful.
>>
>> I'm able to open other FileGDBs. I wonder if someone with ArcGIS can open
>> this file?
>>
>> Clifford
>> --
>> @osm_seattle
>> osm_seattle.snowandsnow.us
>> OpenStreetMap: Maps with a human touch
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user



More information about the Qgis-user mailing list