From feedb5d125040aa795c513d3ae7922d7e65ee3b1 Mon Sep 17 00:00:00 2001
From: simondreutter <simon.dreutter@awi.de>
Date: Thu, 26 Aug 2021 15:42:39 +0200
Subject: [PATCH] fixed transparency issue in styles

---
 styles/README.md                            |  2 +-
 styles/color_palettes/basemap_bright.txt    |  2 +-
 styles/color_palettes/basemap_dark.txt      |  2 +-
 styles/color_palettes/basemap_default.txt   |  2 +-
 styles/color_palettes/basemap_legacy.txt    |  2 +-
 styles/qml_layer_styles/basemap_bright.qml  | 73 +++++++++++-------
 styles/qml_layer_styles/basemap_dark.qml    | 73 +++++++++++-------
 styles/qml_layer_styles/basemap_default.qml | 73 +++++++++++-------
 styles/qml_layer_styles/basemap_legacy.qml  | 83 +++++++++++++--------
 9 files changed, 198 insertions(+), 114 deletions(-)

diff --git a/styles/README.md b/styles/README.md
index 061bc34..2420289 100644
--- a/styles/README.md
+++ b/styles/README.md
@@ -24,4 +24,4 @@ As mentioned in the README/Description, the AWI Basemap colors are based on the
 | 1000      | 179/179/179 | 179/179/179 | 179/179/179 |
 | 10000     | 153/153/153 | 153/153/153 | 153/153/153 |
 | 20000     | 242/242/242 | 242/242/242 | 242/242/242 |
-| 30000     | 255/255/255 | 255/255/255 | 255/255/255 |
+| 30000     | 254/254/254 | 254/254/254 | 254/254/254 |
diff --git a/styles/color_palettes/basemap_bright.txt b/styles/color_palettes/basemap_bright.txt
index 229674e..c7670fc 100644
--- a/styles/color_palettes/basemap_bright.txt
+++ b/styles/color_palettes/basemap_bright.txt
@@ -8,4 +8,4 @@
 1000 179 179 179 255
 10000 153 153 153 255
 20000 242 242 242 255
-30000 255 255 255 255
\ No newline at end of file
+30000 254 254 254 255
diff --git a/styles/color_palettes/basemap_dark.txt b/styles/color_palettes/basemap_dark.txt
index 9dfd098..33d14bf 100644
--- a/styles/color_palettes/basemap_dark.txt
+++ b/styles/color_palettes/basemap_dark.txt
@@ -8,4 +8,4 @@
 1000 179 179 179 255
 10000 153 153 153 255
 20000 242 242 242 255
-30000 255 255 255 255
+30000 254 254 254 255
diff --git a/styles/color_palettes/basemap_default.txt b/styles/color_palettes/basemap_default.txt
index 901d028..6f62d15 100644
--- a/styles/color_palettes/basemap_default.txt
+++ b/styles/color_palettes/basemap_default.txt
@@ -8,4 +8,4 @@
 1000 179 179 179 255
 10000 153 153 153 255
 20000 242 242 242 255
-30000 255 255 255 255
+30000 254 254 254 255
diff --git a/styles/color_palettes/basemap_legacy.txt b/styles/color_palettes/basemap_legacy.txt
index 5afb17e..c158a07 100644
--- a/styles/color_palettes/basemap_legacy.txt
+++ b/styles/color_palettes/basemap_legacy.txt
@@ -18,4 +18,4 @@
 1000 179 179 179 255
 10000 153 153 153 255
 20000 242 242 242 255
-30000 255 255 255 255
+30000 254 254 254 255
diff --git a/styles/qml_layer_styles/basemap_bright.qml b/styles/qml_layer_styles/basemap_bright.qml
index 2990450..d9554d9 100644
--- a/styles/qml_layer_styles/basemap_bright.qml
+++ b/styles/qml_layer_styles/basemap_bright.qml
@@ -1,27 +1,28 @@
 <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
-<qgis maxScale="0" minScale="1e+08" hasScaleBasedVisibilityFlag="0" version="3.16.1-Hannover" styleCategories="AllStyleCategories">
+<qgis version="3.18.3-Zürich" hasScaleBasedVisibilityFlag="0" maxScale="0" minScale="1e+08" styleCategories="AllStyleCategories">
   <flags>
     <Identifiable>1</Identifiable>
     <Removable>1</Removable>
     <Searchable>1</Searchable>
+    <Private>0</Private>
   </flags>
-  <temporal enabled="0" mode="0" fetchMode="0">
+  <temporal enabled="0" fetchMode="0" mode="0">
     <fixedRange>
       <start></start>
       <end></end>
     </fixedRange>
   </temporal>
   <customproperties>
-    <property value="false" key="WMSBackgroundLayer"/>
-    <property value="false" key="WMSPublishDataSourceUrl"/>
-    <property value="0" key="embeddedWidgets/count"/>
-    <property value="Value" key="identify/format"/>
+    <property key="WMSBackgroundLayer" value="false"/>
+    <property key="WMSPublishDataSourceUrl" value="false"/>
+    <property key="embeddedWidgets/count" value="0"/>
+    <property key="identify/format" value="Value"/>
   </customproperties>
   <pipe>
     <provider>
-      <resampling maxOversampling="2" enabled="false" zoomedOutResamplingMethod="nearestNeighbour" zoomedInResamplingMethod="nearestNeighbour"/>
+      <resampling enabled="false" zoomedOutResamplingMethod="nearestNeighbour" zoomedInResamplingMethod="nearestNeighbour" maxOversampling="2"/>
     </provider>
-    <rasterrenderer classificationMin="-12000" nodataColor="" classificationMax="30000" opacity="1" band="1" alphaBand="-1" type="singlebandpseudocolor">
+    <rasterrenderer classificationMax="30000" type="singlebandpseudocolor" opacity="1" alphaBand="-1" classificationMin="-12000" nodataColor="" band="1">
       <rasterTransparency/>
       <minMaxOrigin>
         <limits>None</limits>
@@ -32,30 +33,50 @@
         <stdDevFactor>2</stdDevFactor>
       </minMaxOrigin>
       <rastershader>
-        <colorrampshader clip="0" minimumValue="-12000" maximumValue="30000" labelPrecision="0" colorRampType="INTERPOLATED" classificationMode="1">
-          <colorramp name="[source]" type="gradient">
-            <prop v="0,62,110,255" k="color1"/>
-            <prop v="247,251,255,255" k="color2"/>
+        <colorrampshader minimumValue="-12000" labelPrecision="0" maximumValue="30000" classificationMode="1" colorRampType="INTERPOLATED" clip="0">
+          <colorramp type="gradient" name="[source]">
+            <Option type="Map">
+              <Option type="QString" value="0,36,64,255" name="color1"/>
+              <Option type="QString" value="254,254,254,255" name="color2"/>
+              <Option type="QString" value="0" name="discrete"/>
+              <Option type="QString" value="gradient" name="rampType"/>
+              <Option type="QString" value="0.142857;0,62,110,255:0.261905;7,172,231,255:0.285476;191,239,255,255:0.285619;255,255,255,255:0.285833;230,230,230,255:0.288095;204,204,204,255:0.309524;179,179,179,255:0.52381;153,153,153,255:0.761905;242,242,242,255" name="stops"/>
+            </Option>
+            <prop v="0,36,64,255" k="color1"/>
+            <prop v="254,254,254,255" k="color2"/>
             <prop v="0" k="discrete"/>
             <prop v="gradient" k="rampType"/>
-            <prop v="0.5;7,172,231,255" k="stops"/>
+            <prop v="0.142857;0,62,110,255:0.261905;7,172,231,255:0.285476;191,239,255,255:0.285619;255,255,255,255:0.285833;230,230,230,255:0.288095;204,204,204,255:0.309524;179,179,179,255:0.52381;153,153,153,255:0.761905;242,242,242,255" k="stops"/>
           </colorramp>
-          <item value="-12000" alpha="255" color="#002440" label="-12000"/>
-          <item value="-6000" alpha="255" color="#003e6e" label="-6000"/>
-          <item value="-1000" alpha="255" color="#07ace7" label="-1000"/>
-          <item value="-10" alpha="255" color="#bfefff" label="-10"/>
-          <item value="-4" alpha="255" color="#ffffff" label="-4"/>
-          <item value="5" alpha="255" color="#e6e6e6" label="5"/>
-          <item value="100" alpha="255" color="#cccccc" label="100"/>
-          <item value="1000" alpha="255" color="#b3b3b3" label="1000"/>
-          <item value="10000" alpha="255" color="#999999" label="10000"/>
-          <item value="20000" alpha="255" color="#f2f2f2" label="Shelf Ice"/>
-          <item value="30000" alpha="255" color="#ffffff" label="Ice Sheet"/>
+          <item color="#002440" alpha="255" value="-12000" label="-12000"/>
+          <item color="#003e6e" alpha="255" value="-6000" label="-6000"/>
+          <item color="#07ace7" alpha="255" value="-1000" label="-1000"/>
+          <item color="#bfefff" alpha="255" value="-10" label="-10"/>
+          <item color="#ffffff" alpha="255" value="-4" label="-4"/>
+          <item color="#e6e6e6" alpha="255" value="5" label="5"/>
+          <item color="#cccccc" alpha="255" value="100" label="100"/>
+          <item color="#b3b3b3" alpha="255" value="1000" label="1000"/>
+          <item color="#999999" alpha="255" value="10000" label="10000"/>
+          <item color="#f2f2f2" alpha="255" value="20000" label="Shelf Ice"/>
+          <item color="#fefefe" alpha="255" value="30000" label="Ice Sheet"/>
+          <rampLegendSettings useContinuousLegend="1" maximumLabel="" minimumLabel="" direction="0" suffix="" prefix="" orientation="2">
+            <numericFormat id="basic">
+              <Option type="Map">
+                <Option type="QChar" value="" name="decimal_separator"/>
+                <Option type="int" value="6" name="decimals"/>
+                <Option type="int" value="0" name="rounding_type"/>
+                <Option type="bool" value="false" name="show_plus"/>
+                <Option type="bool" value="true" name="show_thousand_separator"/>
+                <Option type="bool" value="false" name="show_trailing_zeros"/>
+                <Option type="QChar" value="" name="thousand_separator"/>
+              </Option>
+            </numericFormat>
+          </rampLegendSettings>
         </colorrampshader>
       </rastershader>
     </rasterrenderer>
-    <brightnesscontrast gamma="1" contrast="0" brightness="0"/>
-    <huesaturation colorizeOn="0" colorizeStrength="100" grayscaleMode="0" colorizeRed="255" saturation="0" colorizeGreen="128" colorizeBlue="128"/>
+    <brightnesscontrast brightness="0" contrast="0" gamma="1"/>
+    <huesaturation colorizeRed="255" grayscaleMode="0" colorizeBlue="128" colorizeGreen="128" colorizeStrength="100" saturation="0" colorizeOn="0"/>
     <rasterresampler maxOversampling="2"/>
     <resamplingStage>resamplingFilter</resamplingStage>
   </pipe>
diff --git a/styles/qml_layer_styles/basemap_dark.qml b/styles/qml_layer_styles/basemap_dark.qml
index fbc16f7..a506152 100644
--- a/styles/qml_layer_styles/basemap_dark.qml
+++ b/styles/qml_layer_styles/basemap_dark.qml
@@ -1,27 +1,28 @@
 <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
-<qgis maxScale="0" minScale="1e+08" hasScaleBasedVisibilityFlag="0" version="3.16.1-Hannover" styleCategories="AllStyleCategories">
+<qgis version="3.18.3-Zürich" hasScaleBasedVisibilityFlag="0" maxScale="0" minScale="1e+08" styleCategories="AllStyleCategories">
   <flags>
     <Identifiable>1</Identifiable>
     <Removable>1</Removable>
     <Searchable>1</Searchable>
+    <Private>0</Private>
   </flags>
-  <temporal enabled="0" mode="0" fetchMode="0">
+  <temporal enabled="0" fetchMode="0" mode="0">
     <fixedRange>
       <start></start>
       <end></end>
     </fixedRange>
   </temporal>
   <customproperties>
-    <property value="false" key="WMSBackgroundLayer"/>
-    <property value="false" key="WMSPublishDataSourceUrl"/>
-    <property value="0" key="embeddedWidgets/count"/>
-    <property value="Value" key="identify/format"/>
+    <property key="WMSBackgroundLayer" value="false"/>
+    <property key="WMSPublishDataSourceUrl" value="false"/>
+    <property key="embeddedWidgets/count" value="0"/>
+    <property key="identify/format" value="Value"/>
   </customproperties>
   <pipe>
     <provider>
-      <resampling maxOversampling="2" enabled="false" zoomedOutResamplingMethod="nearestNeighbour" zoomedInResamplingMethod="nearestNeighbour"/>
+      <resampling enabled="false" zoomedOutResamplingMethod="nearestNeighbour" zoomedInResamplingMethod="nearestNeighbour" maxOversampling="2"/>
     </provider>
-    <rasterrenderer classificationMin="-12000" nodataColor="" classificationMax="30000" opacity="1" band="1" alphaBand="-1" type="singlebandpseudocolor">
+    <rasterrenderer classificationMax="30000" type="singlebandpseudocolor" opacity="1" alphaBand="-1" classificationMin="-12000" nodataColor="" band="1">
       <rasterTransparency/>
       <minMaxOrigin>
         <limits>None</limits>
