Opened 9 years ago

Closed 9 years ago

#6135 closed defect (invalid)

Error reading features in FileGDB, missing file

Reported by: jlarouche Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.11.2
Severity: normal Keywords:
Cc: Daniel Morissette

Description

Hi,

I'm trying to read this FileGDB http://www.va.gov/vetdata/docs/Maps/VA_Facilities.zip.

Once unzipped, when I run ogrinfo -so -al VAFacilitiesFY14Q1_20140904.gdb

This is the result I get

Had to open data source read-only.
INFO: Open of `VAFacilitiesFY14Q1_20140904.gdb'
      using driver `OpenFileGDB' successful.

Layer name: VAFacilities_FY14Q1_updatedMetadata
Geometry: Point
Warning 1: VAFacilitiesFY14Q1_20140904.gdb/a0000000a.gdbtablx could not be found. Trying to guess feature locations, but this might fail or return incorrect results
ERROR 1: Error occured in filegdbtable.cpp at line 654
Feature Count: 0
Layer SRS WKT:
GEOGCS["WGS 84",
    DATUM["WGS_1984",
        SPHEROID["WGS 84",6378137,298.257223563,
            AUTHORITY["EPSG","7030"]],
        AUTHORITY["EPSG","6326"]],
    PRIMEM["Greenwich",0,
        AUTHORITY["EPSG","8901"]],
    UNIT["degree",0.0174532925199433,
        AUTHORITY["EPSG","9122"]],
    AUTHORITY["EPSG","4326"]]
Geometry Column = Shape

The most interesting part is:

Warning 1: VAFacilitiesFY14Q1_20140904.gdb/a0000000a.gdbtablx could not be found. Trying to guess feature locations, but this might fail or return incorrect results
ERROR 1: Error occured in filegdbtable.cpp at line 654

a0000000a.gdbtablx is not present, but I assume the FileGDB was exported correctly.

Any idea why this is happening?

Change History (1)

comment:1 by jlarouche, 9 years ago

Resolution: invalid
Status: newclosed

This is happening because OGR is trying to open the file with the OpenFileGDB driver instead of using the SDK.

It can be bypassed by using OGR_SKIP=OpenFileGDB ogrinfo -ro -al VAFaciltiesFY14Q1/VAFacilitiesFY14Q1_20140904.gdb.

Note: See TracTickets for help on using tickets.