-
Notifications
You must be signed in to change notification settings - Fork 3
/
simplifiedDownloads.html
245 lines (202 loc) · 10.2 KB
/
simplifiedDownloads.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
<!DOCTYPE HTML>
<!--
Verti by HTML5 UP
html5up.net | @ajlkn
Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
-->
<html>
<head>
<title>geoBoundaries</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no" />
<link rel="stylesheet" href="assets/css/main.css" />
<link rel="stylesheet" href="assets/css/tabulator.css">
<link rel="stylesheet" href="assets/css/BeerSlider.css" />
<link rel="stylesheet" type="text/css" href="assets/js/slick/slick.css" />
<script type="text/javascript" src="assets/js/tabulator.js"></script>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-9276981-3"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() { dataLayer.push(arguments); }
gtag('js', new Date());
gtag('config', 'UA-9276981-3');
</script>
<!-- Global site tag (gtag.js) - Google Ads: 984002936 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=AW-984002936"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'AW-984002936');
</script>
<!-- Event snippet for Website traffic conversion page -->
<script>
gtag('event', 'conversion', {'send_to': 'AW-984002936/BycZCJ_8kdMBEPjimtUD'});
</script>
</head>
<body class="is-preload left-sidebar">
<div id="page-wrapper">
<!-- Header & Nav -->
<div id="header-wrapper">
<header id="header" class="container">
<!-- Logo -->
<div id="logo">
<h1><a href="index.html">geoBoundaries</a></h1>
<span><a href="http://geolab.wm.edu">@ William & Mary</a></span>
</div>
<nav id="nav">
<ul>
<li>
<a href="visualize.html">Visualize Data</a>
</li>
<li>
<a href="index.html#features-wrapper">Download Data</a>
</li>
<li>
<a href="api.html">API</a>
</li>
<li>
<a href="contribute.html">Get Involved</a>
</li>
</ul>
</nav>
</header>
</div>
<!-- Main -->
<div id="main-wrapper">
<div class="container">
<div class="row gtr-200">
<div class="col-4 col-12-medium">
<div id="sidebar">
<!-- Sidebar -->
<section>
<h3>Simplified Country Files</h3>
<p>On this page, you'll find download links for the geoBoundaries simplified dataset, which is less accurate, but much faster rendering. The geoBoundaries open license (<a href="https://creativecommons.org/licenses/by/4.0/">CC-BY 4.0</a>) country dataset seeks to represent every nation "as they would represent themselves", with no special identification of disputed areas. If you would prefer data that explicitly includes disputed areas, please see the global composite dataset. <b><a href="index.html#usage">Attribution</a> is required for all uses of this dataset</b>. </p>
<footer>
<div style="overflow:hidden;"><a href="countryDownloads.html" style="width:100%;position:relative;top:20px;padding-top:5px;padding-bottom:-10px;" class="button icon solid fa-flag">Single Country Files <span style="font-size:0.5em;position:relative;top:-15px;line-height:0px;left:30px;"><br />Files for individual countries</span></a></div>
<div style="overflow:hidden;"><a href="globalDownloads.html" style="width:100%;position:relative;top:20px;padding-top:5px;padding-bottom:-10px;" class="button icon solid fa-globe">Global Files <span style="font-size:0.5em;position:relative;top:-15px;line-height:0px;left:30px;"><br />A single file for the entire globe</span></a></div>
<div style="overflow:hidden;"><a href="simplifiedDownloads.html" style="width:100%;position:relative;top:20px;padding-top:5px;padding-bottom:-10px;" class="button icon solid fa-map">Simplified Files <span style="font-size:0.5em;position:relative;top:-15px;line-height:0px;left:30px;"><br />Smaller files for visualization</span></a></div>
</footer>
</section>
</div>
</div>
<div class="col-8 col-12-medium imp-medium">
<div id="content">
<!-- Content -->
<article>
<div class="row gtr-200" >
<div class="col-6 col-12-medium" >
<div class="image object" id="imageRotate" style="max-height:250px;max-width:500px;height:auto;width:auto;">
<div id="slider3" class="beer-slider" data-beer-label="High Resolution">
<img src="images/ADM0_sim25.jpg" alt="">
<div class="beer-reveal" data-beer-label="Simplified">
<img src="images/ADM0_sim10.jpg" alt="">
</div>
</div>
<div id="slider" class="beer-slider" data-beer-label="High Resolution">
<img src="images/ADM2_sim25.jpg" alt="">
<div class="beer-reveal" data-beer-label="Simplified">
<img src="images/ADM2_sim10.jpg" alt="">
</div>
</div>
<div id="slider2" class="beer-slider" data-beer-label="High Resolution">
<img src="images/ADM1_sim25.jpg" alt="">
<div class="beer-reveal" data-beer-label="Simplified">
<img src="images/ADM1_sim10.jpg" alt="">
</div>
</div>
</div>
</div>
<div class="col-6 col-12-medium">
<blockquote>Our single-file global products are heavily simplified and gap filled, as contrasted to our full resolution single-country products. An example of the difference between resolutions can be seen here to help you choose the best product for your use. </blockquote>
</div>
</div>
<p> <div id="dataTableRep" style="max-width:100%;">
Loading...
</div></p>
<script>
var downloadSingleIcon = function (cell, formatterParams) {
if (typeof cell.getValue() != "undefined") {
return "<i class='fa fa-download'></i>";
}
}
var downloadSimpleIcon = function (cell, formatterParams) {
if (typeof cell.getValue() != "undefined") {
return "<i class='fa fa-save'></i>";
}
}
var interactivePreview = function (cell, formatterParams) {
if (typeof cell.getValue() != "undefined") {
return "<i class='fa fa-eye'></i>";
}
}
var iconFormatter = function (cell, row, formatterParams) { //plain text value
if (typeof cell.getValue() != "undefined") {
return "<a href='" + cell.getValue() + "' target='_blank'><img width=50px src='" + cell.getValue() + "'></a>";
}
};
var tableA = new Tabulator("#dataTableRep", {
ajaxURL: "https://www.geoboundaries.org/api/current/gbOpen/ALL/ALL/", //ajax URL
height: screen.height * 0.75,
layout: "fitDataStretch",
autoResize:true,
resizableColumns: true,
responsiveLayout: "collapse",
//groupBy: ["Continent", "boundaryName"],
//autoColumns:true,
columns: [ //define the table columns
{ formatter: downloadSingleIcon, title: "", align: "center", field: "staticDownloadLink", headerVertical: false, responsive: 0, cellClick: function (e, cell) { window.open(encodeURI(cell.getRow().getData()["staticDownloadLink"].replace("https://g", "https://www.g"))) }},
{ title: "Name", field: "boundaryName", visible: true, responsive: 0, headerFilter: 'input', width: "20px", headerVertical: false },
{ title: "ISO-3", field: "boundaryISO", visible: true, responsive: 0, headerFilter: 'input', width: "12px", headerVertical: false },
{ title: "Type", field: "boundaryType", visible: true, responsive: 0, headerVertical: false },
{ title: "Year", width:"10px", field: "boundaryYearRepresented", headerVertical: false, },
{ title: "Source", field: "boundarySource", headerVertical: false, responsive: 1, width: "20px", visible: true }
]
});
</script>
</article>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<div data-include="_includes/footer.shtml"></div>
</div>
<!-- Scripts -->
<script src="assets/js/jquery.min.js"></script>
<script src="assets/js/jquery.dropotron.min.js"></script>
<script src="assets/js/browser.min.js"></script>
<script src="assets/js/breakpoints.min.js"></script>
<script src="assets/js/util.js"></script>
<script src="assets/js/main.js"></script>
<script src="assets/js/HTMLInclude.min.js"></script>
<script src="assets/js/jquery.easytabs.js" type="text/javascript"></script>
<script src="assets/js/BeerSlider.js" type="text/javascript"></script>
<script type="text/javascript" src="assets/js/slick/slick.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
$('#tab-container').easytabs();
$('#imageRotate').slick({
appendArrows:"#arrowHold",
dots: false,
draggable: false,
infinite: true,
slidesToShow: 1,
centerMode: false,
centerPadding: '40px',
autoplay: false,
variableWidth: false,
accessibility: false,
arrows: false,
prevArrow:'<div style="width:100%"><button type="button" class="slick-prev">Previous</button>',
nextArrow:'<button type="button" class="slick-next" style="margin-left:10px;">Next</button></div>'
});
});
new BeerSlider(document.getElementById('slider'));
new BeerSlider(document.getElementById('slider2'));
new BeerSlider(document.getElementById('slider3'));
</script>
</body>
</html>