---
id: "odk_geopoint"
kind: "datatype"
status: "draft"
is_pii: false
name: "ODK geopoint"
regexp: "^-?\\d{1,2}\\.\\d+ -?\\d{1,3}\\.\\d+ -?\\d+(?:\\.\\d+)? \\d+(?:\\.\\d+)?$"
categories: ["geo"]
langs: ["common"]
quality: 85
url: "https://registry.apicrafter.io/datatype/odk_geopoint"
---

# ODK geopoint (`odk_geopoint`)

> **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.

A location as Open Data Kit (ODK) and the tools built on its XForms (KoboToolbox, Ona, formhub, SurveyCTO) record a geopoint question, latitude and longitude in decimal degrees, altitude in metres and accuracy in metres separated by single spaces, such as 9.140918 7.496761 697.0 4.5. Exports keep it in one column (gps, _geolocation) next to split latitude and longitude columns; geoshape and geotrace answers are lists of such points separated by semicolons.

- Parent datatype: [`geopoint`](https://registry.apicrafter.io/datatype/geopoint.md)
- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: global
- Languages: Common to most languages (common)

## Detection

Regular expression (Python `re`):

```
^-?\d{1,2}\.\d+ -?\d{1,3}\.\d+ -?\d+(?:\.\d+)? \d+(?:\.\d+)?$
```

## Examples

- `11.48131371 5.19336324 461.20001220703125 5.0` — a water point of the Nigeria MDG Information System (NMIS, 2012)
- `9.140918333333333 7.496761666666667 697.0 4.5` — a school of NMIS, accuracy 4.5 m
- `9.14, 7.49` (invalid example) — latitude and longitude separated by a comma
- `53 004 085 616` (invalid example) — an Australian Business Number written in groups

## Metacrafter rules

1 rules: 0 match the field name, 1 match values.

- `odkgeopointvalue` (data, `common/admin_areas.yaml`)

## Supported by tools

- [`metacrafter`](https://registry.apicrafter.io/tool/metacrafter.md)

## Sources

- doc: <https://docs.getodk.org/form-question-types/#location-widgets>
- doc: <https://getodk.github.io/xforms-spec/#data-type:geopoint>
- doc: <https://open.africa/dataset/health-facilities-in-nigeria>

## Quality

Score 85/100. Missing: mapping (Wikidata, Schema.org, ...), translation.

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