Opendatasoft geographic shape (geo_shape)
ID geo_shape
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).
Geometry stored in the geo_shape 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_shape, usually next to a geo_point_2d field with a point of the same record. The value is GeoJSON, so positions are longitude first, then latitude. The Explore API v2.1 returns a GeoJSON Feature whose geometry member holds the shape and whose properties member is empty. CSV exports write the bare geometry object instead. One value holds one geometry of any GeoJSON type, such as Point, LineString, Polygon or MultiPolygon.
- Parent datatype
- GeoJSON geometry
geojson - 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
^\{.*"type"\s*:\s*"(?:Feature|Point|MultiPoint|LineString|MultiLineString|Polygon|MultiPolygon|GeometryCollection)".*\}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| {"type": "Feature", "geometry": {"coordinates": [55.51277383144647, -21.354091540437363], "type": "Point"}, "properties": {}} | Explore API v2.1 JSON, pedestrian crossings on the national roads of La Réunion |
| {"coordinates": [55.280328656208845, -21.152200178649892], "type": "Point"} | CSV export of the same dataset, bare geometry |
| {"type": "Feature", "geometry": {"coordinates": [[[-2.181727156897353, 47.29847256203905], [-2.181948973690747, 47.29831385193075], [-2.181949432895089, 47.298313937858104], [-2.181727262249872, 47.29847263672119], [-2.181727156897353, 47.29847256203905]]], "type": "Polygon"}, "properties": {}} | Explore API v2.1 JSON, land use parcel in Loire-Atlantique |
| {"lon": 55.51277383144647, "lat": -21.354091540437363} invalid | geo_point_2d object, not a geometry |
| POINT (55.51277383144647 -21.354091540437363) invalid | WKT, not GeoJSON |
Translations
| Language | Name | Description |
|---|---|---|
| French | Forme géographique Opendatasoft (geo_shape) | |
| Russian | Географическая форма Opendatasoft (geo_shape) |
Sources
- doc: https://help.opendatasoft.com/apis/ods-explore-v2/explore_v2.1.html
- doc: https://datatracker.ietf.org/doc/html/rfc7946
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/geo_shape - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/geo_shape.yamlon GitHub