From 8c7453f99dddd40c3721086954e32dda3ff9e18f Mon Sep 17 00:00:00 2001 From: lewa <lene.wasskog@nibio.no> Date: Thu, 2 May 2024 10:04:31 +0200 Subject: [PATCH] feat: Change range to 10-20 --- mapfile/template.j2 | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/mapfile/template.j2 b/mapfile/template.j2 index 2b5f9ef..7004f2f 100644 --- a/mapfile/template.j2 +++ b/mapfile/template.j2 @@ -66,7 +66,7 @@ WEB <h3>Explanation of parameters</h3> <ul> <li>Warning status = Yellow signifies temperatures below 12°C and low migration risk. Migrations begin at 12°C (orange), and large numbers migrate above 15 °C (red).</li> - <li><span itemprop='temperature'>Maximum air temperature</span> = Areas with daily maximum air temperatures below 12°C are shaded in blue, indicating cooler weather. As temperatures increase, the color shifts gradually to red, with a full red shade marking areas above 22°C. </li> + <li><span itemprop='temperature'>Maximum air temperature</span> = Areas with daily maximum air temperatures below 10°C are shaded in blue, indicating cooler weather. As temperatures increase, the color shifts gradually to red, with a full red shade marking areas above 20°C. </li> </ul> </div> " @@ -195,23 +195,23 @@ LAYER END CLASSITEM "[pixel]" CLASS - NAME "Below 12" - EXPRESSION ([pixel] < 12) + NAME "Below 10" + EXPRESSION ([pixel] < 10) STYLE COLOR 0 0 255 # RGB for blue END END CLASS NAME "Temperature range" - EXPRESSION ([pixel] >= 12 AND [pixel] <= 22) + EXPRESSION ([pixel] >= 10 AND [pixel] <= 20) STYLE - DATARANGE 12 22 + DATARANGE 10 20 COLORRANGE 0 0 255 255 0 0 END END CLASS - NAME "Above 22" - EXPRESSION ([pixel] > 22) + NAME "Above 20" + EXPRESSION ([pixel] > 20) STYLE COLOR 255 0 0 # RGB for red END -- GitLab