diff --git a/mapfile/template.j2 b/mapfile/template.j2 index fcf411db292f53508fd2641367fbba76bfc0da25..b58a9fe1b3a407a03c84884e8f466e5b65001d66 100644 --- a/mapfile/template.j2 +++ b/mapfile/template.j2 @@ -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 %}