-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (63 loc) · 2.63 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Car Removals | utf9k</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
body {
margin: 0;
font-family: sans-serif;
width: 100vw;
height: 100vh;
overflow: hidden;
}
.explainer {
text-size-adjust: 100%;
box-sizing: border-box;
font: 12px / 18px Helvetica, Arial, sans-serif;
position: absolute;
top: 0px;
right: 0px;
width: 344px;
background: rgb(255, 255, 255);
box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
margin: 24px;
padding: 10px 24px;
max-height: 96%;
overflow: hidden overlay;
outline: none;
z-index: 1;
}
@media screen and (max-width: 900px) {
.explainer {
visibility: hidden;
}
}
</style>
</head>
<body>
<div class="explainer">
<h2>Vehicles towed in Auckland, NZ</h2>
<div>
<p>This is a visualisation of vehicles that were towed between August 2016 to July 2019.</p>
<p>It simulates all vehicles as if they were being towed all at the same time although the exact route to their destination is exaggerated for artist effect.</p>
<p><strong>Click and drag</strong> to move around</p>
<p>Hold <strong>Shift</strong> while dragging to change view angle.</p>
<p>Resources used:</p>
<ul>
<li><a href="https://fyi.org.nz/request/11018-request-of-towing-data-for-three-tamaki-makaurau-police-districts#incoming-39588">Towing data sourced from NZ Police via OIA</a></li>
<li><a href="https://data.linz.govt.nz/layer/53353-nz-street-address/">NZ Street Address (LDS)</li>
<li><a href="https://openrouteservice.org/">Openrouteservice</a></li>
<li><a href="http://download.geofabrik.de/australia-oceania/new-zealand.html">Geofabrik OSM extract for New Zealand</a></li>
<li><a href="https://deck.gl/">deck.gl</a></li>
<li><a href="https://sqlite-utils.datasette.io/en/stable/">sqlite-utils</a></li>
</ul>
<p>Feel free to check out the <a href="https://github.com/marcus-crane/towing.utf9k.net">map source code</a> or <a href="https://github.com/marcus-crane/datasets/tree/main/auckland-towing">the scripts used</a> to cleanse and generate routing data.</p>
</div>
<a href="#" onclick="document.querySelector('.explainer').style.visibility = 'hidden'">[ Hide this window ]</a>
</div>
<div id="app"></div>
</body>
<script src="./index.jsx" type="module"></script>
</html>