<div dir="ltr"><br><div>Thanks, Even.  You give me hope that I wasn't barking up the completely wrong tree.  I will attempt to debug a little on my own and post what I find (if anything).  </div><div><br></div><div>And I can certainly open a Trac ticket if I find something I think is working incorrectly.  Thanks!</div>
<div><br></div><div>carl</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 30, 2013 at 3:26 PM, Even Rouault <span dir="ltr"><<a href="mailto:even.rouault@mines-paris.org" target="_blank">even.rouault@mines-paris.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Le mercredi 31 juillet 2013 00:07:08, Carl Godkin a écrit :<br>
<div><div class="h5">> Hi,<br>
><br>
> I'm trying for the first time to use the OGR library to read ESRI FileGDB<br>
> (".gdb") databases and I think I must be doing something wrong.<br>
><br>
> I built GDAL 1.10.0 with VS2010 and (among other additions) the FileGDB_API<br>
> 1.3 for VS2010 all on Win64.  Everything built cleanly but the OGR library<br>
> seems to be unable find layers in some .gdb data sets.<br>
><br>
> To take my own code out of the equation, I tried to list the layers in<br>
> various .gdb files from around the web using the version of "ogrinfo" built<br>
> along with the library.<br>
><br>
> All of example .gdb projects from the samples/data directory in the ESRI<br>
> FileGDB_API distribution work just fine as does some data from other<br>
> sources.<br>
><br>
> However, I find that a lot of .gdb data sets that I find on the web act as<br>
> if they have no layers.  (These are apparently up to date sites too, not<br>
> very old sites.)<br>
><br>
> In lots of cases, ogrinfo says just this:<br>
> >ogrinfo -al WA_wetlands.gdb<br>
><br>
> INFO: Open of `WA_wetlands.gdb'<br>
>       using driver `FileGDB' successful.<br>
><br>
> However, I know there are layers in the these files because ArcGIS Explorer<br>
> Desktop shows them just fine, but calls them "datasets."  The datasets,<br>
> however, are not quite the same as the layers listed by "ogrinfo" (in the<br>
> cases where ogrinfo shows something useful) so I'm wondering if I am<br>
> confused about the nomenclature or something.<br>
><br>
> Does anyone have any suggestions?  I feel like I must be missing something<br>
> obvious. Thanks very much for any ideas,<br>
<br>
</div></div>Carl,<br>
<br>
The driver is supposed to have some support for reading layers in "datasets",<br>
but you are perhaps running into a bug, or a limitation of the FileGDB SDK<br>
itself. Perhaps you could create a GDAL Trac ticket and attach one of those<br>
.gdb for investigation.<br>
<br>
Best regards,<br>
<br>
Even<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Geospatial professional services<br>
<a href="http://even.rouault.free.fr/services.html" target="_blank">http://even.rouault.free.fr/services.html</a><br>
</font></span></blockquote></div><br></div>