geopackage-ts
    Preparing search index...

    Interface Envelope

    An axis-aligned bounding box (envelope) that encloses a geometry.

    The envelope always includes X and Y extents. Z and M extents are included when the source geometry carries Z or M values, respectively.

    const env: Envelope = {
    minX: -180, maxX: 180,
    minY: -90, maxY: 90,
    hasZ: false, hasM: false,
    };
    interface Envelope {
        hasM: boolean;
        hasZ: boolean;
        maxM?: number;
        maxX: number;
        maxY: number;
        maxZ?: number;
        minM?: number;
        minX: number;
        minY: number;
        minZ?: number;
    }
    Index

    Properties

    hasM: boolean

    Whether this envelope includes M (measure) extents.

    hasZ: boolean

    Whether this envelope includes Z (elevation/altitude) extents.

    maxM?: number

    Maximum M value, present only when hasM is true.

    maxX: number

    Maximum X (longitude / easting) value of the bounding box.

    maxY: number

    Maximum Y (latitude / northing) value of the bounding box.

    maxZ?: number

    Maximum Z value, present only when hasZ is true.

    minM?: number

    Minimum M value, present only when hasM is true.

    minX: number

    Minimum X (longitude / easting) value of the bounding box.

    minY: number

    Minimum Y (latitude / northing) value of the bounding box.

    minZ?: number

    Minimum Z value, present only when hasZ is true.