gis-tools-ts - v0.6.0
    Preparing search index...

    Class RasterTileReader<T, P>

    Raster Tile Reader

    Type Parameters

    Implements

    Index

    Constructors

    Properties

    Methods

    Constructors

    • Type Parameters

      Parameters

      • zoom: number

        the zoom level of the tile

      • x: number

        the x coordinate of the tile

      • y: number

        the y coordinate of the tile

      • image: ImageData

        the raw RGB(A) image data

      • tmsStyle: boolean = false

        if true, the y is inverted

      • Optionalconverter: ElevationConverter

        the elevation converter (if provided its not an RGBA image but rather elevation data)

      Returns RasterTileReader<T, P>

    Properties

    converter?: ElevationConverter

    the elevation converter (if provided its not an RGBA image but rather elevation data)

    image: ImageData

    the raw RGB(A) image data

    tmsStyle: boolean = false

    if true, the y is inverted

    x: number

    the x coordinate of the tile

    y: number

    the y coordinate of the tile

    zoom: number

    the zoom level of the tile

    Methods

    • Iterate over all tiles in the archive

      Returns AsyncGenerator<VectorFeature<TileMetadata, T, P>>

      • the each of the tile's pixel RGBA data as lon-lat coordinates with the RGBA as m-values