@@ -32,30 +33,50 @@
         <stdDevFactor>2</stdDevFactor>
       </minMaxOrigin>
       <rastershader>
-        <colorrampshader clip="0" minimumValue="-12000" maximumValue="30000" labelPrecision="0" colorRampType="INTERPOLATED" classificationMode="1">
-          <colorramp name="[source]" type="gradient">
-            <prop v="0,62,110,255" k="color1"/>
-            <prop v="247,251,255,255" k="color2"/>
+        <colorrampshader minimumValue="-12000" labelPrecision="0" maximumValue="30000" classificationMode="1" colorRampType="INTERPOLATED" clip="0">
+          <colorramp type="gradient" name="[source]">
+            <Option type="Map">
+              <Option type="QString" value="48,57,64,255" name="color1"/>
+              <Option type="QString" value="254,254,254,255" name="color2"/>
+              <Option type="QString" value="0" name="discrete"/>
+              <Option type="QString" value="gradient" name="rampType"/>
+              <Option type="QString" value="0.142857;82,98,110,255:0.261905;153,191,204,255:0.285476;225,234,237,255:0.285619;255,255,255,255:0.285833;230,230,230,255:0.288095;204,204,204,255:0.309524;179,179,179,255:0.52381;153,153,153,255:0.761905;242,242,242,255" name="stops"/>
+            </Option>
+            <prop v="48,57,64,255" k="color1"/>
+            <prop v="254,254,254,255" k="color2"/>
             <prop v="0" k="discrete"/>
             <prop v="gradient" k="rampType"/>
-            <prop v="0.5;7,172,231,255" k="stops"/>
+            <prop v="0.142857;82,98,110,255:0.261905;153,191,204,255:0.285476;225,234,237,255:0.285619;255,255,255,255:0.285833;230,230,230,255:0.288095;204,204,204,255:0.309524;179,179,179,255:0.52381;153,153,153,255:0.761905;242,242,242,255" k="stops"/>
           </colorramp>
-          <item value="-12000" alpha="255" color="#303940" label="-12000"/>
-          <item value="-6000" alpha="255" color="#52626e" label="-6000"/>
-          <item value="-1000" alpha="255" color="#99bfcc" label="-1000"/>
-          <item value="-10" alpha="255" color="#e1eaed" label="-10"/>
-          <item value="-4" alpha="255" color="#ffffff" label="-4"/>
-          <item value="5" alpha="255" color="#e6e6e6" label="5"/>
-          <item value="100" alpha="255" color="#cccccc" label="100"/>
-          <item value="1000" alpha="255" color="#b3b3b3" label="1000"/>
-          <item value="10000" alpha="255" color="#999999" label="10000"/>
-          <item value="20000" alpha="255" color="#f2f2f2" label="Shelf Ice"/>
-          <item value="30000" alpha="255" color="#ffffff" label="Ice Sheet"/>
+          <item color="#303940" alpha="255" value="-12000" label="-12000"/>
+          <item color="#52626e" alpha="255" value="-6000" label="-6000"/>
+          <item color="#99bfcc" alpha="255" value="-1000" label="-1000"/>
+          <item color="#e1eaed" alpha="255" value="-10" label="-10"/>
+          <item color="#ffffff" alpha="255" value="-4" label="-4"/>
+          <item color="#e6e6e6" alpha="255" value="5" label="5"/>
+          <item color="#cccccc" alpha="255" value="100" label="100"/>
+          <item color="#b3b3b3" alpha="255" value="1000" label="1000"/>
+          <item color="#999999" alpha="255" value="10000" label="10000"/>
+          <item color="#f2f2f2" alpha="255" value="20000" label="Shelf Ice"/>
+          <item color="#fefefe" alpha="255" value="30000" label="Ice Sheet"/>
+          <rampLegendSettings useContinuousLegend="1" maximumLabel="" minimumLabel="" direction="0" suffix="" prefix="" orientation="2">
+            <numericFormat id="basic">
+              <Option type="Map">
+                <Option type="QChar" value="" name="decimal_separator"/>
+                <Option type="int" value="6" name="decimals"/>
+                <Option type="int" value="0" name="rounding_type"/>
+                <Option type="bool" value="false" name="show_plus"/>
+                <Option type="bool" value="true" name="show_thousand_separator"/>
+                <Option type="bool" value="false" name="show_trailing_zeros"/>
+                <Option type="QChar" value="" name="thousand_separator"/>
+              </Option>
+            </numericFormat>
+          </rampLegendSettings>
         </colorrampshader>
       </rastershader>
     </rasterrenderer>
