-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathindex.html
271 lines (260 loc) · 13.8 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>achavi - Augmented OSM Change Viewer [attic]</title>
<base target="_blank">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/openlayers/[email protected]/theme/default/style.css" type="text/css" />
<link rel="stylesheet" href="css/oscviewer.css" type="text/css" />
</head>
<body>
<div id="map_div"></div>
<div id="top_control_row">
<div id="fileinput_border" class="border">
<div id="fileinput_div">
<input id="fileinput" type="file" name="file" />
</div>
</div>
<div id="top_buttons_border" class="border">
<div id="bbox_button" class="button left_button">
bbox
</div>
<div id="live_button" class="button inner_button hidden">
live
</div>
<div id="clear_button" class="button right_button">
clear
</div>
</div>
<!-- Diff -->
<div id="top_buttons_border" class="border inner_border">
<div class="control_input inner_button">
<input type="text" id="fromDatetime">
</div>
<div class="control_input inner_button">
<input type="text" id="toDatetime" placeholder="now">
</div>
<div class="control_input inner_button" hidden>
<textarea rows="1" id="query" placeholder="(node(bbox)(changed);way(bbox)(changed););"></textarea>
</div>
<div class="control_checkbox inner_button">
<input type="checkbox" id="relations"/>
</div>
<div class="text_content inner_label">relations</div>
<div id="load_button" class="button right_button">
load
</div>
</div>
<!-- Loading panel (spinner + cancel) -->
<div id="loading" class="border inner_border hidden">
<div id="spinner" class="text_content left_button">
</div>
<div id="cancel_button" class="button right_button">
cancel
</div>
</div>
<!-- Player (disabled) -->
<div id="top_buttons_border" class="border inner_border hidden">
<div id="fast_backward_button" class="button left_button">
<<
</div>
<div id="backward_button" class="button inner_button">
<
</div>
<div class="datetime_buttons inner_button">
<div id="last_visit_button" class="button">last</div>
<div id="now_button" class="button">now</div>
</div>
<div class="control_input inner_button">
<input type="text" id="datetime">
</div>
<div id="load_button" class="button inner_button">
load
</div>
<div id="forward_button" class="button inner_button">
>
</div>
<div id="fast_forward_button" class="button right_button">
>>
</div>
</div>
<div id="status_bar_border" class="border inner_border hidden">
<div id="status_bar" class="text_content">
<span class="status_label">nxt</span>
<span id="status_countdown" class="status_field"></span>
<span class="status_label">tim</span>
<span id="status_time" class="status_field">-</span>
<span class="status_label">cnt</span>
<span id="status_count" class="status_field">-</span>
<span class="status_label">seq</span>
<span id="status_sequence" class="status_field">-</span>
<span class="status_label">chg</span>
<span id="status_total_changes" class="status_field">-</span>
<span class="status_label">new</span>
<span id="status_new_changes" class="status_field">-</span>
<span class="status_label">err</span>
<span id="status_errors" class="status_field">-</span>
</div>
</div>
</div>
<div id="bottom_buttons">
<div class="bottom_buttons_cell">
<div class="border">
<div id="legend">
<div id="legend_button" class="button">legend</div>
<div id="legend_content" class="hidden text_content">
<strong>Legend</strong>
<p>
<table>
<tr><td class="legend_created"></td><td>created</td></tr>
<tr><td class="legend_deleted"></td><td>deleted</td></tr>
<tr><td class="modified"></td><td>modified, tags only</td></tr>
<tr><td class="legend_geom_new"></td><td>modified, new geometry</td></tr>
<tr><td class="legend_geom_old"></td><td>modified, old geometry</td></tr>
<tr><td class="legend_symbol">
<svg style="display: block;" width="18" height="18" viewBox="0 0 18 18">
<circle cx="9" cy="9" r="4" style="" fill="#FAF797" fill-opacity="1" stroke="black" stroke-opacity="1" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"></circle>
</svg>
</td><td class="legend_symbol">node with tags</td></tr>
<tr><td class="legend_symbol">
<svg style="" viewBox="-1 -1 3 3" width="18" height="18" x="0" y="0" fill="#FAF797" fill-opacity="1" stroke="black" stroke-opacity="1" stroke-width="0.16666666666666666" stroke-linecap="round" stroke-linejoin="round">
<polygon points="0 , 0 0 , 1 1 , 1 1 , 0 0 , 0"></polygon>
</svg>
</td><td class="legend_symbol">node without tags</td></tr>
</table>
<div id="legend_minimize" class="minimize">
<div class="minimize_icon"></div>
</div>
</div>
</div>
</div>
</div>
<div class="bottom_buttons_cell">
<div class="border inner_border">
<div id="help">
<div id="help_button" class="button">help</div>
<div id="help_content" class="hidden text_content">
<strong>Usage</strong>
<ul>
<li>zoom in to your area of interest</li>
<!--
<li>press 'live' to follow current changes, see 'Main buttons'</li>
<li><em>[experimental]:</em> to replay changes since your last visit, fast forward with '>>' (start time defaults to last visit)<br>
or set time to 'now' and fast backward with '<<'. Fast forward/backward stops after a limit of 24h. See 'Player'</li>
-->
<li>specify time range of changes to load, check to include relations, press 'load'.<br>
Attic data goes back until September 2012.</li>
</ul>
<ul>
<li>For continuous monitoring bookmark the Permalink and simply press load each time, <br>
the last load date will be preset as start date.</li>
</ul>
<ul>
<li>A single changeset can be visualized by drag & drop of a changeset URL or using a bookmarklet, see
<a href="https://wiki.openstreetmap.org/wiki/Achavi#Bookmarklet">Wiki page</a>.</li>
</ul>
<ul>
<li>hover over feature to show popup, click on feature to keep popup open, click on map to close</li>
<li>zoom on changes with shift + drag zoom box</li>
<!--<li>changes displayed outside the bounding box affect crossing relations</li>-->
</ul>
</p>
<p>
<div id="help_tooltips">
</div>
<div id="help_minimize" class="minimize">
<div class="minimize_icon"></div>
</div>
</div>
</div>
</div>
</div>
<div class="bottom_buttons_cell">
<div class="border inner_border">
<div id="about">
<div id="about_button" class="button">about</div>
<div id="about_content" class="hidden text_content">
<strong>achavi - Augmented OSM Change Viewer [attic]</strong>
<p>
Displays OpenStreetMap changes based on the Overpass API
<a href="https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Augmented_Delta_between_two_dates_.28.22adiff.22.29">Augmented Delta (adiff)</a> query and the
<a href="https://wiki.openstreetmap.org/wiki/Overpass_API/Augmented_Diffs#Contained_data">Augmented Diff</a> format.
<br>Tested on Firefox and Chrome; older Internet Explorer and mobile not supported.
<p>
This is an early alpha version and many features are missing, like better relation support, changeset<br>
information, textual list and/or summary of changes and performance optimization. Also expect to find bugs.
<p>
Credits and licenses
<ul>
<li>
Vector data © <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a> contributors, licensed under
<a href="http://opendatacommons.org/licenses/odbl/">ODbL</a>
</li>
</ul>
<ul>
<li>
<a href="http://www.openlayers.org/">OpenLayers</a>: Copyright (c) 2005-2012 OpenLayers
<a href="licenses/openlayers-authors.txt">Contributors</a>,
<a href="licenses/openlayers-license.txt">2-clause BSD License</a>
</li>
<li>
<a href="http://underscorejs.org/">Underscore.js</a>: Copyright (c) 2009-2012 Jeremy Ashkenas, DocumentCloud,
<a href="licenses/underscorejs-LICENSE">MIT License</a>
</li>
<li>
<a href="http://momentjs.com/">Moment.js</a>: Copyright (c) 2011-2012 Tim Wood,
<a href="licenses/momentjs-LICENSE">MIT License</a>
</li>
</ul>
Contact and authors:
<ul>
<li><a href="https://overpass-api.de/">Overpass API</a>: Roland Olbricht</li>
<li>
Viewer: <a href="https://www.openstreetmap.org/user/ikonor">Norbert Renner</a>
- <a href="https://github.com/nrenner/achavi/">GitHub</a>
</li>
</ul>
<div id="about_minimize" class="minimize">
<div class="minimize_icon"></div>
</div>
</div>
</div>
</div>
</div>
</div>
<script src="https://cdn.jsdelivr.net/openlayers/2.13.1/OpenLayers.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/underscore-min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/min/moment.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/xss-filters.min.js"></script>
<script src="lib/olex.js"></script>
<!--
<script src="../olex/js/OSMMeta.js"></script>
<script src="../olex/js/OSMExt.js"></script>
<script src="../olex/js/OSC.js"></script>
<script src="../olex/js/Request-patch.js"></script>
<script src="../olex/js/OSCAugmented.js"></script>
<script src="../olex/js/OSCAugmentedDiff.js"></script>
<script src="../olex/js/OSCAugmentedDiffIDSorted.js"></script>
<script src="../olex/js/OSMChangeset.js"></script>
<script src="../olex/js/HoverAndSelectFeature.js"></script>
<script src="../olex/js/FileReaderControl.js"></script>
<script src="../olex/js/LayerSwitcherBorder.js"></script>
<script src="../olex/js/bbox.js"></script>
-->
<script src="lib/overpass.js"></script>
<script src="js/FormatRegistry.js"></script>
<script src="js/OSMChangeStyle.js"></script>
<script src="js/oscviewer.js"></script>
<script src="js/PopupHandler.js"></script>
<script src="js/Loader.js"></script>
<script src="js/OverpassAPI.js"></script>
<script src="js/control/Live.js"></script>
<script src="js/control/Player.js"></script>
<script src="js/control/Loading.js"></script>
<script src="js/control/Diff.js"></script>
<script src="js/control/Status.js"></script>
<script src="js/XHRDebug.js"></script>
<script src="js/tooltips.js"></script>
<script src="js/map.js"></script>
</body>
</html>