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
{
\"classification\": 2,
\"legendLabel\": \"{{ language.low_risk }}\",
\"legendIconCSS\": \"width: 25px; background-color: #FFCC00;\"
\"legendIconCSS\": \"width: 25px; background-color: #FFDF00;\"
},
{
\"classification\": 3,
\"legendLabel\": \"{{ language.medium_risk }}\",
\"legendIconCSS\": \"width: 25px; background-color: #FFCC99;\"
\"legendIconCSS\": \"width: 25px; background-color: #FF8C00;\"
},
{
\"classification\": 4,
......@@ -146,21 +146,21 @@ LAYER
NAME "Low infection risk"
EXPRESSION ([pixel] >= 0 AND [pixel] <= 2)
STYLE
COLOR 255 204 0
COLOR 255 223 0 # Yellow
END
END
CLASS
NAME "Medium infection risk"
EXPRESSION ([pixel] > 2 AND [pixel] <= 3)
STYLE
COLOR 255 153 0
COLOR 255 140 0 # Orange
END
END
CLASS
NAME "High infection risk"
EXPRESSION ([pixel] > 3)
STYLE
COLOR 255 0 0
COLOR 255 0 0 # Red
END
END
END # Layer
......@@ -185,7 +185,7 @@ LAYER
\"legendItems\": [
{
\"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
NAME "Below 10"
EXPRESSION ([pixel] < 10)
STYLE
COLOR 255 255 0 # RGB for Yellow
COLOR 0 0 255 # RGB for blue
END
END
CLASS
......@@ -205,14 +205,14 @@ LAYER
EXPRESSION ([pixel] >= 10 AND [pixel] <= 25)
STYLE
DATARANGE 10 25
COLORRANGE 255 255 0 0 0 255
COLORRANGE 0 0 255 255 0 0
END
END
CLASS
NAME "Above 25"
EXPRESSION ([pixel] > 25)
STYLE
COLOR 0 0 255 # RGB for Blue
COLOR 255 0 0 # RGB for red
END
END
END # Layer
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment