I'm working on a tool that converts raster layers to arrays for processing with NumPy, and ideally I would like to be able to work with rasters that come packaged in a .gdb without exporting them all (especially if this requires engaging ArcGIS or ArcPy).

Is this possible with the OpenFileGDB driver?

From what I can tell this driver seems to treat raster layers the same as vector layers, which gives you access to some data about the layer but doesn't give you the ReadAsArray functionality.

  • 1
    From erouault.blogspot.fi/2014/01/ogr-openfilegdb-driver.html: I've encountered a few raster File Geodatabase datasets (apparently tiled), and a quick inspection of the tables makes me believe that a raster driver would be doable. Thus, probably doable but not done.
    – user30184
    Jan 7, 2015 at 16:45
  • @user30184 are you aware of the evolution related to this question. Can gdal 2 read rasters in gdb ?
    – radouxju
    Jun 23, 2015 at 19:06
  • I'm not aware of it, but would be interested to find out.
    – triphook
    Jun 23, 2015 at 20:41

3 Answers 3


Reading and writing file geodatabase rasters is not supported by the File Geodatabase API as of July 2015. According to this 2010 Esri blog File Geodatabase API details:

Rasters (Raster Dataset, Raster Catalog, Mosaic Datasets and Raster Attributes) are not supported with the initial release of the File Geodatabase API.

Additionally, according to an Esri Staff member on a Geonet discussion (June 2015):

Currently we do not have any plans on supported access to raster data via the File Geodatabase API. If you feel this is needed, please add it to the Esri Ideas site and it will be considered for a…


Raster data stored in File Geodatabases is currently not supported by GDAL/QGIS.
There is work being done by Nyall Dawson and North Road along with members of the GDAL development community to hopefully bring this feature to light in the upcoming time.

Watch this page for news regarding the development of the raster driver:


The ability to read Raster layers from File Geodatabases has now been added to GDAL v3.7 (https://github.com/OSGeo/gdal/pull/7389)

Feature also now in QGIS - https://github.com/qgis/QGIS/pull/52214

  • And gdal 3.7 has now been released.
    – user2856
    May 11 at 2:17

Your Answer

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

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