This repository has been archived by the owner on May 20, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:eoxc/CODE-DE
- Loading branch information
Showing
14 changed files
with
418 additions
and
86 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,267 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<title>EOxC Demo Sentinel-Hub</title> | ||
<link rel="stylesheet" href="static/code-de.css"/> | ||
<link rel="stylesheet" href="static/fonts.css"/> | ||
<style> | ||
#header .navbar.static { | ||
top: 0 !important; | ||
} | ||
#header .navbar-collapse { | ||
background: #373B50; | ||
text-align: right; | ||
} | ||
#header { | ||
min-height: auto; | ||
} | ||
</style> | ||
</head> | ||
<body class="page-catalogclient i18n-en"> | ||
<header id="header"> | ||
<nav class="navbar static"> | ||
<div class="container"> | ||
<div class="navbar-header"> | ||
<div class="navbar-brand-centered"> | ||
<h1 style="color: white">EOxC Demo Sentinel-Hub</h1> | ||
</div> | ||
</div> | ||
</div> | ||
</nav> | ||
</header> | ||
|
||
<div id="app" style="width: 100%; top: 55px; bottom: 0; position: absolute; margin: 0; padding:0;"></div> | ||
<script src="code-de.bundle.js"></script> | ||
<script> | ||
var config = { | ||
"settings": { | ||
"rightPanelOpen": true, | ||
"leftPanelOpen": true, | ||
"language": "en", | ||
"tutorial": "once", | ||
"center": [15, 50], | ||
"zoom": 4, | ||
"minZoom": 4, | ||
"maxZoom": 15, | ||
"searchDebounceTime": 250, | ||
"timeSliderControls": true, | ||
"timeDomain": [ | ||
"2015-01-01T00:00:00Z", | ||
"2017-07-31T23:59:59Z" | ||
], | ||
"contrainTimeDomain": true, | ||
"selectedTimeDomain": [ | ||
"2017-07-20T00:00:00Z", | ||
"2017-07-26T23:59:59Z" | ||
], | ||
"selectableInterval": "P1M", | ||
"displayTimeDomain": [ | ||
"2017-07-01T00:00:00Z", | ||
"2017-07-31T23:59:59Z" | ||
], | ||
"footprintFillColor": "rgba(255, 255, 255, 0.2)", | ||
"footprintStrokeColor": "rgba(255, 255, 255, 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.2)", | ||
"highlightStrokeColor": "rgba(246, 182, 0, 1)", | ||
"highlightStrokeWidth": 3, | ||
"maxTooltips": 1, | ||
"parameters": [ | ||
{ | ||
"type": "eo:cloudCover", | ||
"title": "Cloud Coverage in percent", | ||
"max": 100, | ||
"min": 0, | ||
"range": true | ||
}, | ||
{ | ||
"type": "eo:resolution", | ||
"options": [{ | ||
"label": "10m", | ||
"value": "10", | ||
}, { | ||
"label": "20m", | ||
"value": "20", | ||
}, { | ||
"label": "60m", | ||
"value": "60", | ||
}] | ||
} | ||
], | ||
"translations": { | ||
"en": { | ||
"Cloud Cover": "Cloud coverage (%)" | ||
} | ||
} | ||
}, | ||
"baseLayers": [ | ||
{ | ||
"id": "s2cloudless", | ||
"displayName": "Sentinel-2 cloudless", | ||
"display": { | ||
"id": "s2cloudless", | ||
"visible": true, | ||
"protocol": "WMTS", | ||
"urls": [ | ||
"http://a.tiles.maps.eox.at/wmts/", | ||
"http://b.tiles.maps.eox.at/wmts/", | ||
"http://c.tiles.maps.eox.at/wmts/", | ||
"http://d.tiles.maps.eox.at/wmts/", | ||
"http://e.tiles.maps.eox.at/wmts/" | ||
], | ||
"matrixSet": "WGS84", | ||
"format": "image/png", | ||
"projection": "EPSG:4326", | ||
"style": "default", | ||
"attribution": "<a class=\"a-light\" xmlns:dct=\"http://purl.org/dc/terms/\" href=\"https://s2maps.eu\" property=\"dct:title\">Sentinel-2 cloudless</a> by <a class=\"a-light\" xmlns:cc=\"http://creativecommons.org/ns#\" href=\"https://eox.at\" property=\"cc:attributionName\" rel=\"cc:attributionURL\">EOX IT Services GmbH</a> (Contains modified Copernicus Sentinel data 2016)" | ||
} | ||
}, { | ||
"id": "terrain-light", | ||
"displayName": "Terrain-Light", | ||
"display": { | ||
"id": "terrain-light", | ||
"visible": false, | ||
"protocol": "WMTS", | ||
"urls": [ | ||
"http://a.tiles.maps.eox.at/wmts/", | ||
"http://b.tiles.maps.eox.at/wmts/", | ||
"http://c.tiles.maps.eox.at/wmts/", | ||
"http://d.tiles.maps.eox.at/wmts/", | ||
"http://e.tiles.maps.eox.at/wmts/" | ||
], | ||
"matrixSet": "WGS84", | ||
"format": "image/png", | ||
"projection": "EPSG:4326", | ||
"style": "default", | ||
"attribution": "Terrain-Light { Data © <a href=\"http://www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a> contributors and <a href='javascript:;' onClick='toggle(terrain_attribution)'>others</a>, Rendering © <a href=\"http://eox.at\" target=\"_blank\">EOX</a> }" | ||
} | ||
}, { | ||
"id": "terrain", | ||
"displayName": "Terrain", | ||
"display": { | ||
"id": "terrain", | ||
"visible": false, | ||
"protocol": "WMTS", | ||
"urls": [ | ||
"http://a.tiles.maps.eox.at/wmts/", | ||
"http://b.tiles.maps.eox.at/wmts/", | ||
"http://c.tiles.maps.eox.at/wmts/", | ||
"http://d.tiles.maps.eox.at/wmts/", | ||
"http://e.tiles.maps.eox.at/wmts/" | ||
], | ||
"matrixSet": "WGS84", | ||
"format": "image/png", | ||
"projection": "EPSG:4326", | ||
"style": "default", | ||
"attribution": "Terrain { Data © <a href=\"http://www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a> contributors and <a href='javascript:;' onClick='toggle(terrain_attribution)'>others</a>, Rendering © <a href=\"http://eox.at\" target=\"_blank\">EOX</a> }" | ||
} | ||
}, { | ||
"id": "bluemarble", | ||
"displayName": "Blue Marble", | ||
"display": { | ||
"id": "bluemarble", | ||
"visible": false, | ||
"protocol": "WMTS", | ||
"urls": [ | ||
"http://a.tiles.maps.eox.at/wmts/", | ||
"http://b.tiles.maps.eox.at/wmts/", | ||
"http://c.tiles.maps.eox.at/wmts/", | ||
"http://d.tiles.maps.eox.at/wmts/", | ||
"http://e.tiles.maps.eox.at/wmts/" | ||
], | ||
"matrixSet": "WGS84", | ||
"format": "image/png", | ||
"projection": "EPSG:4326", | ||
"style": "default", | ||
"attribution": "Blue Marble { © <a href=\"http://nasa.gov\" target=\"_blank\">NASA</a> }" | ||
} | ||
} | ||
], | ||
"layers": [ | ||
{ | ||
"id": "Sentinel-2", | ||
"displayName": "Sentinel-2", | ||
"displayColor": "rgba(51, 102, 204, 1)", | ||
"display": { | ||
"id": "", | ||
"visible": true, | ||
"protocol": "WMS", | ||
"urls": [ | ||
"" | ||
] | ||
}, | ||
"search": { | ||
"protocol": "OpenSearch", | ||
"url": "http://ows.eox.at/sentinel-hub/sentinel-hub.osdd", | ||
"id": "S2", | ||
"histogramBinCount": 30, | ||
"format": "application\/atom+xml", | ||
"method": "GET", | ||
"histogramThreshold": 600, | ||
"lightweightBuckets": true, | ||
"searchLimit": 600, | ||
"loadMore":300 | ||
}, | ||
"download": { | ||
"protocol": "OpenSearch" | ||
} | ||
} | ||
], | ||
"overlayLayers": [ | ||
{ | ||
"id": "coastline", | ||
"displayName": "Coastline", | ||
"display": { | ||
"id": "coastline", | ||
"visible": false, | ||
"protocol": "WMTS", | ||
"urls": [ | ||
"http://a.tiles.maps.eox.at/wmts/", | ||
"http://b.tiles.maps.eox.at/wmts/", | ||
"http://c.tiles.maps.eox.at/wmts/", | ||
"http://d.tiles.maps.eox.at/wmts/", | ||
"http://e.tiles.maps.eox.at/wmts/" | ||
], | ||
"matrixSet": "WGS84", | ||
"style": "default", | ||
"format": "image/png", | ||
"attribution": "Overlay { Data © <a href=\"http://www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a> contributors, Rendering © <a href=\"http://eox.at\" target=\"_blank\">EOX</a> and <a href=\"https://github.com/mapserver/basemaps\" target=\"_blank\">MapServer</a> }" | ||
} | ||
}, | ||
{ | ||
"id": "overlay_base", | ||
"displayName": "Borders and Labels", | ||
"display": { | ||
"id": "overlay_base", | ||
"visible": false, | ||
"protocol": "WMTS", | ||
"urls": [ | ||
"http://a.tiles.maps.eox.at/wmts/", | ||
"http://b.tiles.maps.eox.at/wmts/", | ||
"http://c.tiles.maps.eox.at/wmts/", | ||
"http://d.tiles.maps.eox.at/wmts/", | ||
"http://e.tiles.maps.eox.at/wmts/" | ||
], | ||
"matrixSet": "WGS84", | ||
"style": "default", | ||
"format": "image/png", | ||
"projection": "EPSG:4326", | ||
"attribution": "Overlay { Data © <a href=\"http://www.openstreetmap.org/copyright\" target=\"_blank\">OpenStreetMap</a> contributors, Rendering © <a href=\"http://eox.at\" target=\"_blank\">EOX</a> and <a href=\"https://github.com/mapserver/basemaps\" target=\"_blank\">MapServer</a> }" | ||
} | ||
} | ||
] | ||
}; | ||
|
||
var app = new Application({ | ||
config: config, | ||
container: document.getElementById('app') | ||
}); | ||
app.start(); | ||
</script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
fonts/ |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.