[Qgis-user] Opening Raster from ESRI .GDB

Michael Treglia mtreglia at gmail.com
Thu Jul 24 13:53:56 PDT 2014


I'm not seeing those types of files in the directory.

The message I get in Q is the file is  "is not a valid or recognized
dataset"

I'll look into the permissions on sharing the data and get back to you.
Best,
mike


On Thu, Jul 24, 2014 at 4:44 PM, Even Rouault <even.rouault at mines-paris.org>
wrote:

> Le jeudi 24 juillet 2014 22:33:52, Michael Treglia a écrit :
> > Even and Alex,
> >
> > Thanks! That definitely clarifies some things.
> >
> > I just tried two GDB files with ESRI FileGDB and OpenFileGDB in QGIS. One
> > .gdb file worked fine with both ESRI FileGDB and OpenFileGDB.  The other
> > didn't work with either.  I don't know what Arc version the latter was
> > created in or anything, but I can try and find out and get back to you in
> > the future.
>
> That would be interesting to see that database. By chance, are you seeing
> .gdbtable.sdc files in the directory ? If so, then yes it is expected that
> it
> doesn't work with those (and neither the ESRI FileGDB can deal with them).
> They are very special GDB highly compressed and meant for read-only, and
> as a
> side effect order of magnitude more difficult to reverse engineer that the
> regular GDB.
>
> >
> > Best regards,
> > Mike
> >
> >
> > On Thu, Jul 24, 2014 at 4:19 PM, Even Rouault
> > <even.rouault at mines-paris.org>
> >
> > wrote:
> > > 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
>
> --
> Geospatial professional services
> http://even.rouault.free.fr/services.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140724/c3bbaa5b/attachment.html>


More information about the Qgis-user mailing list