Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

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 (How to migrate GDB 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?

share|improve this question
    
might be an old GDB file, see gis.stackexchange.com/a/49329/187 –  underdark Nov 30 '13 at 19:53
add comment

1 Answer

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

share|improve this answer
    
I don't suppose there's a repository someplace where GDAL is already compiled with fgdb support? –  Amanda Nov 30 '13 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 '13 at 22:22
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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