[Qgis-user] Opening Raster from ESRI .GDB

Even Rouault even.rouault at mines-paris.org
Thu Jul 24 13:19:26 PDT 2014


Le jeudi 24 juillet 2014 22:04:00, Alex Mandel a écrit :
> Sorta, there are 2 drivers for GDB. The open GDB that Even has been
> working on and the official ESRI GDB api.
> 
> The ESRI GDB api and Arc instance are not backwards compatible, once you
> upgrade a gdb to the latest it only works with the latest and there's
> often no way to write an older variant.

The ESRI FileGDB SDK can only read gdb that have been created by ArcGIS 9.X. 
The OpenFileGDB driver can (well, at least on all available samples I have 
worked on). See http://gdal.org/drv_openfilegdb.html for a comparison of both 
drivers

> 
> The open GDB driver I think allows you to read any version and write
> older versions if you need to without auto-upgrading.

Only reading. Writing hasn't been implemented although we probably have almost 
everything needed to implement it one day.

> 
> Back to your original question does the ESRI gdb driver work for you use
> case for now? On windows I think you can get it with OSGeo4w on Linux
> you need to download the SDK from ESRI and recompile GDAL -

Latest OSGeo4W must have GDAL 1.11, so you won't need recompiling anything. 
Check with "ogrinfo --formats" if OpenFileGDB shows in the list.

> but I don't
> know if this is vector and raster or just vector.

ESRI FileGDB SDK only supports vector too. So no closed-source or open-source 
solutions for raster yet.

> 
> Thanks,
> Alex
> 
> On 07/24/2014 12:56 PM, Michael Treglia wrote:
> > Hi Even,
> > 
> > Thanks a lot for the quick response - I really appreciate your work in
> > dealing with the GDB files!
> > 
> > That sounds great! Let me know if you need more data examples and such.
> > 
> > Just a quick question - .gdb is not typically forward and backward
> > compatible across Arc versions, right? [I've definitely had .gdb files
> > that don't work in QGIS, while some do, so I have assumed that it was
> > due to versioning issues - is that right? Or should I be doing some
> > trouble-shooting?]
> > 
> > Thanks again, and best regards,
> > Mike
> > 
> > 
> > On Thu, Jul 24, 2014 at 3:27 PM, Even Rouault
> > <even.rouault at mines-paris.org>
> > 
> > wrote:
> >> Le jeudi 24 juillet 2014 18:19:14, Michael Treglia a écrit :
> >>> Hi All,
> >>> 
> >>> I've Googled around, and it seems like this isn't currently possible,
> >>> but wanted to check with folks on this list for any solution...
> >>> 
> >>> A lot of data being produced by agencies is now available only as ESRI
> >> 
> >> .gdb
> >> 
> >>> files. A dataset I'm particularly interested in working with is a
> >>> gridded soil dataset (
> >> 
> >> http://www.nrcs.usda.gov/wps/portal/nrcs/detail/soils/ref/?cid=nrcs142p2
> >> _05
> >> 
> >>> 3628 )
> >>> 
> >>> These particular data are in raster format, stored as Arc 10.1 .gdb,
> >>> available from here: http://datagateway.nrcs.usda.gov/GDGOrder.aspx
> >> 
> >> Mike,
> >> 
> >> When I reverse-engineered the vector part of FileGDB format that lead to
> >> the
> >> OGR OpenFileGDB driver of GDAL 1.11, I came through a few raster GDB
> >> samples.
> >> Dealing with them was not in the scope of the work that was funded, but
> >> from
> >> what I've seen, I've good hope that decoding them would be reachable.
> >> Would need some extra investigation of course to confirm and
> >> complementary funding...
> >> 
> >> Best regards,
> >> 
> >> Even
> >> 
> >>> Any suggestions are appreciated.
> >>> 
> >>> Thanks!
> >>> Mike
> >> 
> >> --
> >> Geospatial professional services
> >> http://even.rouault.free.fr/services.html
> > 
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
Geospatial professional services
http://even.rouault.free.fr/services.html



More information about the Qgis-user mailing list