-    <brightnesscontrast gamma="1" contrast="0" brightness="0"/>
-    <huesaturation colorizeOn="0" colorizeStrength="100" grayscaleMode="0" colorizeRed="255" saturation="0" colorizeGreen="128" colorizeBlue="128"/>
+    <brightnesscontrast brightness="0" contrast="0" gamma="1"/>
+    <huesaturation colorizeRed="255" grayscaleMode="0" colorizeBlue="128" colorizeGreen="128" colorizeStrength="100" saturation="0" colorizeOn="0"/>
     <rasterresampler maxOversampling="2"/>
     <resamplingStage>resamplingFilter</resamplingStage>
   </pipe>
diff --git a/styles/qml_layer_styles/basemap_default.qml b/styles/qml_layer_styles/basemap_default.qml
index 3739518..5faaab5 100644
--- a/styles/qml_layer_styles/basemap_default.qml
+++ b/styles/qml_layer_styles/basemap_default.qml
@@ -1,27 +1,28 @@
 <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
-<qgis maxScale="0" minScale="1e+08" hasScaleBasedVisibilityFlag="0" version="3.16.1-Hannover" styleCategories="AllStyleCategories">
+<qgis version="3.18.3-Zürich" hasScaleBasedVisibilityFlag="0" maxScale="0" minScale="1e+08" styleCategories="AllStyleCategories">
   <flags>
     <Identifiable>1</Identifiable>
     <Removable>1</Removable>
     <Searchable>1</Searchable>
+    <Private>0</Private>
   </flags>
-  <temporal enabled="0" mode="0" fetchMode="0">
+  <temporal enabled="0" fetchMode="0" mode="0">
     <fixedRange>
       <start></start>
       <end></end>
     </fixedRange>
   </temporal>
   <customproperties>
-    <property value="false" key="WMSBackgroundLayer"/>
-    <property value="false" key="WMSPublishDataSourceUrl"/>
-    <property value="0" key="embeddedWidgets/count"/>
-    <property value="Value" key="identify/format"/>
+    <property key="WMSBackgroundLayer" value="false"/>
+    <property key="WMSPublishDataSourceUrl" value="false"/>
+    <property key="embeddedWidgets/count" value="0"/>
+    <property key="identify/format" value="Value"/>
   </customproperties>
   <pipe>
     <provider>
-      <resampling maxOversampling="2" enabled="false" zoomedOutResamplingMethod="nearestNeighbour" zoomedInResamplingMethod="nearestNeighbour"/>
+      <resampling enabled="false" zoomedOutResamplingMethod="nearestNeighbour" zoomedInResamplingMethod="nearestNeighbour" maxOversampling="2"/>
     </provider>
-    <rasterrenderer classificationMin="-12000" nodataColor="" classificationMax="30000" opacity="1" band="1" alphaBand="-1" type="singlebandpseudocolor">
+    <rasterrenderer classificationMax="30000" type="singlebandpseudocolor" opacity="1" alphaBand="-1" classificationMin="-12000" nodataColor="" band="1">
       <rasterTransparency/>
       <minMaxOrigin>
         <limits>None</limits>
@@ -32,30 +33,50 @@
         <stdDevFactor>2</stdDevFactor>
       </minMaxOrigin>
       <rastershader>
-        <colorrampshader clip="0" minimumValue="-12000" maximumValue="30000" labelPrecision="0" colorRampType="INTERPOLATED" classificationMode="1">
-          <colorramp name="[source]" type="gradient">
-            <prop v="0,62,110,255" k="color1"/>
-            <prop v="247,251,255,255" k="color2"/>
+        <colorrampshader minimumValue="-12000" labelPrecision="0" maximumValue="30000" classificationMode="1" colorRampType="INTERPOLATED" clip="0">
+          <colorramp type="gradient" name="[source]">
+            <Option type="Map">
+              <Option type="QString" value="32,50,64,255" name="color1"/>
+              <Option type="QString" value="254,254,254,255" name="color2"/>
+              <Option type="QString" value="0" name="discrete"/>
+              <Option type="QString" value="gradient" name="rampType"/>
+              <Option type="QString" value="0.142857;55,86,110,255:0.261905;101,179,204,255:0.285476;206,233,242,255:0.285619;255,255,255,255:0.285833;230,230,230,255:0.288095;204,204,204,255:0.309524;179,179,179,255:0.52381;153,153,153,255:0.761905;242,242,242,255" name="stops"/>
+            </Option>
+            <prop v="32,50,64,255" k="color1"/>
+            <prop v="254,254,254,255" k="color2"/>
             <prop v="0" k="discrete"/>
             <prop v="gradient" k="rampType"/>
