πŸ–ŒοΈStyle raster data

Overview

Raster styling defines how raster data is visually rendered in the viewer.

It does not modify the underlying dataset, only its visual representation.

A video walkthrough is available below.


Applying styles

To style a raster layer, open the layer in the viewer and access the styling configuration.

Raster styling is based on raster bands and expressions applied to pixel values.


Styling methods

chevron-right🟠 Channel-based styling (channelMap)hashtag

Channel-based styling defines how raster bands are mapped to visual color channels.

For example:

  • Red channel β†’ Band 1

  • Green channel β†’ Band 2

  • Blue channel β†’ Band 3

You can also define custom expressions using raster bands to control how values are visualised.

This method is commonly used for true color or false color imagery.

chevron-right🟠 Range-based styling (rangeMap)hashtag

Range-based styling assigns colors based on the range in which a computed value falls.

The input can be:

  • a single raster band

  • or a custom expression combining multiple bands

This method is commonly used for continuous data such as elevation, temperature or intensity values.

chevron-right🟠 Value-based styling (valueMap)hashtag

Value-based styling assigns colors to discrete output values derived from a raster expression.

Values are evaluated per pixel and mapped to specific colors.

This is typically used for:

  • raster data containing classifications

  • categorical outputs

  • segmented analysis results

chevron-right🟠 Condition-based styling (caseMap)hashtag

Condition-based styling applies colors based on logical conditions.

Conditions can be defined using expressions that evaluate raster values.

This method is useful for rule-based visualisation, where different scenarios are represented with distinct styles.

circle-info

Key concept

Raster styling operates on pixel values and expressions, not on vector-like features.

It defines how data is rendered, not how it is stored or processed.

Last updated