Package-level declarations
Core GeoJSON data structures including geometry types (Point, LineString, Polygon, and their Multi- variants), Feature, FeatureCollection, and GeometryCollection with kotlinx.serialization support for JSON.
Types
A Feature object represents a spatially bounded thing.
A FeatureCollection object is a collection of Feature objects. This class implements the Collection interface and can be used as a collection directly. The list of Feature objects contained in this FeatureCollection is also accessible through the features property.
Main entry point for encoding and decoding GeoJsonObject objects.
A GeoJsonObject represents a Geometry, Feature, or FeatureCollection.
A Geometry object represents points, curves, and surfaces in coordinate space.
A GeometryCollection contains multiple, heterogeneous Geometry objects.
A LineString geometry represents a curve in coordinate space with two or more Position objects.
A Geometry that contains a single or multiple curves, i.e. a union type for LineString and MultiLineString.
A Geometry that contains multiple homogenous points, curves, or surfaces, i.e. a union type for MultiPoint, MultiLineString, and MultiPolygon.
A MultiLineString geometry represents multiple curves in coordinate space.
A MultiPoint geometry represents multiple points in coordinate space.
A MultiPolygon geometry represents multiple surfaces in coordinate space.
A Geometry that contains a single or multiple points, i.e. a union type for Point and MultiPoint.
A Polygon geometry represents a surface in coordinate space bounded by linear rings.
A Geometry that contains a single or multiple surfaces, i.e. a union type for Polygon and MultiPolygon.
Marks GeoJSON API that should be used with caution.
A Geometry that contains a single point, curve, or surface, i.e. a union type for Point, LineString, and Polygon.
Functions
Converts this GeoJsonObject to a JSON string representation.