Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
G
Grid ADASMELIAE
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VIPS
Models
GRID
Grid ADASMELIAE
Commits
cfe550d9
Commit
cfe550d9
authored
1 year ago
by
Lene Wasskog
Browse files
Options
Downloads
Patches
Plain Diff
feat: New color scheme
parent
28b49e26
No related branches found
No related tags found
No related merge requests found
Pipeline
#3766
passed
1 year ago
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
mapfile/template.j2
+9
-9
9 additions, 9 deletions
mapfile/template.j2
with
9 additions
and
9 deletions
mapfile/template.j2
+
9
−
9
View file @
cfe550d9
...
...
@@ -121,12 +121,12 @@ LAYER
{
\"classification\": 2,
\"legendLabel\": \"{{ language.low_risk }}\",
\"legendIconCSS\": \"width: 25px; background-color: #FF
CC
00;\"
\"legendIconCSS\": \"width: 25px; background-color: #FF
DF
00;\"
},
{
\"classification\": 3,
\"legendLabel\": \"{{ language.medium_risk }}\",
\"legendIconCSS\": \"width: 25px; background-color: #FF
CC99
;\"
\"legendIconCSS\": \"width: 25px; background-color: #FF
8C00
;\"
},
{
\"classification\": 4,
...
...
@@ -146,21 +146,21 @@ LAYER
NAME "Low infection risk"
EXPRESSION ([pixel] >= 0 AND [pixel] <= 2)
STYLE
COLOR 255 2
04 0
COLOR 255 2
23 0 # Yellow
END
END
CLASS
NAME "Medium infection risk"
EXPRESSION ([pixel] > 2 AND [pixel] <= 3)
STYLE
COLOR 255 1
53 0
COLOR 255 1
40 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
, #0000
FF
);\"
\"legendIconCSS\": \"width: 25px; background: linear-gradient(to right, #
0000FF
, #
FF
0000);\"
}
]
}
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment