[GIS] Opening File Geodatabase in QGIS for Ubuntu

file-geodatabaselinuxqgisUbuntu

So far I have found instructions on stack exchange but they are for windows. And so far the information I have found is for windows. I currently have Ubuntu 13.04 Raring tail. I am using qgis 1.8. I understand that gdal automatically comes with it and I should be able to open it(.gdb). I have the .gdb file on my computer. I have tried add vector layer and source type as file and Database and directory. The option for database wants to me connect to a server but I don't need to.

Installing File Geodatabase (*.gdb) support in QGIS?

Open Source Tool capable of reading Esri File Geodatabase (.gdb)?

I tried to install ubuntu gis ppa, the stable and unstable version, this actually caused qgis to lost the python plugin option and I have to do a clean uninstall. sudo apt-get remove –purge qgis

https://launchpad.net/~ubuntugis/+archive/ubuntugis-unstable

I did read this on stackexchange:
Migrating geodatabase data into PostGIS without Esri apps?

This maybe my answer but does he mean put that in the terminal?

Best Answer

I know it's been a while since this question was asked, but I was having similar problems (albeit with 14.04) and thought I'd post my solution.

I also had QGIS 1.8 installed (and later again tried this with 2.18 to no avail), and the solution given by jbalk did not work because this option didn't exist in the drop-down list. While the OpenGDB driver is installed in QGIS by default, it is only the case when it is compiled against GDAL version 1.11.0 or higher (see RyanDalton's comment on File Geodatabase (*.gdb) support in QGIS?). When installing the stable version of QGIS version according to the QGIS website instructions, I ended up with a GDAL version of 0.9.#.

You can check your GDAL version by typing

gdalinfo --version

The easiest way to fix this now (perhaps this update didn't exist back in 2013) is to install using the ubuntugis-based repositories according to the instructions on the QGIS website. The GDAL version will then be up-to-date (mine currently reads 2.1.0), the OpenGDB driver will work out of the box, and you can follow jbalk's instructions.

Related Question