Datatypes › Geographic identifiers

ODK geopoint

ID odk_geopoint

DatatypeNot PIIDraft

This record is a draft: it has not been reviewed yet and may be incomplete or wrong. Do not rely on it for compliance decisions. Help improve it (see CONTRIBUTING.md).

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 geopoint
Categories
Geographic identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
85/100 · missing: mapping (Wikidata, Schema.org, ...), translation
Metacrafter rules
1 rule (0 by field name, 1 by value)
Supported by tools
metacrafter

Regular expression

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

Python re syntax.

Test a value

Examples

ValueDescription
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 latitude and longitude separated by a comma
53 004 085 616 invalid an Australian Business Number written in groups

Sources

Use this record