EOX GitLab Instance

demF_index-ops.html 28.1 KB
Newer Older
1
2
3
4
5
<!DOCTYPE html>
<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
  <meta charset="UTF-8">
6
  <meta name="application" content="VS Client release-2.0.0">
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  <title>PRISM View Server</title>
  <link rel="icon" href="//eox.at/favicon.ico" type="image/x-icon">
  <link rel="icon" sizes="16x16" href="//eox.at/favicon-16x16.png" type="image/png">
  <link rel="icon" sizes="32x32" href="//eox.at/favicon-32x32.png" type="image/png">
  <link rel="apple-touch-icon" sizes="180x180" href="//eox.at/apple-touch-icon.png" type="image/png">
  <link rel="mask-icon" href="/safari-pinned-tab.svg" color="#004170">
</head>
<body>
  <header id="header" style="width: 100%; height:70px;">
    <h3 style="width:100%;text-align:center;
    color: #006699;">PRISM View Server (PVS) Client powered by
    <a href="//eox.at"><img src="//eox.at/EOX_Logo.svg" alt="EOX" style="height:25px;margin-left:10px"/></a>
    </h3>
  </header>
  <div id="app" style="width: 100%; top: 60px; bottom: 0; position: absolute; margin: 0; padding:0;"></div>
  <script src="vsclient.js"></script>
  <script>
