-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
305 lines (271 loc) · 8.33 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
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
115
116
117
118
119
120
121
122
123
124
125
126
127
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
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
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
305
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description"
content="Only high resolution (<= 2 m) and middle resolution (2 - 30m) Digital Terrain Models (DTM) and Digital Surface Models (DSM) on a country or state scale are taken into acount with a free license in the sense of the Open Knowlege Network.">
<meta name="keywords" content="open data, elevation models, terrain models, surface models">
<meta name="author" content="[email protected]">
<title>OpenDEM Searcher</title>
<style>
.helpimage {
right: 5px;
top: 5px;
background-color: unset !important;
text-align: left;
margin: 0 auto;
}
.help {
display: none;
z-index: 9999;
position: absolute;
background-color: white;
padding: 10px;
width: 590px;
height: 490px;
top: 10px;
left: 50px;
overflow: auto;
border: solid;
}
.inspect-layer {
font-weight: 700;
text-shadow: 0px 0px 30px white, 0px 0px 30px white, 0px 0px 30px white, 0px 0px 10px white, 0px 0px 10px white;
}
.inspect-layer-deactive {
display: none;
font-weight: 700;
text-shadow: 0px 0px 30px white, 0px 0px 30px white, 0px 0px 30px white, 0px 0px 10px white, 0px 0px 10px white;
}
/* Tabs */
ul.tab {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
}
ul.tab li {
float: left;
border: 1px solid #ccc;
background-color: #f1f1f1;
}
ul.tab li a {
display: inline-block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
transition: 0.3s;
font-size: 17px;
}
ul.tab li a:hover {
background-color: #aad3df;
}
ul.tab li a:focus,
.active {
background-color: #aad3df;
}
.tabcontent {
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
position: absolute;
top: 50px;
}
table {
border-collapse: collapse;
}
table,
th,
td {
border: 1px solid black;
}
ul.tab li a:focus,
.active {
background-color: #aad3df;
}
.ol-popup-bottom {
background-color: white;
-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
padding: 15px;
border-radius: 10px;
border: 1px solid #cccccc;
bottom: -12px;
left: -50px;
min-width: 400px;
z-index: 99999;
position: relative;
}
.ol-popup-bottom:after,
.ol-popup-bottom:before {
top: -4%;
/*border: solid transparent;*/
border-left: 5px solid transparent;
border-right: 5px solid transparent;
border-bottom: 5px solid white;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.ol-popup-bottom:after {
border-top-color: white;
border-width: 10px;
left: 48px;
margin-left: -10px;
}
.ol-popup-bottom:before {
border-top-color: #cccccc;
border-width: 11px;
left: 48px;
margin-left: -11px;
}
.ol-popup {
position: absolute;
background-color: white;
-webkit-filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.2));
padding: 15px;
border-radius: 10px;
border: 1px solid #cccccc;
bottom: 12px;
left: -50px;
min-width: 400px;
z-index: 99999;
}
.ol-popup:after,
.ol-popup:before {
top: 100%;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}
.ol-popup:after {
border-top-color: white;
border-width: 10px;
left: 48px;
margin-left: -10px;
}
.ol-popup:before {
border-top-color: #cccccc;
border-width: 11px;
left: 48px;
margin-left: -11px;
}
.ol-popup-closer {
text-decoration: none;
position: absolute;
top: 2px;
right: 8px;
}
.ol-popup-closer:after {
content: "✖";
}
#regionname {
position: absolute;
z-index: 9999999;
left: 50px;
top: 10px;
border: 10px solid white;
background-color: white;
}
</style>
<script>
function switchTabs(evt, tabId) {
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
if (tabId === 'tab1') {
document.getElementById('tab1').style.display = "block";
document.getElementById('tab2').style.display = "none";
} else {
document.getElementById('tab2').style.display = "block";
document.getElementById('tab1').style.display = "none";
}
evt.currentTarget.className += " active";
}
</script>
</head>
<body>
<div id="map"></div>
<div id="popup" class="ol-popup">
<a href="#" id="popup-closer" class="ol-popup-closer"></a>
<div id="popup-content"></div>
</div>
<div id="help" class="help" style="display: none;">
<h1>Help for the Open DEM Searcher</h1>
<h4>Only high resolution (<= 2 m) and middle resolution (2 - 30m) Digital Terrain Models (DTM) and Digital
Surface
Models (DSM) on a country or state scale are taken into acount with a free license in the sense of the <a
target="_blank" href="https://okfn.org/opendata/">Open Knowlege Network</a>.</h4>
<p>When you move the mouse over a region, the name is displayed in the upper left corner.</p>
<p>Switch between the high and middle resolution layers with the radio buttons at the bottom left corner.</p>
<p>Click in the map on a red marked regions to display the following information:</p>
<table>
<tbody>
<tr>
<td>Region: </td>
<td>Country or state (or other typical field administration unit of the sovereign state).</td>
</tr>
<tr>
<td>Distributor:</td>
<td>Distributor of the data with a link.</td>
</tr>
<tr>
<td>License: </td>
<td>License of the data with a link to the license or the distributors in case of a data collection. </td>
</tr>
<tr>
<td>Data type: </td>
<td>Type of the data like raster, vector (countour lines) or pointclouds. Sometimes more specific information
is provided like <a target="_blank"
href="https://www.asprs.org/committee-general/laser-las-file-format-exchange-activities.html">LAS</a>
data. </td>
</tr>
<tr>
<td>Resolution: </td>
<td>Resolution of the dataset specified in meters. For point clouds the points per m2 are specified.</td>
</tr>
<tr>
<td>Link DTM: </td>
<td>Link to the DTM dataset. </td>
</tr>
<tr>
<td>Link DSM: </td>
<td>Link to the DSM dataset. </td>
</tr>
<tr>
<td>Comment: </td>
<td>Comment </td>
</tr>
</tbody>
</table>
<h4>
Please report any broken links: contact(at)opendendata.info, Thanks!
</h4>
<p><b>Other sources, catalogues and lists for open high and middle resolution DEM data:</b>
<ul>
<li><a target="_blank" href="https://opentopography.org/" title="OpenTopography">OpenTopography</a>: Community
lidar
datastes</li>
<li><a target="_blank" href="https://en.wikipedia.org/wiki/National_lidar_dataset"
title="Wikipedia National Lidar Dataset">Wikipedia National Lidar Dataset</a></li>
<li><a target="_blank" href="https://en.wikipedia.org/wiki/National_Lidar_Dataset_(United_States)"
title="Wikipedia National Lidar Dataset (United States)">Wikipedia National Lidar Dataset (United States)</a>
</li>
<li><a target="_blank" href="https://hub.arcgis.com/search" title="ArcGIS OpenData Catalog">ArcGIS OpenData
Catalog</a></li>
<li><a target="_blank" href="https://github.com/openterrain/openterrain/wiki/Terrain-Data"
title="OpenTerrain List">OpenTerrain List</a></li>
</ul>
</div>
<script type="module" src="./main.js"></script>
</body>
</html>