-            <prop v="0.5;7,172,231,255" k="stops"/>
+            <prop v="0.142857;55,86,110,255:0.261905;101,179,204,255:0.285476;206,233,242,255:0.285619;255,255,255,255:0.285833;230,230,230,255:0.288095;204,204,204,255:0.309524;179,179,179,255:0.52381;153,153,153,255:0.761905;242,242,242,255" k="stops"/>
           </colorramp>
-          <item value="-12000" alpha="255" color="#203240" label="-12000"/>
-          <item value="-6000" alpha="255" color="#37566e" label="-6000"/>
-          <item value="-1000" alpha="255" color="#65b3cc" label="-1000"/>
-          <item value="-10" alpha="255" color="#cee9f2" label="-10"/>
-          <item value="-4" alpha="255" color="#ffffff" label="-4"/>
-          <item value="5" alpha="255" color="#e6e6e6" label="5"/>
-          <item value="100" alpha="255" color="#cccccc" label="100"/>
-          <item value="1000" alpha="255" color="#b3b3b3" label="1000"/>
-          <item value="10000" alpha="255" color="#999999" label="10000"/>
-          <item value="20000" alpha="255" color="#f2f2f2" label="Shelf Ice"/>
-          <item value="30000" alpha="255" color="#ffffff" label="Ice Sheet"/>
+          <item color="#203240" alpha="255" value="-12000" label="-12000"/>
+          <item color="#37566e" alpha="255" value="-6000" label="-6000"/>
+          <item color="#65b3cc" alpha="255" value="-1000" label="-1000"/>
+          <item color="#cee9f2" alpha="255" value="-10" label="-10"/>
+          <item color="#ffffff" alpha="255" value="-4" label="-4"/>
+          <item color="#e6e6e6" alpha="255" value="5" label="5"/>
+          <item color="#cccccc" alpha="255" value="100" label="100"/>
+          <item color="#b3b3b3" alpha="255" value="1000" label="1000"/>
+          <item color="#999999" alpha="255" value="10000" label="10000"/>
+          <item color="#f2f2f2" alpha="255" value="20000" label="Shelf Ice"/>
+          <item color="#fefefe" alpha="255" value="30000" label="Ice Sheet"/>
+          <rampLegendSettings useContinuousLegend="1" maximumLabel="" minimumLabel="" direction="0" suffix="" prefix="" orientation="2">
+            <numericFormat id="basic">
+              <Option type="Map">
+                <Option type="QChar" value="" name="decimal_separator"/>
+                <Option type="int" value="6" name="decimals"/>
+                <Option type="int" value="0" name="rounding_type"/>
+                <Option type="bool" value="false" name="show_plus"/>
+                <Option type="bool" value="true" name="show_thousand_separator"/>
+                <Option type="bool" value="false" name="show_trailing_zeros"/>
+                <Option type="QChar" value="" name="thousand_separator"/>
+              </Option>
+            </numericFormat>
+          </rampLegendSettings>
         </colorrampshader>
       </rastershader>
     </rasterrenderer>
-    <brightnesscontrast gamma="1" contrast="0" brightness="0"/>
-    <huesaturation colorizeOn="0" colorizeStrength="100" grayscaleMode="0" colorizeRed="255" saturation="0" colorizeGreen="128" colorizeBlue="128"/>
+    <brightnesscontrast brightness="0" contrast="0" gamma="1"/>
+    <huesaturation colorizeRed="255" grayscaleMode="0" colorizeBlue="128" colorizeGreen="128" colorizeStrength="100" saturation="0" colorizeOn="0"/>
     <rasterresampler maxOversampling="2"/>
     <resamplingStage>resamplingFilter</resamplingStage>
   </pipe>
diff --git a/styles/qml_layer_styles/basemap_legacy.qml b/styles/qml_layer_styles/basemap_legacy.qml
index 66df415..ba5cd83 100644
--- a/styles/qml_layer_styles/basemap_legacy.qml
+++ b/styles/qml_layer_styles/basemap_legacy.qml
@@ -1,11 +1,12 @@
 <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
