GeoJSON geometry
ID geojson
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).
Geometry, feature or feature collection written in GeoJSON (RFC 7946), the JSON format for geographic data. Positions are longitude first, then latitude, in WGS 84.
- Categories
- Geographic identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- FTA
SPATIAL.GEOJSON- Quality
- 100/100
- Metacrafter rules
- no detection rule yet
- Supported by tools
- csv-detective, FTA (Fast Text Analysis)
Regular expression
^\{.*"type"\s*:\s*"(?:Point|MultiPoint|LineString|MultiLineString|Polygon|MultiPolygon|GeometryCollection|Feature|FeatureCollection)".*\}$
Python re syntax.
Examples
| Value | Description |
|---|---|
| {"type": "Point", "coordinates": [30.5234, 50.4501]} | a point (longitude, latitude) |
| {"type": "LineString", "coordinates": [[30.0, 10.0], [10.0, 30.0], [40.0, 40.0]]} | a line |
| POINT (30.5234 50.4501) invalid | WKT, not GeoJSON |
Child datatypes
| ID | Name | Categories | Countries | Description |
|---|---|---|---|---|
| geo_shape | Opendatasoft geographic shape (geo_shape) draft | geo | global | Geometry stored in the geo_shape field type of the Opendatasoft data platform (now Huwise), which runs many French and other European... |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Геометрия GeoJSON |
Sources
- wikipedia: https://en.wikipedia.org/wiki/GeoJSON
- doc: https://datatracker.ietf.org/doc/html/rfc7946
- other: https://github.com/tsegall/fta/blob/main/SemanticTypes.md
Use this record
- Page URL:
http://registry.apicrafter.io/datatype/geojson - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/geojson.yamlon GitHub