geopackage-ts
    Preparing search index...

    Interface MultiPolygon

    Represents a collection of Polygon geometries.

    const mpoly: MultiPolygon = {
    type: 'MultiPolygon',
    hasZ: false,
    hasM: false,
    polygons: [
    { type: 'Polygon', hasZ: false, hasM: false, rings: [[0, 0, 1, 0, 1, 1, 0, 0]] },
    ],
    };
    interface MultiPolygon {
        hasM: boolean;
        hasZ: boolean;
        polygons: Polygon[];
        type: "MultiPolygon";
    }
    Index

    Properties

    Properties

    hasM: boolean

    Whether the geometry includes M (measure) values.

    hasZ: boolean

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

    polygons: Polygon[]

    The array of Polygon geometries contained in this collection.

    type: "MultiPolygon"

    Discriminant literal identifying this geometry as a MultiPolygon.