Opened 12 years ago

Closed 12 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 12 years ago.
Patch for r23978

Download all attachments as: .zip

Change History (2)

by ryanl, 12 years ago

Attachment: objectid_reserved_name.diff added

Patch for r23978

comment:1 by Robert Coup, 12 years ago

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.