EOX GitLab Instance

Skip to content
Snippets Groups Projects
Commit f8b94dff authored by Lubomir Dolezal's avatar Lubomir Dolezal
Browse files

update client configurations based on vhr_image_2018

parent 6c35e535
No related branches found
No related tags found
No related merge requests found
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<meta charset="UTF-8">
<title>PRISM View Service</title>
<link rel="icon" href="//eox.at/wp-content/uploads/2015/06/cropped-eox_eye-192x192.png" sizes="192x192" />
<link rel="apple-touch-icon-precomposed" href="//eox.at/wp-content/uploads/2015/06/cropped-eox_eye-180x180.png" />
</head>
<body>
<header id="header" style="width: 100%; height:70px;">
<h3 style="width:100%;text-align:center;
color: #006699;">PRISM View Service (PVS) Client powered by
<a href="//eox.at"><img src="//eox.at/wp-content/uploads/2017/09/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="prism.js"></script>
<script>
var today = new Date();
today.setUTCHours(24, 0, 0, 0);
var baseUrl = '//127.0.0.1';
var defaultStyles = [
{"value": "earth"},
{"value": "blackbody"},
{"value": "summer"},
{"value": "coolwarm"},
{"value": "copper"},
{"value": "spring"},
{"value": "viridis"},
{"value": "diverging_2"},
{"value": "diverging_1"},
{"value": "autumn"},
{"value": "magma"},
{"value": "yiorrd"},
{"value": "portland"},
{"value": "bluered"},
{"value": "rainbow"},
{"value": "winter"},
{"value": "jet"},
{"value": "rdbu"},
{"value": "hot"},
{"value": "inferno"},
{"value": "plasma"},
{"value": "electric"},
{"value": "greys"},
{"value": "hsv"},
{"value": "cool"},
{"value": "picnic"},
{"value": "greens"},
{"value": "blackwhite"},
{"value": "yignbu"},
{"value": "bone"}
];
var config = {
"settings": {
"rightPanelOpen": true,
"leftPanelOpen": false,
"leftPanelTabIndex": 0,
"tutorial": "once",
"uploadEnabled": true,
"selectFilesDownloadEnabled": false,
"downloadEnabled": true,
"searchEnabled" : true,
"searchDebounceTime": 500,
"language": "en",
"timeDomain": [
"2003-01-01T00:00:00Z",
today,
],
"constrainTimeDomain": true,
"displayTimeDomain": [
"2011-02-01T00:00:00Z",
"2011-05-31T23:59:59Z",
],
"displayInterval": "P1096D",
"selectedTimeDomain": [
"2011-03-01T00:00:00Z",
"2011-04-01T00:00:00Z",
],
"selectableInterval": "P1096D",
"timeSliderControls": true,
"maxTooltips": 1,
"center": [14.5, 43],
"zoom": 6,
"maxZoom": 17,
"footprintFillColor": "rgba(0, 0, 0, 0.2)",
"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,
"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",
},
],
"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": [
"//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": [
"//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": [
"//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',
"displayName": 'DEM',
"displayColor": '#eb3700',
"display": {
"id": 'DEM__EARTH',
"visible": true,
"protocol": 'WMTS',
"url": baseUrl + ':83/ows/wmts',
"format": 'image/png',
"projection": 'EPSG:4326',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"target": "display.extraParameters.LAYERS",
"values": [{
"label": "DEM earth",
"value": "DEM__EARTH",
},{
"label": "DEM grayscale",
"value": "DEM__GRAYSCALE",
},]
}],
},
"detailsDisplay": {
"id": 'DEM',
"visible": true,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"tileSize": 512,
"style": 'earth',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"replace": [{
"target": "detailsDisplay.style",
"value": {
"template": "{{detailsDisplay.extraParameters.STYLES}}"
},
}],
"target": "detailsDisplay.extraParameters.STYLES",
"values": defaultStyles,
}],
},
"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": [
{
"type": "geo:uid",
"title": "Product ID"
},
],
"parametersFilterSettings": {
"collapsed": false,
},
},
"download": {
"protocol": "EO-WCS",
"url": baseUrl + "ows",
"rewrite": {
// add __coverage to the coverageId
"from": "({{id}})",
"to": "$1__coverage"
}
}
},
{
"id": 'DEM_COP-DEM_EEA-10-DGED',
"displayName": 'DEM EEA 10 DGED',
"displayColor": '#adfa28',
"display": {
"id": 'DEM_COP-DEM_EEA-10-DGED__EARTH',
"visible": true,
"protocol": 'WMTS',
"url": baseUrl + ':83/ows/wmts',
"format": 'image/png',
"projection": 'EPSG:4326',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"target": "display.extraParameters.LAYERS",
"values": [{
"label": "DEM_COP-DEM_EEA-10-DGED earth",
"value": "DEM_COP-DEM_EEA-10-DGED__EARTH",
},{
"label": "DEM_COP-DEM_EEA-10-DGED grayscale",
"value": "DEM_COP-DEM_EEA-10-DGED__GRAYSCALE",
},]
}],
},
"detailsDisplay": {
"id": 'DEM_COP-DEM_EEA-10-DGED',
"visible": true,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"tileSize": 512,
"style": 'earth',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"replace": [{
"target": "detailsDisplay.style",
"value": {
"template": "{{detailsDisplay.extraParameters.STYLES}}"
},
}],
"target": "detailsDisplay.extraParameters.STYLES",
"values": defaultStyles,
}],
},
"search": {
"protocol": "OpenSearch",
"url": baseUrl + "opensearch/collections/DEM_COP-DEM_EEA-10-DGED/",
"id": "DEM_COP-DEM_EEA-10-DGED",
"histogramBinCount": 28,
"format": "application/atom+xml",
"method": "GET",
"histogramThreshold": 600,
"lightweightBuckets": true,
"searchLimit": 600,
"loadMore": 600,
"pageSize": 200,
"countZeroRecords": true,
"parameters": [
{
"type": "geo:uid",
"title": "Product ID"
},
],
"parametersFilterSettings": {
"collapsed": false,
},
},
"download": {
"protocol": "EO-WCS",
"url": baseUrl + "ows",
"rewrite": {
// add __coverage to the coverageId
"from": "({{id}})",
"to": "$1__coverage"
}
}
},
{
"id": 'DEM_COP-DEM_EEA-10-INSP',
"displayName": 'DEM EEA 10 INSP',
"displayColor": '#5d24d1',
"display": {
"id": 'DEM_COP-DEM_EEA-10-INSP__EARTH',
"visible": true,
"protocol": 'WMTS',
"url": baseUrl + ':83/ows/wmts',
"format": 'image/png',
"projection": 'EPSG:4326',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"target": "display.extraParameters.LAYERS",
"values": [{
"label": "DEM_COP-DEM_EEA-10-INSP earth",
"value": "DEM_COP-DEM_EEA-10-INSP__EARTH",
},{
"label": "DEM_COP-DEM_EEA-10-INSP grayscale",
"value": "DEM_COP-DEM_EEA-10-INSP__GRAYSCALE",
},]
}],
},
"detailsDisplay": {
"id": 'DEM_COP-DEM_EEA-10-INSP',
"visible": true,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"tileSize": 512,
"style": 'earth',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"replace": [{
"target": "detailsDisplay.style",
"value": {
"template": "{{detailsDisplay.extraParameters.STYLES}}"
},
}],
"target": "detailsDisplay.extraParameters.STYLES",
"values": defaultStyles,
}],
},
"search": {
"protocol": "OpenSearch",
"url": baseUrl + "opensearch/collections/DEM_COP-DEM_EEA-10-INSP/",
"id": "DEM_COP-DEM_EEA-10-INSP",
"histogramBinCount": 28,
"format": "application/atom+xml",
"method": "GET",
"histogramThreshold": 600,
"lightweightBuckets": true,
"searchLimit": 600,
"loadMore": 600,
"pageSize": 200,
"countZeroRecords": true,
"parameters": [
{
"type": "geo:uid",
"title": "Product ID"
},
],
"parametersFilterSettings": {
"collapsed": false,
},
},
"download": {
"protocol": "EO-WCS",
"url": baseUrl + "ows",
"rewrite": {
// add __coverage to the coverageId
"from": "({{id}})",
"to": "$1__coverage"
}
}
},
{
"id": 'DEM_COP-DEM_GLO-30-DTED',
"displayName": 'DEM GLO 30 DTED',
"displayColor": '#e3dc09',
"display": {
"id": 'DEM_COP-DEM_GLO-30-DTED__EARTH',
"visible": true,
"protocol": 'WMTS',
"url": baseUrl + ':83/ows/wmts',
"format": 'image/png',
"projection": 'EPSG:4326',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"target": "display.extraParameters.LAYERS",
"values": [{
"label": "DEM_COP-DEM_GLO-30-DTED earth",
"value": "DEM_COP-DEM_GLO-30-DTED__EARTH",
},{
"label": "DEM_COP-DEM_GLO-30-DTED grayscale",
"value": "DEM_COP-DEM_GLO-30-DTED__GRAYSCALE",
},]
}],
},
"detailsDisplay": {
"id": 'DEM_COP-DEM_GLO-30-DTED',
"visible": true,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"tileSize": 512,
"style": 'earth',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"replace": [{
"target": "detailsDisplay.style",
"value": {
"template": "{{detailsDisplay.extraParameters.STYLES}}"
},
}],
"target": "detailsDisplay.extraParameters.STYLES",
"values": defaultStyles,
}],
},
"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": [
{
"type": "geo:uid",
"title": "Product ID"
},
],
"parametersFilterSettings": {
"collapsed": false,
},
},
"download": {
"protocol": "EO-WCS",
"url": baseUrl + "ows",
"rewrite": {
// add __coverage to the coverageId
"from": "({{id}})",
"to": "$1__coverage"
}
}
},
{
"id": 'DEM_COP-DEM_GLO-30-DGED',
"displayName": 'DEM GLO 30 DGED',
"displayColor": '#09b0e3',
"display": {
"id": 'DEM_COP-DEM_GLO-30-DGED__EARTH',
"visible": true,
"protocol": 'WMTS',
"url": baseUrl + ':83/ows/wmts',
"format": 'image/png',
"projection": 'EPSG:4326',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"target": "display.extraParameters.LAYERS",
"values": [{
"label": "DEM_COP-DEM_GLO-30-DGED earth",
"value": "DEM_COP-DEM_GLO-30-DGED__EARTH",
},{
"label": "DEM_COP-DEM_GLO-30-DGED grayscale",
"value": "DEM_COP-DEM_GLO-30-DGED__GRAYSCALE",
},]
}],
},
"detailsDisplay": {
"id": 'DEM_COP-DEM_GLO-30-DGED',
"visible": true,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"tileSize": 512,
"style": 'earth',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"replace": [{
"target": "detailsDisplay.style",
"value": {
"template": "{{detailsDisplay.extraParameters.STYLES}}"
},
}],
"target": "detailsDisplay.extraParameters.STYLES",
"values": defaultStyles,
}],
},
"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": [
{
"type": "geo:uid",
"title": "Product ID"
},
],
"parametersFilterSettings": {
"collapsed": false,
},
},
"download": {
"protocol": "EO-WCS",
"url": baseUrl + "ows",
"rewrite": {
// add __coverage to the coverageId
"from": "({{id}})",
"to": "$1__coverage"
}
}
},
{
"id": 'DEM_COP-DEM_GLO-90-DGED',
"displayName": 'DEM GLO 90 DGED',
"displayColor": '#f09c00',
"display": {
"id": 'DEM_COP-DEM_GLO-90-DGED__EARTH',
"visible": true,
"protocol": 'WMTS',
"url": baseUrl + ':83/ows/wmts',
"format": 'image/png',
"projection": 'EPSG:4326',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"target": "display.extraParameters.LAYERS",
"values": [{
"label": "DEM_COP-DEM_GLO-90-DGED earth",
"value": "DEM_COP-DEM_GLO-90-DGED__EARTH",
},{
"label": "DEM_COP-DEM_GLO-90-DGED grayscale",
"value": "DEM_COP-DEM_GLO-90-DGED__GRAYSCALE",
},]
}],
},
"detailsDisplay": {
"id": 'DEM_COP-DEM_GLO-90-DGED',
"visible": true,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"tileSize": 512,
"style": 'earth',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"replace": [{
"target": "detailsDisplay.style",
"value": {
"template": "{{detailsDisplay.extraParameters.STYLES}}"
},
}],
"target": "detailsDisplay.extraParameters.STYLES",
"values": defaultStyles,
}],
},
"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": [
{
"type": "geo:uid",
"title": "Product ID"
},
],
"parametersFilterSettings": {
"collapsed": false,
},
},
"download": {
"protocol": "EO-WCS",
"url": baseUrl + "ows",
"rewrite": {
// add __coverage to the coverageId
"from": "({{id}})",
"to": "$1__coverage"
}
}
},
{
"id": 'DEM_COP-DEM_GLO-90-DTED',
"displayName": 'DEM GLO 90 DTED',
"displayColor": '#40b366',
"display": {
"id": 'DEM_COP-DEM_GLO-90-DTED__EARTH',
"visible": true,
"protocol": 'WMTS',
"url": baseUrl + ':83/ows/wmts',
"format": 'image/png',
"projection": 'EPSG:4326',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"target": "display.extraParameters.LAYERS",
"values": [{
"label": "DEM_COP-DEM_GLO-90-DTED earth",
"value": "DEM_COP-DEM_GLO-90-DTED__EARTH",
},{
"label": "DEM_COP-DEM_GLO-90-DTED grayscale",
"value": "DEM_COP-DEM_GLO-90-DTED__GRAYSCALE",
},]
}],
},
"detailsDisplay": {
"id": 'DEM_COP-DEM_GLO-90-DTED',
"visible": true,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"tileSize": 512,
"style": 'earth',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
"name": "Style",
"replace": [{
"target": "detailsDisplay.style",
"value": {
"template": "{{detailsDisplay.extraParameters.STYLES}}"
},
}],
"target": "detailsDisplay.extraParameters.STYLES",
"values": defaultStyles,
}],
},
"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": [
{
"type": "geo:uid",
"title": "Product ID"
},
],
"parametersFilterSettings": {
"collapsed": false,
},
},
"download": {
"protocol": "EO-WCS",
"url": baseUrl + "ows",
"rewrite": {
// add __coverage to the coverageId
"from": "({{id}})",
"to": "$1__coverage"
}
}
},
],
"overlayLayers": [
{
"id": "overlay_base",
"displayName": "EOX Borders and Labels",
"display": {
"id": "overlay_base",
"visible": false,
"protocol": "WMTS",
"urls": [
"//d.tiles.maps.eox.at/wmts/",
"//e.tiles.maps.eox.at/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',
"displayColor": '#eb3700',
"display": {
"id": 'DEM__outlines',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"style": 'red',
"useMilliseconds": false,
"maxZoom": 17,
"synchronizeTime": true,
},
},
{
"id": 'DEM_COP-DEM_EEA-10-DGED__outlines',
"displayName": 'DEM EEA 10 DGED Outlines',
"displayColor": '#adfa28',
"display": {
"id": 'DEM_COP-DEM_EEA-10-DGED__outlines',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"style": 'red',
"useMilliseconds": false,
"maxZoom": 17,
"synchronizeTime": true,
},
},
{
"id": 'DEM_COP-DEM_EEA-10-INSP__outlines',
"displayName": 'DEM EEA 10 INSP Outlines',
"displayColor": '#5d24d1',
"display": {
"id": 'DEM_COP-DEM_EEA-10-INSP__outlines',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"style": 'red',
"useMilliseconds": false,
"maxZoom": 17,
"synchronizeTime": true,
},
},
{
"id": 'DEM_COP-DEM_GLO-30-DTED__outlines',
"displayName": 'DEM GLO 30 DTED Outlines',
"displayColor": '#e3dc09',
"display": {
"id": 'DEM_COP-DEM_GLO-30-DTED__outlines',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"style": 'red',
"useMilliseconds": false,
"maxZoom": 17,
"synchronizeTime": true,
},
},
{
"id": 'DEM_COP-DEM_GLO-30-DGED__outlines',
"displayName": 'DEM GLO 30 DGED Outlines',
"displayColor": '#09b0e3',
"display": {
"id": 'DEM_COP-DEM_GLO-30-DGED__outlines',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"style": 'red',
"useMilliseconds": false,
"maxZoom": 17,
"synchronizeTime": true,
},
},
{
"id": 'DEM_COP-DEM_GLO-90-DGED__outlines',
"displayName": 'DEM GLO 90 DGED Outlines',
"displayColor": '#f09c00',
"display": {
"id": 'DEM_COP-DEM_GLO-90-DGED__outlines',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"style": 'red',
"useMilliseconds": false,
"maxZoom": 17,
"synchronizeTime": true,
},
},
{
"id": 'DEM_COP-DEM_GLO-90-DTED__outlines',
"displayName": 'DEM GLO 90 DTED Outlines',
"displayColor": '#40b366',
"display": {
"id": 'DEM_COP-DEM_GLO-90-DTED__outlines',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + ':81/ows',
"format": 'image/png',
"projection": 'EPSG:4326',
"style": 'red',
"useMilliseconds": false,
"maxZoom": 17,
"synchronizeTime": true,
},
},
]
};
var app = new Application({
config: config,
container: document.getElementById('app'),
});
app.start();
</script>
</body>
</html>
This diff is collapsed.
......@@ -110,26 +110,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": [
......
......@@ -19,22 +19,42 @@
<script>
var today = new Date();
today.setUTCHours(24, 0, 0, 0);
var baseUrl = '//emg.pvs.prism.eox.at/';
var baseUrl = '//emg.pass.copernicus.eu/';
var baseUrlsWMTS = [
'//a.emg.pass.copernicus.eu/cache/ows/wmts',
'//b.emg.pass.copernicus.eu/cache/ows/wmts',
'//c.emg.pass.copernicus.eu/cache/ows/wmts',
'//d.emg.pass.copernicus.eu/cache/ows/wmts',
'//e.emg.pass.copernicus.eu/cache/ows/wmts',
'//f.emg.pass.copernicus.eu/cache/ows/wmts',
'//g.emg.pass.copernicus.eu/cache/ows/wmts',
'//h.emg.pass.copernicus.eu/cache/ows/wmts',
];
var baseUrlsOws = [
'//a.emg.pass.copernicus.eu/ows',
'//b.emg.pass.copernicus.eu/ows',
'//c.emg.pass.copernicus.eu/ows',
'//d.emg.pass.copernicus.eu/ows',
'//e.emg.pass.copernicus.eu/ows',
'//f.emg.pass.copernicus.eu/ows',
'//g.emg.pass.copernicus.eu/ows',
'//h.emg.pass.copernicus.eu/ows',
];
var config = {
"settings": {
"rightPanelOpen": true,
"leftPanelOpen": false,
"leftPanelTabIndex": 0,
"tutorial": "once",
"uploadEnabled": false,
"uploadEnabled": true,
"selectFilesDownloadEnabled": false,
"downloadEnabled": true,
"searchEnabled" : true,
"searchDebounceTime": 500,
"language": "en",
"timeDomain": [
"2015-01-01T00:00:00Z",
today.toISOString(),
"2008-01-01T00:00:00Z",
today,
],
"constrainTimeDomain": true,
"displayTimeDomain": [
......@@ -110,26 +130,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": [
......@@ -141,6 +145,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/"
],
......@@ -158,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/"
],
......@@ -175,6 +185,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/"
],
......@@ -194,11 +207,12 @@
"display": {
"id": 'Emergency__TRUE_COLOR',
"visible": true,
"protocol": 'WMS',
"url": baseUrl + 'cache/ows',
"protocol": 'WMTS',
"urls": baseUrlsWMTS,
"format": 'image/png',
"projection": 'EPSG:4326',
"style": '',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
......@@ -237,6 +251,10 @@
"type": "eo:cloudCover",
"title": "Cloud Coverage"
},
{
"type": "geo:uid",
"title": "Product ID"
},
],
"parametersFilterSettings": {
"collapsed": false,
......@@ -263,8 +281,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",
......@@ -281,7 +302,7 @@
"id": 'Emergency__outlines',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + 'ows',
"urls": baseUrlsOws,
"format": 'image/png',
"projection": 'EPSG:4326',
"style": 'red',
......
......@@ -108,26 +108,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": [
......
......@@ -17,14 +17,34 @@
<div id="app" style="width: 100%; top: 60px; bottom: 0; position: absolute; margin: 0; padding:0;"></div>
<script src="prism.js"></script>
<script>
var baseUrl = '//vhr18.pvs.prism.eox.at/';
var baseUrl = '//vhr18.pass.copernicus.eu/';
var baseUrlsWMTS = [
'//a.vhr18.pass.copernicus.eu/cache/ows/wmts',
'//b.vhr18.pass.copernicus.eu/cache/ows/wmts',
'//c.vhr18.pass.copernicus.eu/cache/ows/wmts',
'//d.vhr18.pass.copernicus.eu/cache/ows/wmts',
'//e.vhr18.pass.copernicus.eu/cache/ows/wmts',
'//f.vhr18.pass.copernicus.eu/cache/ows/wmts',
'//g.vhr18.pass.copernicus.eu/cache/ows/wmts',
'//h.vhr18.pass.copernicus.eu/cache/ows/wmts',
];
var baseUrlsOws = [
'//a.vhr18.pass.copernicus.eu/ows',
'//b.vhr18.pass.copernicus.eu/ows',
'//c.vhr18.pass.copernicus.eu/ows',
'//d.vhr18.pass.copernicus.eu/ows',
'//e.vhr18.pass.copernicus.eu/ows',
'//f.vhr18.pass.copernicus.eu/ows',
'//g.vhr18.pass.copernicus.eu/ows',
'//h.vhr18.pass.copernicus.eu/ows',
];
var config = {
"settings": {
"rightPanelOpen": true,
"leftPanelOpen": false,
"leftPanelTabIndex": 0,
"tutorial": "once",
"uploadEnabled": false,
"uploadEnabled": true,
"selectFilesDownloadEnabled": false,
"downloadEnabled": true,
"searchEnabled" : true,
......@@ -108,26 +128,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": [
......@@ -139,8 +143,11 @@
"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/"
"//e.s2maps-tiles.eu/wmts/",
],
"matrixSet": "WGS84",
"format": "image/png",
......@@ -156,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/"
],
......@@ -173,6 +183,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/"
],
......@@ -192,11 +205,12 @@
"display": {
"id": 'VHR_IMAGE_2018_Level_1__TRUE_COLOR',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + 'cache/ows',
"protocol": 'WMTS',
"urls": baseUrlsWMTS,
"format": 'image/png',
"projection": 'EPSG:4326',
"style": '',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
......@@ -261,11 +275,12 @@
"display": {
"id": 'VHR_IMAGE_2018_Level_3__TRUE_COLOR',
"visible": true,
"protocol": 'WMS',
"url": baseUrl + 'cache/ows',
"protocol": 'WMTS',
"urls": baseUrlsWMTS,
"format": 'image/png',
"projection": 'EPSG:4326',
"style": '',
"matrixSet": "WGS84",
"style": 'default',
"useMilliseconds": false,
"maxZoom": 17,
"options": [{
......@@ -333,8 +348,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",
......@@ -351,7 +369,7 @@
"id": 'VHR_IMAGE_2018_Level_3__outlines',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + 'ows',
"urls": baseUrlsOws,
"format": 'image/png',
"projection": 'EPSG:4326',
"style": 'red',
......@@ -366,12 +384,14 @@
"display": {
"id": 'VHR_IMAGE_2018_Level_3__masked_validity__Full',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + 'cache/ows',
"protocol": 'WMTS',
"urls": baseUrlsWMTS,
"format": 'image/png',
"projection": 'EPSG:4326',
"matrixSet": "WGS84",
"maxZoom": 17,
"synchronizeTime": false,
"style": "default",
},
},
{
......@@ -380,12 +400,14 @@
"display": {
"id": 'VHR_IMAGE_2018_Level_3__Full',
"visible": false,
"protocol": 'WMS',
"url": baseUrl + 'cache/ows',
"protocol": 'WMTS',
"urls": baseUrlsWMTS,
"format": 'image/png',
"projection": 'EPSG:4326',
"matrixSet": "WGS84",
"maxZoom": 17,
"synchronizeTime": false,
"style": "default",
},
}
]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment