Skip to content
Snippets Groups Projects
Commit 28b49e26 authored by Lene Wasskog's avatar Lene Wasskog
Browse files

feat: Display values below/above range as yellow/blue

parent 37d1b91e
No related branches found
No related tags found
No related merge requests found
Pipeline #3764 passed
......@@ -65,7 +65,7 @@ WEB
</p>
<h3>Explanation of parameters</h3>
<ul>
<li>temperature = <span itemprop='temperature'>Maximum Air Temperature at 2m</span></li>
<li>temperature = <span itemprop='temperature'>Maximum Air Temperature</span></li>
</ul>
</div>
"
......@@ -193,6 +193,13 @@ LAYER
{% endfor %}
END
CLASSITEM "[pixel]"
CLASS
NAME "Below 10"
EXPRESSION ([pixel] < 10)
STYLE
COLOR 255 255 0 # RGB for Yellow
END
END
CLASS
NAME "Temperature range"
EXPRESSION ([pixel] >= 10 AND [pixel] <= 25)
......@@ -201,7 +208,13 @@ LAYER
COLORRANGE 255 255 0 0 0 255
END
END
CLASS
NAME "Above 25"
EXPRESSION ([pixel] > 25)
STYLE
COLOR 0 0 255 # RGB for Blue
END
END
END # Layer
{% endfor %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment