Opened 8 years ago

Closed 8 years ago

#4517 closed defect (fixed)

[PATCH] Cannot create FileGDB if the source has an "OBJECTID" field

Reported by: ryanl Owned by: Robert Coup
Priority: normal Milestone:
Component: OGR_SF Version: svn-trunk
Severity: normal Keywords: FileGDB, File Geodatabase
Cc:

Description

Currently attempting to convert a file with a field called OBJECTID to FileGDB format results in an error, "ERROR 1: Error: Failed at creating Field for OBJECTID (The Field already exists.)"

This patch adds OBJECTID to the list of reserved words. This causes the source's OBJECTID field to be preserved in the new FileGDB as OBJECTID_ instead of being overwritten with automatic values.

Note: This will not rename the OBJECTID field if the source is a FileGDB

Attachments (1)

objectid_reserved_name.diff (840 bytes) - added by ryanl 8 years ago.
Patch for r23978

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by ryanl

Attachment: objectid_reserved_name.diff added

Patch for r23978

comment:1 Changed 8 years ago by Robert Coup

Resolution: fixed
Status: newclosed

FileGDB: Add OBJECTID as a reserved word for FGDB field names (#4517). Thanks ryanl.

Committed in r23983 (1.9) and r23984 (trunk).

Note: See TracTickets for help on using tickets.