Opened 9 years ago

Closed 9 years ago

#5860 closed defect (fixed)

FileGDB driver doesn't support all spatial reference systems

Reported by: maphew Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.11.1
Severity: normal Keywords: ogr
Cc:

Description

There are 4 feature classes in the attached file-gdb, but ogrinfo using FileGDB driver only lists 3. Openfilgdb driver sees all 4.

The missing feature class is a polygon layer with one simple polygon (a box).

X:\>ogrinfo ogrinfo-test.gdb
INFO: Open of `ogrinfo-test.gdb'
      using driver `FileGDB' successful.
1: waterbody (3D Multi Polygon)
2: streams (3D Multi Line String)
3: contours_m (Multi Line String)

X:\>set OGR_SKIP=FileGDB

X:\>ogrinfo ogrinfo-test.gdb
Had to open data source read-only.
INFO: Open of `ogrinfo-test.gdb'
      using driver `OpenFileGDB' successful.
1: selected_AOI (Multi Polygon)
2: waterbody (3D Multi Polygon)
3: streams (3D Multi Line String)
4: contours_m (Multi Line String)

Environment:

GDAL 1.11.1, released 2014/09/24 (from Osgeo4W) ArcGIS 10.3 Windows 7 x64.

Attachments (1)

ogrinfo-test.gdb.zip (99.1 KB ) - added by maphew 9 years ago.
File gdb with 4 layers (2 line, 2 poly)

Download all attachments as: .zip

Change History (2)

by maphew, 9 years ago

Attachment: ogrinfo-test.gdb.zip added

File gdb with 4 layers (2 line, 2 poly)

comment:1 by Even Rouault, 9 years ago

Resolution: fixed
Status: newclosed
Summary: FileGDB driver doesn't return all Feature ClassesFileGDB driver doesn't support all spatial reference systems

Very likely due to the spatial reference system not supported by the SDK. Which is a nown issue.

Following commit will add a warning with a hint:

trunk r28573 "FileGDB: emit a warning when a layer cannot be opened (#5860)"

Note: See TracTickets for help on using tickets.