Datatypes

Opendatasoft geographic point (geo_point_2d)

ID geo_point_2d

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

Geographic point stored in the geo_point_2d field type of the Opendatasoft data platform (now Huwise), which runs many French and other European open data portals. Datasets often keep the default field name geo_point_2d, usually next to a geo_shape field with the full geometry of the record. The point is a latitude and a longitude in decimal degrees. The Explore API v2.1 returns it as a JSON object with lon and lat members. CSV exports write the latitude, a comma and a space, then the longitude, and the legacy Records API v1 returns a [latitude, longitude] array. This latitude-first order is the opposite of GeoJSON.

Parent datatype
Geopoint geopoint
Categories
Geographic identifiers
Countries
Global (not tied to a country)
Languages
Common to most languages
Quality
80/100 · missing: mapping (Wikidata, Schema.org, ...), detector coverage
Metacrafter rules
no detection rule yet
Supported by tools
no tool record lists this type yet

Regular expression

^(?:-?\d{1,2}(?:\.\d+)?, ?-?\d{1,3}(?:\.\d+)?|\[\s*-?\d{1,2}(?:\.\d+)?\s*,\s*-?\d{1,3}(?:\.\d+)?\s*\]|\{\s*"lon"\s*:\s*-?\d{1,3}(?:\.\d+)?\s*,\s*"lat"\s*:\s*-?\d{1,2}(?:\.\d+)?\s*\}|\{\s*"lat"\s*:\s*-?\d{1,2}(?:\.\d+)?\s*,\s*"lon"\s*:\s*-?\d{1,3}(?:\.\d+)?\s*\})$

Python re syntax.

Examples

ValueDescription
{"lon": 55.51277383144647, "lat": -21.354091540437363}Explore API v2.1 JSON, pedestrian crossings on the national roads of La Réunion
-21.152200178649892, 55.280328656208845CSV export of the same dataset, latitude first
[16.1990956313132, -61.54086081933653]Records API v1, Guadeloupe in the georef-france-region dataset, latitude first
{"type": "Point", "coordinates": [55.51277383144647, -21.354091540437363]} invalidGeoJSON geometry, which is the geo_shape form
POINT (55.51277383144647 -21.354091540437363) invalidWKT, not a geo_point_2d value

Translations

LanguageNameDescription
FrenchPoint géographique Opendatasoft (geo_point_2d)
RussianГеографическая точка Opendatasoft (geo_point_2d)

Sources

Use this record