---
id: "objectid"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/objectid"
---

# ArcGIS object ID (OBJECTID) (`objectid`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

Row identifier that Esri ArcGIS adds to every geodatabase table and feature class. The default field name is OBJECTID, or OBJECTID_1 when a column of that name already exists, and ArcGIS displays it as OID or ObjectID, and as FID in shapefiles and web feature layers. ArcGIS maintains the values. Each is a non-null integer that is unique only within its table, so the same number names different rows in different layers; Global IDs serve to identify rows across geodatabases. The field is a 32-bit integer by default, up to 2,147,483,647, and ArcGIS Pro can migrate it to a 64-bit object ID limited to 9,007,199,254,740,991. Datasets exported from ArcGIS keep it as an objectid or OBJECTID column, for example on Opendatasoft portals next to geo_point_2d and geo_shape, where it is sometimes stored as a decimal number such as 89.0. It is not the MongoDB ObjectId (mongodbid).

- Parent datatype: `id`
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: global
- Languages: Common to most languages (common)
- Classification: identifier

## Detection

Regular expression (Python `re`):

```
^(?:0|[1-9]\d{0,15})(?:\.0)?$
```

## Examples

- `38` — Land use dataset of Loire-Atlantique on Opendatasoft
- `89.0` — Pedestrian crossings dataset of La Réunion, where the column is a decimal number
- `2147483647` — Largest value of a 32-bit object ID
- `507f1f77bcf86cd799439011` (invalid example) — MongoDB ObjectId, see mongodbid
- `12.5` (invalid example) — Object IDs are integers

## Translations

- fr: Identifiant d'objet ArcGIS (OBJECTID)
- ru: Идентификатор объекта ArcGIS (OBJECTID)

## Sources

- doc: <https://doc.esri.com/en/arcgis-pro/latest/help/data/geodatabases/overview/arcgis-field-data-types.html>
- doc: <https://desktop.arcgis.com/en/arcmap/latest/manage-data/using-sql-with-gdbs/object-id.htm>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/objectid.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/objectid.yaml>
