GeometryJSON
Last edit: Oct 13, 2026
GeoJSON geometry object (https://tools.ietf.org/html/rfc7946) given as an input
object with type and coordinates. Supported types: Point [lng, lat], MultiPoint
[[lng, lat], ...], LineString [[lng, lat], ...] and Polygon [[[lng, lat], ...]],
with longitude first. Point example: {"type": "Point", "coordinates": [100.0,
0.0]}, Polygon example: {"type": "Polygon", "coordinates": [[[100.0, 0.0],
[101.0, 0.0], [101.0, 1.0], [100.0, 1.0], [100.0, 0.0]]]}. Invalid coordinates
or another type return an error
scalar GeometryJSON