-<qgis hasScaleBasedVisibilityFlag="0" maxScale="0" minScale="1e+08" version="3.16.0-Hannover" styleCategories="AllStyleCategories">
+<qgis version="3.18.3-Zürich" hasScaleBasedVisibilityFlag="0" maxScale="0" minScale="1e+08" styleCategories="AllStyleCategories">
   <flags>
     <Identifiable>1</Identifiable>
     <Removable>1</Removable>
     <Searchable>1</Searchable>
+    <Private>0</Private>
   </flags>
-  <temporal fetchMode="0" mode="0" enabled="0">
+  <temporal enabled="0" fetchMode="0" mode="0">
     <fixedRange>
       <start></start>
       <end></end>
@@ -19,9 +20,9 @@
   </customproperties>
   <pipe>
     <provider>
-      <resampling maxOversampling="2" zoomedOutResamplingMethod="nearestNeighbour" zoomedInResamplingMethod="nearestNeighbour" enabled="false"/>
+      <resampling enabled="false" zoomedOutResamplingMethod="nearestNeighbour" zoomedInResamplingMethod="nearestNeighbour" maxOversampling="2"/>
     </provider>
-    <rasterrenderer type="singlebandpseudocolor" alphaBand="-1" band="1" opacity="1" nodataColor="" classificationMax="30000" classificationMin="-11000">
+    <rasterrenderer classificationMax="30000" type="singlebandpseudocolor" opacity="1" alphaBand="-1" classificationMin="-11000" nodataColor="" band="1">
       <rasterTransparency/>
       <minMaxOrigin>
         <limits>None</limits>
@@ -32,40 +33,60 @@
         <stdDevFactor>2</stdDevFactor>
       </minMaxOrigin>
       <rastershader>
-        <colorrampshader colorRampType="INTERPOLATED" maximumValue="30000" clip="0" minimumValue="-11000" classificationMode="2">
+        <colorrampshader minimumValue="-11000" labelPrecision="0" maximumValue="30000" classificationMode="2" colorRampType="INTERPOLATED" clip="0">
           <colorramp type="gradient" name="[source]">
-            <prop v="0,62,110,255" k="color1"/>
-            <prop v="247,251,255,255" k="color2"/>
+            <Option type="Map">
+              <Option type="QString" value="84,111,133,255" name="color1"/>
+              <Option type="QString" value="254,254,254,255" name="color2"/>
+              <Option type="QString" value="0" name="discrete"/>
+              <Option type="QString" value="gradient" name="rampType"/>
+              <Option type="QString" value="0.158537;91,121,143,255:0.170732;104,137,160,255:0.195122;109,144,167,255:0.219512;117,156,179,255:0.243902;120,159,181,255:0.24878;127,169,189,255:0.256098;133,177,194,255:0.263415;142,190,204,255:0.265854;145,198,207,255:0.267073;157,209,214,255:0.267317;169,223,224,255:0.267561;192,240,240,255:0.267805;208,245,245,255:0.268293;255,255,255,255:0.268415;230,230,230,255:0.270732;204,204,204,255:0.292683;179,179,179,255:0.512195;153,153,153,255:0.756098;242,242,242,255" name="stops"/>
+            </Option>
+            <prop v="84,111,133,255" k="color1"/>
+            <prop v="254,254,254,255" k="color2"/>
             <prop v="0" k="discrete"/>
             <prop v="gradient" k="rampType"/>
-            <prop v="0.5;7,172,231,255" k="stops"/>
+            <prop v="0.158537;91,121,143,255:0.170732;104,137,160,255:0.195122;109,144,167,255:0.219512;117,156,179,255:0.243902;120,159,181,255:0.24878;127,169,189,255:0.256098;133,177,194,255:0.263415;142,190,204,255:0.265854;145,198,207,255:0.267073;157,209,214,255:0.267317;169,223,224,255:0.267561;192,240,240,255:0.267805;208,245,245,255:0.268293;255,255,255,255:0.268415;230,230,230,255:0.270732;204,204,204,255:0.292683;179,179,179,255:0.512195;153,153,153,255:0.756098;242,242,242,255" k="stops"/>
           </colorramp>
