Geometry

@Serializable(with = GeometrySerializer::class)
sealed interface Geometry : GeoJsonObject(source)

A Geometry object represents points, curves, and surfaces in coordinate space.

See RFC 7946 Section 3.1 for the full specification.

Inheritors

Types

Link copied to clipboard
object Companion

Factory methods for creating and serializing Geometry objects.

Properties

Link copied to clipboard
abstract val bbox: BoundingBox?

An optional BoundingBox used to represent the limits of the object's Geometry.