From bab7b7ad7484251a9ee023da1f4c874c4fd736db Mon Sep 17 00:00:00 2001
From: Lubomir Bucek <lubomir.bucek@eox.at>
Date: Thu, 23 Jul 2020 09:50:46 +0200
Subject: [PATCH] cleanup client configs

---
 client/html/index.html      | 34 +++++++++++++++-------------------
 config/dem_index-dev.html   | 16 ++++++++++++++--
 config/emg_index-dev.html   | 16 ++++++++++++++--
 config/vhr18_index-dev.html | 16 ++++++++++++++--
 4 files changed, 57 insertions(+), 25 deletions(-)

diff --git a/client/html/index.html b/client/html/index.html
index 4c6afa7a..ba4ab735 100644
--- a/client/html/index.html
+++ b/client/html/index.html
@@ -23,7 +23,7 @@
         "leftPanelOpen": false,
         "leftPanelTabIndex": 0,
         "tutorial": "once",
-        "uploadEnabled": false,
+        "uploadEnabled": true,
         "selectFilesDownloadEnabled": false,
         "downloadEnabled": true,
         "searchEnabled" : true,
@@ -107,26 +107,10 @@
                 "name": "Nearest Neighbour",
                 "identifier": "http://www.opengis.net/def/interpolation/OGC/1/nearest-neighbour"
             },
-            // {
-            //     "name": "Cubic",
-            //     "identifier": "http://www.opengis.net/def/interpolation/OGC/1/cubic"
-            // },
-            // {
-            //     "name": "Cubic Spline",
-            //     "identifier": "http://www.opengis.net/def/interpolation/OGC/1/cubic-spline"
-            // },
             {
                 "name": "Average",
                 "identifier": "http://www.opengis.net/def/interpolation/OGC/1/average"
             },
-            // {
-            //     "name": "Lanczos",
-            //     "identifier": "http://www.opengis.net/def/interpolation/OGC/1/lanczos"
-            // },
-            // {
-            //     "name": "Mode",
-            //     "identifier": "http://www.opengis.net/def/interpolation/OGC/1/mode"
-            // },
         ]
     },
     "baseLayers": [
@@ -138,6 +122,9 @@
                 "visible": true,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -155,6 +142,9 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -172,6 +162,9 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -196,8 +189,11 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
-                    "//d.tiles.maps.eox.at/wmts/",
-                    "//e.tiles.maps.eox.at/wmts/"
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
+                    "//d.s2maps-tiles.eu/wmts/",
+                    "//e.s2maps-tiles.eu/wmts/"
                 ],
                 "matrixSet": "WGS84",
                 "style": "default",
diff --git a/config/dem_index-dev.html b/config/dem_index-dev.html
index cfe60b1a..aeacba83 100644
--- a/config/dem_index-dev.html
+++ b/config/dem_index-dev.html
@@ -157,6 +157,9 @@
                 "visible": true,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -174,6 +177,9 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -191,6 +197,9 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -794,8 +803,11 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
-                    "//d.tiles.maps.eox.at/wmts/",
-                    "//e.tiles.maps.eox.at/wmts/"
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
+                    "//d.s2maps-tiles.eu/wmts/",
+                    "//e.s2maps-tiles.eu/wmts/"
                 ],
                 "matrixSet": "WGS84",
                 "style": "default",
diff --git a/config/emg_index-dev.html b/config/emg_index-dev.html
index 216a5686..9fdbd8e5 100644
--- a/config/emg_index-dev.html
+++ b/config/emg_index-dev.html
@@ -125,6 +125,9 @@
                 "visible": true,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -142,6 +145,9 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -159,6 +165,9 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -252,8 +261,11 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
-                    "//d.tiles.maps.eox.at/wmts/",
-                    "//e.tiles.maps.eox.at/wmts/"
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
+                    "//d.s2maps-tiles.eu/wmts/",
+                    "//e.s2maps-tiles.eu/wmts/"
                 ],
                 "matrixSet": "WGS84",
                 "style": "default",
diff --git a/config/vhr18_index-dev.html b/config/vhr18_index-dev.html
index 40d20109..05f01e81 100644
--- a/config/vhr18_index-dev.html
+++ b/config/vhr18_index-dev.html
@@ -123,6 +123,9 @@
                 "visible": true,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -140,6 +143,9 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -157,6 +163,9 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
                     "//d.s2maps-tiles.eu/wmts/",
                     "//e.s2maps-tiles.eu/wmts/"
                 ],
@@ -319,8 +328,11 @@
                 "visible": false,
                 "protocol": "WMTS",
                 "urls": [
-                    "//d.tiles.maps.eox.at/wmts/",
-                    "//e.tiles.maps.eox.at/wmts/"
+                    "//a.s2maps-tiles.eu/wmts/",
+                    "//b.s2maps-tiles.eu/wmts/",
+                    "//c.s2maps-tiles.eu/wmts/",
+                    "//d.s2maps-tiles.eu/wmts/",
+                    "//e.s2maps-tiles.eu/wmts/"
                 ],
                 "matrixSet": "WGS84",
                 "style": "default",
-- 
GitLab