[gdal-dev] FGDB Opening Sample File

Jason Roberts jason.roberts at duke.edu
Thu Apr 28 17:42:56 EDT 2011


FWIW, the error code -2147467259 is probably a Microsoft HRESULT. In hex, it
is 0x80004005, which is a generic "access is denied" error. Not that this is
much of a clue about what is going on. You could check for some kind of
permissions or access problem...

Jason

-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Paul Ramsey
Sent: Thursday, April 28, 2011 5:31 PM
To: Smith, Michael ERDC-CRREL-NH
Cc: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] FGDB Opening Sample File

Are they tables or links between tables?  I can see this is going to
be a hard project to do without ArcGIS handy :)

P.

On Thu, Apr 28, 2011 at 10:26 AM, Smith, Michael ERDC-CRREL-NH
<michael.smith at usace.army.mil> wrote:
> Relations are joins to non-spatial tables containing domain values etc.
They
> are relational tables.
>
> Mike
>
>
> --
> Michael Smith
> Remote Sensing/GIS Center
> US Army Corps of Engineers
>
>
>
> On 4/28/11 1:19 PM, "Even Rouault" <even.rouault at mines-paris.org> wrote:
>
>> Le jeudi 28 avril 2011 02:11:30, Paul Ramsey a écrit :
>>>
>>> I assume the failures are relationships we don't handle yet (or ever
>>> and will need to be silenced).
>>>
>>
>> Not sure what those relations things are.
>>
>>> There is a test file in the FGDB API itself, and it fails to open
>>> entirely, which seems odd,
>>>
>>> [pramsey at localhost data]$ ogrinfo ./TestData.gdb
>>> ERROR 1: GDB Error: Failed to open Geodatabase long:-2147467259
>>> ERROR 1: GDB Error: Failed to open Geodatabase long:-2147467259
>>> FAILURE:
>>> Unable to open datasource `./TestData.gdb' with the following drivers.
>>>
>>> Do other folks have trouble opening the ESRI sample file? The error
>>> code doesn't make much sense, it is supposed to mean "If the path is
>>> seriously in error, say pointing to the wrong drive, a -2147467259
>>> (E_FAIL) error is returned" and relates to the CreateGeodatabase
>>> method, not the OpenGeodatabase method.
>>
>> Yes I did notice that issue too. I assume either the example is
corrupted,
>> either it is a bug in the FileGDB API, either... Perhaps reporting to
ESRI
>> might be usefull. Or perhaps Ragi has some clues.
>>
>> Even
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
_______________________________________________
gdal-dev mailing list
gdal-dev at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev



More information about the gdal-dev mailing list