Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#5575 closed defect (invalid)

GDAL-1.11.0 FileGDB Problem

Reported by: zhulx Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: 1.11.0
Severity: normal Keywords: FileGDB
Cc:

Description (last modified by zhulx)

Dear,

I am a new GDAL user, when I compile GDAL-1.11.0, want to enable FileGDB read/write support, according to official guidance document, do the following configuration:

FGDB_ENABLED = YES
# FGDB_PLUGIN = YES
FGDB_SDK = C: \ FileGDB_API_SDK \FileGDB_API_VS2010_1_3
FGDB_INC = $ (FGDB_SDK) \ include
FGDB_LIB = $ (FGDB_SDK) \ lib \ FileGDBAPI.lib

Compile all goes well, when I try to read a FileGDB, no problem; But when I want to create a new layer, the correct error, tested with TestCapability (Ogr.ODsCCreateLayer), the result is "false". The same build configuration, there is no problem in the GDAL-1.9.2 version, but can’t support DeleteFeature capability… I am very confused, please enlighten master, thank you ~

Change History (3)

comment:1 by zhulx, 10 years ago

Description: modified (diff)

comment:2 by Even Rouault, 10 years ago

Resolution: invalid
Status: newclosed

r26315 introduced a stricter check on if the datasource is opened in read-only or in update mode. Open the FileGDB in update mode and it should work.

in reply to:  2 comment:3 by zhulx, 10 years ago

Replying to rouault:

r26315 introduced a stricter check on if the datasource is opened in read-only or in update mode. Open the FileGDB in update mode and it should work.

Thanks~

Note: See TracTickets for help on using tickets.