geoview-core - v2.3.0
    Preparing search index...

    Function getGeotiffPaletteStyle

    • Builds a WebGLTile style that renders band 1 through an embedded GeoTIFF color palette.

      The nodata index (0) is made fully transparent so that pixels outside the data extent do not render as a solid color.

      Parameters

      • palette: RGBA[]

        Array of RGBA color tuples from the GeoTIFF color map

      Returns Style

      The WebGLTile style using the OpenLayers palette expression