GeometryCollection

https://tools.ietf.org/html/rfc7946#section-3.1.8

A GeoJSON object with type "GeometryCollection" is a Geometry object. A GeometryCollection has a member with the name "geometries". The value of "geometries" is an array. Each element of this array is a GeoJSON Geometry object. It is possible for this array to be empty.

interface GeometryCollection {
    bbox?: BBox;
    geometries: (
        | Point
        | Polygon
        | MultiPolygon
        | LineString
        | MultiLineString
        | MultiPoint
    )[];
    type: "GeometryCollection";
}

Hierarchy (View Summary)

Properties

Properties

bbox?: BBox

Bounding box of the coordinate range of the object's Geometries, Features, or Feature Collections. https://tools.ietf.org/html/rfc7946#section-5

geometries: (
    | Point
    | Polygon
    | MultiPolygon
    | LineString
    | MultiLineString
    | MultiPoint
)[]
type: "GeometryCollection"

Specifies the type of GeoJSON object.