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?
Answer
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/
No comments:
Post a Comment