-          <item alpha="255" label="-11000" color="#546f85" value="-11000"/>
-          <item alpha="255" label="-4500" color="#5b798f" value="-4500"/>
-          <item alpha="255" label="-4000" color="#6889a0" value="-4000"/>
-          <item alpha="255" label="-3000" color="#6d90a7" value="-3000"/>
-          <item alpha="255" label="-2000" color="#759cb3" value="-2000"/>
-          <item alpha="255" label="-1000" color="#789fb5" value="-1000"/>
-          <item alpha="255" label="-800" color="#7fa9bd" value="-800"/>
-          <item alpha="255" label="-500" color="#85b1c2" value="-500"/>
-          <item alpha="255" label="-200" color="#8ebecc" value="-200"/>
-          <item alpha="255" label="-100" color="#91c6cf" value="-100"/>
-          <item alpha="255" label="-50" color="#9dd1d6" value="-50"/>
-          <item alpha="255" label="-40" color="#a9dfe0" value="-40"/>
-          <item alpha="255" label="-30" color="#c0f0f0" value="-30"/>
-          <item alpha="255" label="-20" color="#d0f5f5" value="-20"/>
-          <item alpha="255" label="0" color="#ffffff" value="0"/>
-          <item alpha="255" label="5" color="#e6e6e6" value="5"/>
-          <item alpha="255" label="100" color="#cccccc" value="100"/>
-          <item alpha="255" label="1000" color="#b3b3b3" value="1000"/>
-          <item alpha="255" label="10000" color="#999999" value="10000"/>
-          <item alpha="255" label="20000" color="#f2f2f2" value="20000"/>
-          <item alpha="255" label="30000" color="#ffffff" value="30000"/>
+          <item color="#546f85" alpha="255" value="-11000" label="-11000"/>
+          <item color="#5b798f" alpha="255" value="-4500" label="-4500"/>
+          <item color="#6889a0" alpha="255" value="-4000" label="-4000"/>
+          <item color="#6d90a7" alpha="255" value="-3000" label="-3000"/>
+          <item color="#759cb3" alpha="255" value="-2000" label="-2000"/>
+          <item color="#789fb5" alpha="255" value="-1000" label="-1000"/>
+          <item color="#7fa9bd" alpha="255" value="-800" label="-800"/>
+          <item color="#85b1c2" alpha="255" value="-500" label="-500"/>
+          <item color="#8ebecc" alpha="255" value="-200" label="-200"/>
+          <item color="#91c6cf" alpha="255" value="-100" label="-100"/>
+          <item color="#9dd1d6" alpha="255" value="-50" label="-50"/>
+          <item color="#a9dfe0" alpha="255" value="-40" label="-40"/>
+          <item color="#c0f0f0" alpha="255" value="-30" label="-30"/>
+          <item color="#d0f5f5" alpha="255" value="-20" label="-20"/>
+          <item color="#ffffff" alpha="255" value="0" label="0"/>
+          <item color="#e6e6e6" alpha="255" value="5" label="5"/>
+          <item color="#cccccc" alpha="255" value="100" label="100"/>
+          <item color="#b3b3b3" alpha="255" value="1000" label="1000"/>
+          <item color="#999999" alpha="255" value="10000" label="10000"/>
+          <item color="#f2f2f2" alpha="255" value="20000" label="20000"/>
+          <item color="#fefefe" alpha="255" value="30000" label="30000"/>
+          <rampLegendSettings useContinuousLegend="1" maximumLabel="" minimumLabel="" direction="0" suffix="" prefix="" orientation="2">
+            <numericFormat id="basic">
+              <Option type="Map">
+                <Option type="QChar" value="" name="decimal_separator"/>
+                <Option type="int" value="6" name="decimals"/>
+                <Option type="int" value="0" name="rounding_type"/>
+                <Option type="bool" value="false" name="show_plus"/>
+                <Option type="bool" value="true" name="show_thousand_separator"/>
+                <Option type="bool" value="false" name="show_trailing_zeros"/>
+                <Option type="QChar" value="" name="thousand_separator"/>
+              </Option>
+            </numericFormat>
+          </rampLegendSettings>
         </colorrampshader>
       </rastershader>
     </rasterrenderer>
-    <brightnesscontrast brightness="0" gamma="1" contrast="0"/>
-    <huesaturation colorizeGreen="128" saturation="0" colorizeBlue="128" grayscaleMode="0" colorizeRed="255" colorizeStrength="100" colorizeOn="0"/>
+    <brightnesscontrast brightness="0" contrast="0" gamma="1"/>
+    <huesaturation colorizeRed="255" grayscaleMode="0" colorizeBlue="128" colorizeGreen="128" colorizeStrength="100" saturation="0" colorizeOn="0"/>
     <rasterresampler maxOversampling="2"/>
     <resamplingStage>resamplingFilter</resamplingStage>
   </pipe>
-- 
GitLab