---
id: "geojson_geometry_type"
kind: "datatype"
status: "draft"
is_pii: false
categories: ["geo"]
langs: ["common"]
quality: 80
url: "http://registry.apicrafter.io/datatype/geojson_geometry_type"
---

# GeoJSON geometry type (`geojson_geometry_type`)

> **Draft.** Draft records have not been reviewed yet and may be incomplete or wrong; do not treat them as authoritative for legal or compliance decisions.

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.

- Personal data (PII): no
- Categories: Geographic identifiers (geo)
- Countries: global
- Languages: Common to most languages (common)
- Classification: categorical

## Detection

Regular expression (Python `re`):

```
^(?:Point|MultiPoint|LineString|MultiLineString|Polygon|MultiPolygon|GeometryCollection)$
```

## Examples

- `Point`
- `MultiPolygon`
- `LineString`
- `Feature` (invalid example) — GeoJSON object type, not a geometry type
- `point` (invalid example) — Geometry types are case-sensitive

## Translations

- ru: Тип геометрии GeoJSON

## Sources

- doc: <https://www.rfc-editor.org/rfc/rfc7946>

## Quality

Score 80/100. Missing: mapping (Wikidata, Schema.org, ...), detector coverage.

JSON: <http://registry.apicrafter.io/api/v1/datatypes/geojson_geometry_type.json> · Edit: <https://github.com/apicrafter/metacrafter-registry/edit/main/data/datatypes/any/geo/geojson_geometry_type.yaml>
