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

feat: New color scheme

parent 28b49e26
No related branches found
No related tags found
No related merge requests found
Pipeline #3766 passed
...@@ -121,12 +121,12 @@ LAYER ...@@ -121,12 +121,12 @@ LAYER
{ {
\"classification\": 2, \"classification\": 2,
\"legendLabel\": \"{{ language.low_risk }}\", \"legendLabel\": \"{{ language.low_risk }}\",
\"legendIconCSS\": \"width: 25px; background-color: #FFCC00;\" \"legendIconCSS\": \"width: 25px; background-color: #FFDF00;\"
}, },
{ {
\"classification\": 3, \"classification\": 3,
\"legendLabel\": \"{{ language.medium_risk }}\", \"legendLabel\": \"{{ language.medium_risk }}\",
\"legendIconCSS\": \"width: 25px; background-color: #FFCC99;\" \"legendIconCSS\": \"width: 25px; background-color: #FF8C00;\"
}, },
{ {
\"classification\": 4, \"classification\": 4,
...@@ -146,21 +146,21 @@ LAYER ...@@ -146,21 +146,21 @@ LAYER
NAME "Low infection risk" NAME "Low infection risk"
EXPRESSION ([pixel] >= 0 AND [pixel] <= 2) EXPRESSION ([pixel] >= 0 AND [pixel] <= 2)
STYLE STYLE
COLOR 255 204 0 COLOR 255 223 0 # Yellow
END END
END END
CLASS CLASS
NAME "Medium infection risk" NAME "Medium infection risk"
EXPRESSION ([pixel] > 2 AND [pixel] <= 3) EXPRESSION ([pixel] > 2 AND [pixel] <= 3)
STYLE STYLE
COLOR 255 153 0 COLOR 255 140 0 # Orange
END END
END END
CLASS CLASS
NAME "High infection risk" NAME "High infection risk"
EXPRESSION ([pixel] > 3) EXPRESSION ([pixel] > 3)
STYLE STYLE
COLOR 255 0 0 COLOR 255 0 0 # Red
END END
END END
END # Layer END # Layer
...@@ -185,7 +185,7 @@ LAYER ...@@ -185,7 +185,7 @@ LAYER
\"legendItems\": [ \"legendItems\": [
{ {
\"legendLabel\": \"{{ language.temperature }}\", \"legendLabel\": \"{{ language.temperature }}\",
\"legendIconCSS\": \"width: 25px; background: linear-gradient(to right, #FFFF00, #0000FF);\" \"legendIconCSS\": \"width: 25px; background: linear-gradient(to right, #0000FF, #FF0000);\"
} }
] ]
} }
...@@ -197,7 +197,7 @@ LAYER ...@@ -197,7 +197,7 @@ LAYER
NAME "Below 10" NAME "Below 10"
EXPRESSION ([pixel] < 10) EXPRESSION ([pixel] < 10)
STYLE STYLE
COLOR 255 255 0 # RGB for Yellow COLOR 0 0 255 # RGB for blue
END END
END END
CLASS CLASS
...@@ -205,14 +205,14 @@ LAYER ...@@ -205,14 +205,14 @@ LAYER
EXPRESSION ([pixel] >= 10 AND [pixel] <= 25) EXPRESSION ([pixel] >= 10 AND [pixel] <= 25)
STYLE STYLE
DATARANGE 10 25 DATARANGE 10 25
COLORRANGE 255 255 0 0 0 255 COLORRANGE 0 0 255 255 0 0
END END
END END
CLASS CLASS
NAME "Above 25" NAME "Above 25"
EXPRESSION ([pixel] > 25) EXPRESSION ([pixel] > 25)
STYLE STYLE
COLOR 0 0 255 # RGB for Blue COLOR 255 0 0 # RGB for red
END END
END END
END # Layer END # Layer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment