Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

What is the main difference between OID and FID in ESRI software?

share|improve this question
add comment

3 Answers

OBJECTID, OID and FID refer to an unique identifier of an object within a table. FID is the name primarily used in shapefiles (OID for plain DBF tables), and OBJECTID is at home in geodatabases (for both object classes and feature classes).

share|improve this answer
add comment

They mean the same thing except that FID applies only to feature classes while OID (object ID) applies to object classes, which includes feature classes and tables.

share|improve this answer
add comment

You can get both in one dataset by using tools that export/import/re-create (a process that creates a new one) your files.

You will notice an asterisk * next to one of them (usually first in attribute list) when viewing in the attribute table. The other can be deleted (unless you use it for something else).

There is only ever one internal ID field in use on any feature table.

Here are some Help 10 links.

Gdb Field Data Types

Defining Fields in Tables

How Data Converts When Importing

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.