# Raster styling methods

Ellipsis Drive has made it easy to style your raster data :rainbow:

{% embed url="<https://www.loom.com/share/2d9d742f3392457f95062e95f67b1db3>" %}

Just open a raster layer as show above and start using the styling methods described below :point\_down:

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> Channel-based styling (channelMap)</summary>

This method defines the color channels of the visualization based on the bands in the raster. For example, defining the Red Channel as Band 1, the Green Channel as Band 2 and the Blue Channel as Band 3. It's also possible to write free expressions using the bands, which creates a lot of freedom and flexibility to fine tune your visualisation.

<figure><img src="https://4037685487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mif-_hRu2c99bPrpzIH%2Fuploads%2FCJGCUcpNsIsQSDzH9YBF%2FScreenshot%202025-08-21%20at%2017.39.00.png?alt=media&#x26;token=4b7845c7-597c-4e39-970e-6882344545b0" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> Range-based styling (rangeMap)</summary>

This method maps an expression to a color depending on the range in which the value falls. The expression can simply be a band but also a custom expression, creating more freedom and flexibility to fine tune your visualisation. This can for example be used to create heat maps or intuitively visualize altitude.

<figure><img src="https://4037685487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mif-_hRu2c99bPrpzIH%2Fuploads%2FWWRIlc0urF8VBGCnbqvM%2FScreenshot%202025-08-21%20at%2017.44.11.png?alt=media&#x26;token=fc328d3d-73a7-4746-aaa8-119f60d45f8e" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> Value-based styling (valueMap)</summary>

This method defines the visualisation based on an expression. The results of this expression are clipped to an integer and assigned a color. This can for example be used for raster data that contains classifications. Each class corresponds with a number, which can be assigned a color.

<figure><img src="https://4037685487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mif-_hRu2c99bPrpzIH%2Fuploads%2FM6an9ffn7chVFhxbUQPP%2FScreenshot%202025-08-21%20at%2017.58.28.png?alt=media&#x26;token=b3c8fd6d-209f-4edc-8f58-9e31b76cb9eb" alt=""><figcaption></figcaption></figure>

</details>

<details>

<summary><span data-gb-custom-inline data-tag="emoji" data-code="1f7e0">🟠</span> Condition-based styling (caseMap)</summary>

This method assigns colors based on conditions. These condations can be defined with free expressions for full flexiblity.&#x20;

<figure><img src="https://4037685487-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Mif-_hRu2c99bPrpzIH%2Fuploads%2FDOWJ5Ds9VwPNChKA9hkk%2FScreenshot%202025-08-21%20at%2018.05.30.png?alt=media&#x26;token=accfc8b8-3530-4c8c-81e3-81bdaedd5cb7" alt=""><figcaption></figcaption></figure>

</details>
