10

At 3.10.4 I tried to load a FGDB polygon feature class, but it failed, with an "Invalid Data Source" error. I tried the load with both the Vector > Directory > ESRI FileGDB and Vector > Directory > OpenFileGDB methods:

enter image description here

It turns out that the FGDB had been previously compressed using the Arc Desktop Compress File Geodatabase Data tool. Fortunately I have access to Arc Desktop and was able to uncompress the FGDB using the Uncompress File Geodatabase Data tool.

Following the uncompress, QGIS successfully loaded the feature class.

This experience leads me to believe that QGIS cannot load compressed FGDBs. An internet search did not turn up anything.

Note that I'm not asking about FGDBs that have been zipped.

I am now curious; are there any open-source tools that will uncompress a FGDB? Or allow QGIS to load a compressed FGDB feature class?

1 Answer 1

2

To uncompress a file geodatabase with open-source tools, you can use the ogr2ogr utility from the GDAL library. This utility can be used to convert the file geodatabase (a proprietary format) to a different format, such as a shapefile or GeoJSON.

Here is an example of how to use ogr2ogr to uncompress a file geodatabase and convert it to a shapefile:

ogr2ogr -f "ESRI Shapefile" output.shp input.gdb

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.