I have a zip file that I got from the City department of information technology. Unzipped, it is a directory called DOITT_ZIP_CODE_01_29JUL2009.gdb containing a bunch of .gdbtable and .gdbtablex files. I'm not super seasoned in GIS but I'm pretty sure I ought to be able to open this in QGIS. I can't figure out a combination of parameters that will let me open it, however.

I really just need to get the data out, so I'd be happy to use something like GDB Flee but it can't seem to read the .zip and the .gdb is a directory.

Note: These instructions (Migrating geodatabase data into PostGIS without Esri apps?) suggest I could use a command line tool, ogr2ogr but mine doesn't seem to have FileGDB support.

What is my next step?


1 Answer 1


A couple things need to happen here:

  1. GDAL has to of been compiled with ESRI FileGDB support (ie, --with-fgdb=/usr/lib/filegdb-api)
  2. The FileGDB you have has to be >= v10 FileGDB
  3. Open the FileGDB using QGIS:
    • Layer > Add Vector Layer > Directory > Type: ESRI FileGDB > Navigate to gdb folder, highlight and press OK till you are back at map

There are some instructions on how to get FileGDB support in GDAL either from Building FGDB support for GDAL 1.10 on Ubuntu or install gdal with file gdb and spatialite support on ubuntu

  • I don't suppose there's a repository someplace where GDAL is already compiled with fgdb support?
    – Amanda
    Nov 30, 2013 at 20:49
  • Amanda, it depends on your distro - being Linux, you can compile yourself quite easily. What's your Linux distro of choice?
    – SaultDon
    Nov 30, 2013 at 22:22

Your Answer

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

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