Ticket #4517 (closed defect: fixed)
[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
Change History
Note: See
TracTickets for help on using
tickets.