Lubomir Bucek's avatar
Lubomir Bucek committed
24
25
  var today = new Date();
  today.setUTCHours(24, 0, 0, 0);
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
  var baseUrl = '//' + window.location.hostname + '/';
  var baseUrlsWMTS = [
    baseUrl + 'cache/ows/wmts',
  ];
  var baseUrlsOws = [
    baseUrl + 'ows',
  ];
  var config = {
    "settings": {
        "rightPanelOpen": true,
        "leftPanelOpen": false,
        "leftPanelTabIndex": 0,
        "tutorial": "once",
        "uploadEnabled": true,
        "selectFilesDownloadEnabled": false,
Lubomir Bucek's avatar
Lubomir Bucek committed
41
        "enable3D": true,
42
        "mapMode": '3D',
43
        "terrainUrl": baseUrl + "tilesets/terrain-mesh/",
44
45
46
47
48
        "downloadEnabled": true,
        "searchEnabled" : true,
        "searchDebounceTime": 500,
        "language": "en",
        "timeDomain": [
Lubomir Bucek's avatar
Lubomir Bucek committed
49
50
            "2003-01-01T00:00:00Z",
            today,
51
52
53
        ],
        "constrainTimeDomain": true,
        "displayTimeDomain": [
Lubomir Bucek's avatar
Lubomir Bucek committed
54
55
            "2011-02-01T00:00:00Z",
            "2011-05-31T23:59:59Z",
56
        ],
57
        "displayInterval": "P7300D",
58
        "selectedTimeDomain": [
Lubomir Bucek's avatar
Lubomir Bucek committed
59
60
            "2011-03-01T00:00:00Z",
            "2011-04-01T00:00:00Z",
61
        ],
62
        "selectableInterval": "P7300D",
63
        "enableGetEOCoverageSet": true,
64
65
66
        "enableSingleLayerMode": false,
        "timeSliderControls": true,
        "maxTooltips": 1,
Lubomir Bucek's avatar
Lubomir Bucek committed
67
68
        "center": [14.5, 43],
        "zoom": 6,
69
        "maxZoom": 17,
70
        "heightFactor" : 80000000,
Lubomir Bucek's avatar
Lubomir Bucek committed
71
        "footprintFillColor": "rgba(0, 0, 0, 0.1)",
72
73
74
75
76
77
78
79
80
        "footprintStrokeColor": "rgba(0, 0, 0, 1)",
        "filterFillColor": "rgba(0, 165, 255, 0)",
        "filterStrokeColor": "rgba(0, 165, 255, 1)",
        "filterOutsideColor": "rgba(0, 0, 0, 0.5)",
        "selectedFootprintFillColor": "rgba(255, 0, 0, 0.2)",
        "selectedFootprintStrokeColor": "rgba(255, 0, 0, 1)",
        "highlightFillColor": "rgba(246, 182, 0, 0.5)",
        "highlightStrokeColor": "rgba(246, 182, 0, 1)",
        "highlightStrokeWidth": 3,
81
82
83
84
85
86
87
88
89
        "footprintLabel": {
            'size': '12px',
            'font': 'Poppins-Medium',
            'color': '#d40000',
            'outlineWidth': 2,
            'outline': 'white',
            "labelTemplate": `{{properties.title}}`,
            'labelRegex': '/_([A-Z]{1}[0-9]{2})_.*_([A-Z]{1}[0-9]{3})_/',
          },
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
        "translations": {
            "en": {
                "Cloud Cover": "Cloud coverage (%)",
                "Error: NoApplicableCode": "Search timed out. Please refine the filter criteria.",
            }
        },
        "filterSettings": {
            "time": {
                "hidden": true,
            }
        },
        "downloadFormats": [
            {
                "name": "TIFF",
                "mimeType": "image/tiff"
            },
            {
                "name": "JPEG 2000",
                "mimeType": "image/jp2"
            },
            {
                "name": "HDF",
                "mimeType": "application/x-hdf",
            },
        ],
115
116
117
118
119
120
121
122
123
        "multiDownloadFormats": [
            {
                "name": "ZIP",
                "mimeType": "application/zip"
            },
            {
                "name": "TAR",
                "mimeType": "application/tar"
            },
124
125
126
127
            {
                "name": "GZIP",
                "mimeType": "application/gzip"
            },
128
        ],
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
        "downloadProjections": [
            {
                "name": "WGS-84",
                "identifier": "http://www.opengis.net/def/crs/EPSG/0/4326"
            },
            {
                "name": "Web Mercator",
                "identifier": "http://www.opengis.net/def/crs/EPSG/0/3857"
            },
            {
                "name": "ETRS89 / LAEA Europe",
                "identifier": "http://www.opengis.net/def/crs/EPSG/0/3035"
            }
        ],
        "downloadInterpolations": [
            {
              "name": "Bilinear",
              "identifier": "http://www.opengis.net/def/interpolation/OGC/1/bilinear"
            },
            {
                "name": "Nearest Neighbour",
                "identifier": "http://www.opengis.net/def/interpolation/OGC/1/nearest-neighbour"
            },
            {
                "name": "Average",
                "identifier": "http://www.opengis.net/def/interpolation/OGC/1/average"
            },
        ]
    },
    "baseLayers": [
        {
            "id": "terrain-light",
            "displayName": "EOX Terrain-Light",
            "display": {
                "id": "terrain-light",
                "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/"
                ],
                "matrixSet": "WGS84",
                "format": "image/png",
                "projection": "EPSG:4326",
                "style": "default",
                "attribution": "Terrain-Light { Data &copy; <a href=\"//www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a> contributors and <a href='javascript:;' onClick='toggle(terrain_attribution)'>others</a>, Rendering &copy; <a href=\"//eox.at\" target=\"_blank\">EOX</a> }"
            }
        }, {
            "id": "terrain",
            "displayName": "EOX Terrain",
            "display": {
                "id": "terrain",
                "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/"
                ],
                "matrixSet": "WGS84",
                "format": "image/png",
                "projection": "EPSG:4326",
                "style": "default",
                "attribution": "Terrain { Data &copy; <a href=\"//www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a> contributors and <a href='javascript:;' onClick='toggle(terrain_attribution)'>others</a>, Rendering &copy; <a href=\"//eox.at\" target=\"_blank\">EOX</a> }"
            }
        },  {
            "id": "s2cloudless",
            "displayName": "EOX Sentinel-2 cloudless",
            "display": {
                "id": "s2cloudless-2018",
                "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/"
                ],
                "matrixSet": "WGS84",
                "format": "image/png",
                "projection": "EPSG:4326",
                "style": "default",
                "attribution": "<a xmlns:dct=\"//purl.org/dc/terms/\" href=\"//s2maps.eu\" property=\"dct:title\">Sentinel-2 cloudless - //s2maps.eu</a> by <a xmlns:cc=\"//creativecommons.org/ns#\" href=\"s://eox.at\" property=\"cc:attributionName\" rel=\"cc:attributionURL\">EOX IT Services GmbH</a> (Contains modified Copernicus Sentinel data 2017 &amp; 2018)"
            }
        }
    ],
    "layers": [
        {
            "id": 'DEM',
            "displayColor": '#eb3700',
Lubomir Bucek's avatar
Lubomir Bucek committed
225
            "displayName": 'DEM Public',
226
227
228
229
230
231
232
233
234
235
236
237
238
239
            "display": {
                "id": 'DEM__EARTH',
                "visible": true,
                "protocol": 'WMTS',
                "urls": baseUrlsWMTS,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "matrixSet": "WGS84",
                "style": 'default',
                "useMilliseconds": false,
                "maxZoom": 17,
                "options": [{
                    "name": "Style",
                    "target": "display.extraParameters.LAYERS",
Nikola Jankovic's avatar
Nikola Jankovic committed
240
241
242
243
                    "values": [
                        {
                            "label": "Earth",
                            "value": "DEM__EARTH",
244
                        },
Nikola Jankovic's avatar
Nikola Jankovic committed
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
                        {
                            "label": "Grayscale",
                            "value": "DEM__GRAYSCALE",
                        },
                        {
                            "label": "Hillshade",
                            "value": "DEM__HILLSHADE",
                        },
                        {
                            "label": "Aspect",
                            "value": "DEM__ASPECT",
                        },
                        {
                            "label": "Slope",
                            "value": "DEM__SLOPE",
                        },
                        {
                            "label": "Contours",
                            "value": "DEM__CONTOURS",
                        },
                    ]
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
                }],
            },
            "search": {
                "protocol": "OpenSearch",
                "url": baseUrl + "opensearch/collections/DEM/",
                "id": "DEM",
                "histogramBinCount": 28,
                "format": "application/atom+xml",
                "method": "GET",
                "histogramThreshold": 600,
                "lightweightBuckets": true,
                "searchLimit": 600,
                "loadMore": 600,
                "pageSize": 200,
                "countZeroRecords": true,
                "parameters": [
                  {
                      "max": 100,
                      "min": 0,
                      "range": true,
                      "type": "eo:cloudCover",
                      "title": "Cloud Coverage"
                  },
                  {
                    "type": "geo:uid",
                    "title": "Product ID",
                    "privileged": true,
                  },
                ],
                "parametersFilterSettings": {
                    "collapsed": false,
                },
            },
            "download": {
                "protocol": "EO-WCS",
                "url": baseUrl + "ows",
                "rewrite": {
                  // add __coverage to the coverageId
                  "from": "({{id}})",
305
                  "to": "$1__DEM1__coverage"
306
307
308
309
310
311
                }
            }
        },
        {
            "id": 'DEM_COP-DEM_GLO-30-DTED',
            "displayColor": '#e3dc09',
Lubomir Bucek's avatar
Lubomir Bucek committed
312
            "displayName": 'DEM EEA 30 DTED Public',
313
314
            "display": {
                "id": 'DEM_COP-DEM_GLO-30-DTED__EARTH',
Lubomir Bucek's avatar
Lubomir Bucek committed
315
                "visible": false,
316
317
318
319
320
321
322
323
324
325
326
                "protocol": 'WMTS',
                "urls": baseUrlsWMTS,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "matrixSet": "WGS84",
                "style": 'default',
                "useMilliseconds": false,
                "maxZoom": 17,
                "options": [{
                    "name": "Style",
                    "target": "display.extraParameters.LAYERS",
Nikola Jankovic's avatar
Nikola Jankovic committed
327
328
329
330
331
332
333
334
335
336
337
338
                    "values": [
                        {
                            "label": "Earth",
                            "value": "DEM_COP-DEM_GLO-30-DTED__EARTH",
                        },
                        {
                            "label": "Grayscale",
                            "value": "DEM_COP-DEM_GLO-30-DTED__GRAYSCALE",
                        },
                        {
                            "label": "Hillshade",
                            "value": "DEM_COP-DEM_GLO-30-DTED__HILLSHADE",
339
                        },
Nikola Jankovic's avatar
Nikola Jankovic committed
340
341
342
343
344
345
346
347
348
349
350
351
352
                        {
                            "label": "Aspect",
                            "value": "DEM_COP-DEM_GLO-30-DTED__ASPECT",
                        },
                        {
                            "label": "Slope",
                            "value": "DEM_COP-DEM_GLO-30-DTED__SLOPE",
                        },
                        {
                            "label": "Contours",
                            "value": "DEM_COP-DEM_GLO-30-DTED__CONTOURS",
                        },
                    ]
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
                }],
            },
            "search": {
                "protocol": "OpenSearch",
                "url": baseUrl + "opensearch/collections/DEM_COP-DEM_GLO-30-DTED/",
                "id": "DEM_COP-DEM_GLO-30-DTED",
                "histogramBinCount": 28,
                "format": "application/atom+xml",
                "method": "GET",
                "histogramThreshold": 600,
                "lightweightBuckets": true,
                "searchLimit": 600,
                "loadMore": 600,
                "pageSize": 200,
                "countZeroRecords": true,
                "parameters": [
                  {
                      "max": 100,
                      "min": 0,
                      "range": true,
                      "type": "eo:cloudCover",
                      "title": "Cloud Coverage"
                  },
                  {
                    "type": "geo:uid",
                    "title": "Product ID",
                    "privileged": true,
                  },
                ],
                "parametersFilterSettings": {
                    "collapsed": false,
                },
            },
            "download": {
                "protocol": "EO-WCS",
                "url": baseUrl + "ows",
                "rewrite": {
                  // add __coverage to the coverageId
                  "from": "({{id}})",
392
                  "to": "$1__DEM1__coverage"
393
394
395
396
397
398
                }
            }
        },
        {
            "id": 'DEM_COP-DEM_GLO-30-DGED',
            "displayColor": '#09b0e3',
Lubomir Bucek's avatar
Lubomir Bucek committed
399
            "displayName": 'DEM EEA 30 DGED Public',
400
401
            "display": {
                "id": 'DEM_COP-DEM_GLO-30-DGED__EARTH',
Lubomir Bucek's avatar
Lubomir Bucek committed
402
                "visible": false,
403
404
405
406
407
408
409
410
411
412
413
                "protocol": 'WMTS',
                "urls": baseUrlsWMTS,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "matrixSet": "WGS84",
                "style": 'default',
                "useMilliseconds": false,
                "maxZoom": 17,
                "options": [{
                    "name": "Style",
                    "target": "display.extraParameters.LAYERS",
Nikola Jankovic's avatar
Nikola Jankovic committed
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
                    "values": [
                        {
                            "label": "Earth",
                            "value": "DEM_COP-DEM_GLO-30-DGED__EARTH",
                        },
                        {
                            "label": "Grayscale",
                            "value": "DEM_COP-DEM_GLO-30-DGED__GRAYSCALE",
                        },
                        {
                            "label": "Hillshade",
                            "value": "DEM_COP-DEM_GLO-30-DGED__HILLSHADE",
                        },
                        {
                            "label": "Aspect",
                            "value": "DEM_COP-DEM_GLO-30-DGED__ASPECT",
430
                        },
Nikola Jankovic's avatar
Nikola Jankovic committed
431
432
433
434
435
436
437
438
439
                        {
                            "label": "Slope",
                            "value": "DEM_COP-DEM_GLO-30-DGED__SLOPE",
                        },
                        {
                            "label": "Contours",
                            "value": "DEM_COP-DEM_GLO-30-DGED__CONTOURS",
                        },
                    ]
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
                }],
            },
            "search": {
                "protocol": "OpenSearch",
                "url": baseUrl + "opensearch/collections/DEM_COP-DEM_GLO-30-DGED/",
                "id": "DEM_COP-DEM_GLO-30-DGED",
                "histogramBinCount": 28,
                "format": "application/atom+xml",
                "method": "GET",
                "histogramThreshold": 600,
                "lightweightBuckets": true,
                "searchLimit": 600,
                "loadMore": 600,
                "pageSize": 200,
                "countZeroRecords": true,
                "parameters": [
                  {
                      "max": 100,
                      "min": 0,
                      "range": true,
                      "type": "eo:cloudCover",
                      "title": "Cloud Coverage"
                  },
                  {
                    "type": "geo:uid",
                    "title": "Product ID",
                    "privileged": true,
                  },
                ],
                "parametersFilterSettings": {
                    "collapsed": false,
                },
            },
            "download": {
                "protocol": "EO-WCS",
                "url": baseUrl + "ows",
                "rewrite": {
                  // add __coverage to the coverageId
                  "from": "({{id}})",
479
                  "to": "$1__DEM1__coverage"
480
481
482
483
484
485
                }
            }
        },
        {
            "id": 'DEM_COP-DEM_GLO-90-DGED',
            "displayColor": '#f09c00',
Lubomir Bucek's avatar
Lubomir Bucek committed
486
            "displayName": 'DEM EEA 90 DGED Public',
487
488
            "display": {
                "id": 'DEM_COP-DEM_GLO-90-DGED__EARTH',
Lubomir Bucek's avatar
Lubomir Bucek committed
489
                "visible": false,
490
491
492
493
494
495
496
497
498
499
500
                "protocol": 'WMTS',
                "urls": baseUrlsWMTS,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "matrixSet": "WGS84",
                "style": 'default',
                "useMilliseconds": false,
                "maxZoom": 17,
                "options": [{
                    "name": "Style",
                    "target": "display.extraParameters.LAYERS",
Nikola Jankovic's avatar
Nikola Jankovic committed
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
                    "values": [
                        {
                            "label": "Earth",
                            "value": "DEM_COP-DEM_GLO-90-DGED__EARTH",
                        },
                        {
                            "label": "Grayscale",
                            "value": "DEM_COP-DEM_GLO-90-DGED__GRAYSCALE",
                        },
                        {
                            "label": "Hillshade",
                            "value": "DEM_COP-DEM_GLO-90-DGED__HILLSHADE",
                        },
                        {
                            "label": "Aspect",
                            "value": "DEM_COP-DEM_GLO-90-DGED__ASPECT",
                        },
                        {
                            "label": "Slope",
                            "value": "DEM_COP-DEM_GLO-90-DGED__SLOPE",
                        },
                        {
                            "label": "Contours",
                            "value": "DEM_COP-DEM_GLO-90-DGED__CONTOURS",
525
                        },
Nikola Jankovic's avatar
Nikola Jankovic committed
526
                    ]
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
                }],
            },
            "search": {
                "protocol": "OpenSearch",
                "url": baseUrl + "opensearch/collections/DEM_COP-DEM_GLO-90-DGED/",
                "id": "DEM_COP-DEM_GLO-90-DGED",
                "histogramBinCount": 28,
                "format": "application/atom+xml",
                "method": "GET",
                "histogramThreshold": 600,
                "lightweightBuckets": true,
                "searchLimit": 600,
                "loadMore": 600,
                "pageSize": 200,
                "countZeroRecords": true,
                "parameters": [
                  {
                      "max": 100,
                      "min": 0,
                      "range": true,
                      "type": "eo:cloudCover",
                      "title": "Cloud Coverage"
                  },
                  {
                    "type": "geo:uid",
                    "title": "Product ID",
                    "privileged": true,
                  },
                ],
                "parametersFilterSettings": {
                    "collapsed": false,
                },
            },
            "download": {
                "protocol": "EO-WCS",
                "url": baseUrl + "ows",
                "rewrite": {
                  // add __coverage to the coverageId
                  "from": "({{id}})",
566
                  "to": "$1__DEM1__coverage"
567
568
569
570
571
572
                }
            }
        },
        {
            "id": 'DEM_COP-DEM_GLO-90-DTED',
            "displayColor": '#40b366',
Lubomir Bucek's avatar
Lubomir Bucek committed
573
            "displayName": 'DEM EEA 90 DTED Public',
574
575
            "display": {
                "id": 'DEM_COP-DEM_GLO-90-DTED__EARTH',
Lubomir Bucek's avatar
Lubomir Bucek committed
576
                "visible": false,
577
578
579
580
581
582
583
584
585
586
587
                "protocol": 'WMTS',
                "urls": baseUrlsWMTS,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "matrixSet": "WGS84",
                "style": 'default',
                "useMilliseconds": false,
                "maxZoom": 17,
                "options": [{
                    "name": "Style",
                    "target": "display.extraParameters.LAYERS",
Nikola Jankovic's avatar
Nikola Jankovic committed
588
589
590
591
                    "values": [
                        {
                            "label": "Earth",
                            "value": "DEM_COP-DEM_GLO-90-DTED__EARTH",
592
                        },
Nikola Jankovic's avatar
Nikola Jankovic committed
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
                        {
                            "label": "Grayscale",
                            "value": "DEM_COP-DEM_GLO-90-DTED__GRAYSCALE",
                        },
                        {
                            "label": "Hillshade",
                            "value": "DEM_COP-DEM_GLO-90-DTED__HILLSHADE",
                        },
                        {
                            "label": "Aspect",
                            "value": "DEM_COP-DEM_GLO-90-DTED__ASPECT",
                        },
                        {
                            "label": "Slope",
                            "value": "DEM_COP-DEM_GLO-90-DTED__SLOPE",
                        },
                        {
                            "label": "Contours",
                            "value": "DEM_COP-DEM_GLO-90-DTED__CONTOURS",
                        },
                    ]
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
                }],
            },
            "search": {
                "protocol": "OpenSearch",
                "url": baseUrl + "opensearch/collections/DEM_COP-DEM_GLO-90-DTED/",
                "id": "DEM_COP-DEM_GLO-90-DTED",
                "histogramBinCount": 28,
                "format": "application/atom+xml",
                "method": "GET",
                "histogramThreshold": 600,
                "lightweightBuckets": true,
                "searchLimit": 600,
                "loadMore": 600,
                "pageSize": 200,
                "countZeroRecords": true,
                "parameters": [
                  {
                      "max": 100,
                      "min": 0,
                      "range": true,
                      "type": "eo:cloudCover",
                      "title": "Cloud Coverage"
                  },
                  {
                    "type": "geo:uid",
                    "title": "Product ID",
                    "privileged": true,
                  },
                ],
                "parametersFilterSettings": {
                    "collapsed": false,
                },
            },
            "download": {
                "protocol": "EO-WCS",
                "url": baseUrl + "ows",
                "rewrite": {
                  // add __coverage to the coverageId
                  "from": "({{id}})",
653
                  "to": "$1__DEM1__coverage"
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
                }
            }
        },
    ],
    "overlayLayers": [
        {
            "id": "overlay_base",
            "displayName": "EOX Borders and Labels",
            "display": {
                "id": "overlay_base",
                "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/"
                ],
                "matrixSet": "WGS84",
                "style": "default",
                "format": "image/png",
                "projection": "EPSG:4326",
                "attribution": "Overlay { Data &copy; <a href=\"//www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a> contributors, Rendering &copy; <a href=\"//eox.at\" target=\"_blank\">EOX</a> and <a href=\"//github.com/mapserver/basemaps\" target=\"_blank\">MapServer</a> }"
            }
        },
        {
            "id": 'DEM__outlines',
            "displayName": 'DEM Outlines',
Lubomir Bucek's avatar
Lubomir Bucek committed
683
            "displayColor": '#adfa28',
684
685
686
687
688
689
690
691
692
693
694
            "display": {
                "id": 'DEM__outlines',
                "visible": false,
                "protocol": 'WMS',
                "urls": baseUrlsOws,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "style": 'red',
                "useMilliseconds": false,
                "maxZoom": 17,
                "synchronizeTime": true,
Nikola Jankovic's avatar
Nikola Jankovic committed
695
            }
696
697
698
        },
        {
            "id": 'DEM_COP-DEM_GLO-30-DTED__outlines',
Lubomir Bucek's avatar
Lubomir Bucek committed
699
700
            "displayName": 'DEM GLO 30 DTED Outlines',
            "displayColor": '#e3dc09',
701
702
703
704
705
706
707
708
709
710
711
            "display": {
                "id": 'DEM_COP-DEM_GLO-30-DTED__outlines',
                "visible": false,
                "protocol": 'WMS',
                "urls": baseUrlsOws,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "style": 'red',
                "useMilliseconds": false,
                "maxZoom": 17,
                "synchronizeTime": true,
Nikola Jankovic's avatar
Nikola Jankovic committed
712
            }
713
714
715
        },
        {
            "id": 'DEM_COP-DEM_GLO-30-DGED__outlines',
Lubomir Bucek's avatar
Lubomir Bucek committed
716
717
            "displayName": 'DEM GLO 30 DGED Outlines',
            "displayColor": '#09b0e3',
718
719
720
721
722
723
724
725
726
727
728
            "display": {
                "id": 'DEM_COP-DEM_GLO-30-DGED__outlines',
                "visible": false,
                "protocol": 'WMS',
                "urls": baseUrlsOws,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "style": 'red',
                "useMilliseconds": false,
                "maxZoom": 17,
                "synchronizeTime": true,
Nikola Jankovic's avatar
Nikola Jankovic committed
729
            }
730
731
732
        },
        {
            "id": 'DEM_COP-DEM_GLO-90-DGED__outlines',
Lubomir Bucek's avatar
Lubomir Bucek committed
733
734
            "displayName": 'DEM GLO 90 DGED Outlines',
            "displayColor": '#f09c00',
735
736
737
738
739
740
741
742
743
744
745
            "display": {
                "id": 'DEM_COP-DEM_GLO-90-DGED__outlines',
                "visible": false,
                "protocol": 'WMS',
                "urls": baseUrlsOws,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "style": 'red',
                "useMilliseconds": false,
                "maxZoom": 17,
                "synchronizeTime": true,
Nikola Jankovic's avatar
Nikola Jankovic committed
746
            }
747
748
749
        },
        {
            "id": 'DEM_COP-DEM_GLO-90-DTED__outlines',
Lubomir Bucek's avatar
Lubomir Bucek committed
750
751
            "displayName": 'DEM GLO 90 DTED Outlines',
            "displayColor": '#40b366',
752
753
754
755
756
757
758
759
760
761
762
            "display": {
                "id": 'DEM_COP-DEM_GLO-90-DTED__outlines',
                "visible": false,
                "protocol": 'WMS',
                "urls": baseUrlsOws,
                "format": 'image/png',
                "projection": 'EPSG:4326',
                "style": 'red',
                "useMilliseconds": false,
                "maxZoom": 17,
                "synchronizeTime": true,
Nikola Jankovic's avatar
Nikola Jankovic committed
763
            }
764
765
766
767
768
769
770
771
772
773
774
        },
    ]
};
    var app = new Application({
      config: config,
      container: document.getElementById('app'),
    });
    app.start();
  </script>
</body>
</html>