geopackage-ts
    Preparing search index...

    Interface GeometryCollection

    Represents a heterogeneous collection of Geometry objects.

    A GeometryCollection can contain any mix of geometry types, including other GeometryCollections.

    const gc: GeometryCollection = {
    type: 'GeometryCollection',
    hasZ: false,
    hasM: false,
    geometries: [
    { type: 'Point', hasZ: false, hasM: false, coordinates: [0, 0] },
    { type: 'LineString', hasZ: false, hasM: false, coordinates: [0, 0, 1, 1] },
    ],
    };
    interface GeometryCollection {
        geometries: Geometry[];
        hasM: boolean;
        hasZ: boolean;
        type: "GeometryCollection";
    }
    Index

    Properties

    geometries: Geometry[]

    The array of child Geometry objects in this collection.

    hasM: boolean

    Whether the geometry includes M (measure) values.

    hasZ: boolean

    Whether the geometry includes Z (elevation/altitude) values.

    type: "GeometryCollection"

    Discriminant literal identifying this geometry as a GeometryCollection.