Ticket #4517 (closed defect: fixed)

Opened 15 months ago

Last modified 15 months ago

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

Reported by: ryanl Owned by: rcoup
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

objectid_reserved_name.diff Download (0.8 KB) - added by ryanl 15 months ago.
Patch for r23978

Change History

Changed 15 months ago by ryanl

Patch for r23978

Changed 15 months ago by rcoup

  • status changed from new to closed
  • resolution set to fixed

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.