4

Possible Duplicate:
How to access feature classes in File Geodatabases with python and gdal?

I have installed:

python-2.7.msi

GDAL-1.9.1.win32-py2.7.exe

import ogr
driver = ogr.GetDriverByName("FileGDB")
print driver

I receive None

Do I need to install something extra to open GDB?

user7172
  • 1,529
  • 2
  • 24
  • 45

2 Answers2

4

Looks like you'll need to build GDAL with FileGDB support.

http://trac.osgeo.org/gdal/wiki/FileGDB

An alternative is to use OSGEO4W. It automatically takes care of all your dependencies under Windows.

https://trac.osgeo.org/osgeo4w/

Rayner
  • 3,721
  • 1
  • 23
  • 30
  • I saw first link but I don't now how to use this instrutions...Is possible to download a compiled GDAL with FileGDB? – user7172 Oct 04 '12 at 19:35
  • Not that I'm aware of. The easiest thing to do is download OSGEO4W. There is a very good procedure here: http://gis.stackexchange.com/questions/26285/how-to-get-gdb-esri-file-geodatabase-support-in-quantum-gis-osgeo4w-qgis – Rayner Oct 04 '12 at 19:49
1

For those using OSX Lion, here are some good step-by-step instructions: https://gist.github.com/2005158

Casey
  • 2,040
  • 1
  • 16
  • 23