wasm-spatial-core
    Preparing search index...

    Class GeotiffInfo

    Parsed GeoTIFF ready for WASM consumption.

    Index
    bounds: Float64Array

    Geographic bounds as Float64Array: [min_lng, min_lat, max_lng, max_lat].

    crs: string

    CRS information as JSON string.

    elevation: Float32Array

    Elevation values as Float32Array (row-major, width*height).

    height: number

    Image height in pixels.

    resolution: number

    Resolution in degrees per pixel.

    tile_count: number

    Number of tiles (if tiled TIFF), otherwise 0.

    width: number

    Image width in pixels.

    • Get elevation for a specific strip (swath). Returns Float32Array. For strip-organized images, swath_index selects a strip. For the full elevation grid, just use elevation().

      Parameters

      • swath_index: number

      Returns Float32Array