<div dir="ltr"><div>On Wed, Jul 31, 2013 at 9:24 AM, xavier lhomme <span dir="ltr"><<a href="mailto:lhomme.xavier@gmail.com" target="_blank">lhomme.xavier@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<div dir="ltr"><div>Raster Dataset and Mosaic Dataset are not supported :</div><div> See : <a href="http://proceedings.esri.com/library/userconf/devsummit13/papers/devsummit-170.pdf" target="_blank">http://proceedings.esri.com/library/userconf/devsummit13/papers/devsummit-170.pdf</a></div>
<div> </div></div></blockquote></div><br><div>Thanks for the tip, Xavier. The .gdb files I've got have more than just rasters and mosaics, and the presence of these types doesn't prevent the FileGDB driver from working on the rest of the database (fortunately). Also, I have some others that don't have rasters or mosaics and still don't load in. However, at least part of the problem is due to unsupported features like you suggest.</div>
<div><br></div><div>In trying to debug this, I remembered to set CPL_DEBUG=ON to watch the messages out of ogrinfo and I'm seeing that my various datasets downloaded from the web.</div><div><br></div><div>I'm seeing two kinds:</div>
<div><br></div><div>1. "Invalid function arguments"</div><div><div>FGDB: Error opening \CONUS_public_datasets\CONUS_Public_Metadata. Skipping it (Invalid function arguments.)</div><div>FGDB: Error opening \CONUS_public_datasets\CONUS_Public_Historic_Map_Info. Skipping it (Invalid function arguments.)</div>
<div>FGDB: Error opening \CONUS_wetlands\CONUS_wet_poly. Skipping it (Invalid function arguments.)</div></div><div><br></div><div>2. "FileGDB compression is not installed"</div><div><div>FGDB: Error opening \King_SF1_00006mod. Skipping it (FileGDB compression is notinstalled.)</div>
<div>FGDB: Error opening \King_SF1_00005. Skipping it (FileGDB compression is not installed.)</div><div>FGDB: Error opening \King_SF1_00002. Skipping it (FileGDB compression is not installed.)</div></div><div><br></div><div>
<br></div><div>I have read somewhere online that compression is not supported by the FileGDB_API toolkit so there's apparently nothing more I can do about that.</div><div><br></div><div>The other is more puzzling and I have actually just duplicated it problem by editing one of the sample programs distributed with the FileGDB_API called Querying. When a .gdb contains "Feature Datasets" containing "Feature Classes," they sometimes fail to open with this "Invalid function arguments" error, the meaning of which I don't understand.</div>
<div><br></div><div>On the other hand, I have another .gdb with this same layout that works fine. I will post one of the non-working examples as Even suggested.</div><div><br></div><div>Again, if anyone has any bright ideas, I'd be very grateful. Thanks,</div>
<div><br></div><div>carl</div><div class="gmail_extra"><br></div></div>