Datatypes › Geographic identifiers
GeoJSON geometry type
ID geojson_geometry_type
DatatypeNot PIIcategoricalDraft
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).
Value of the type member of a GeoJSON geometry object. RFC 7946 defines seven case-sensitive geometry types - Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon and GeometryCollection. Tabular datasets often keep it in a column next to the coordinates, for example geoData.type in the datasets of the Moscow open data portal.
- Categories
- Geographic identifiers
- Countries
- Global (not tied to a country)
- Languages
- Common to most languages
- Quality
- 90/100 · missing: mapping (Wikidata, Schema.org, ...)
- Metacrafter rules
- 1 rule (1 by field name, 0 by value)
geojsongeometrytypebynamefield, common/geo.yaml
- Supported by tools
- metacrafter
Regular expression
^(?:Point|MultiPoint|LineString|MultiLineString|Polygon|MultiPolygon|GeometryCollection)$
Python re syntax.
Test a value
Examples
| Value | Description |
|---|---|
| Point | |
| MultiPolygon | |
| LineString | |
| Feature invalid | GeoJSON object type, not a geometry type |
| point invalid | Geometry types are case-sensitive |
Translations
| Language | Name | Description |
|---|---|---|
| Russian | Тип геометрии GeoJSON |
Sources
Use this record
- Page URL:
https://registry.apicrafter.io/datatype/geojson_geometry_type - JSON: API v1 · legacy shape (used by metacrafter) · Markdown (for LLMs)
- Improve it: edit
data/datatypes/any/geo/geojson_geometry_type.yamlon GitHub