Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

ViewVC logotype

Contents of /trunk/web/www/routino/visualiser.html.en

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1003 - (show annotations) (download)
Tue Jun 5 14:14:45 2012 UTC (12 years, 9 months ago) by amb
File size: 18437 byte(s)
Add an option to the visualiser to display segments of each of the highway
types.

1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <HTML>
3
4 <!--
5 Routino data visualiser web page.
6
7 Part of the Routino routing software.
8
9 This file Copyright 2008-2012 Andrew M. Bishop
10
11 This program is free software: you can redistribute it and/or modify
12 it under the terms of the GNU Affero General Public License as published by
13 the Free Software Foundation, either version 3 of the License, or
14 (at your option) any later version.
15
16 This program is distributed in the hope that it will be useful,
17 but WITHOUT ANY WARRANTY; without even the implied warranty of
18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19 GNU Affero General Public License for more details.
20
21 You should have received a copy of the GNU Affero General Public License
22 along with this program. If not, see http://www.gnu.org/licenses/.
23 -->
24
25 <HEAD>
26 <TITLE>Routino : Data Visualiser for Routino OpenStreetMap Data</TITLE>
27 <META name="keywords" content="openstreetmap routino verifier">
28 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
29
30 <!-- OpenLayers Javascript library -->
31 <script src="../openlayers/OpenLayers.js" type="text/javascript"></script>
32
33 <!-- Page elements -->
34 <script src="page-elements.js" type="text/javascript"></script>
35 <link href="page-elements.css" type="text/css" rel="stylesheet">
36
37 <!-- Router and visualiser shared features -->
38 <link href="maplayout.css" type="text/css" rel="stylesheet">
39 <!--[if IE 6]>
40 <link href="maplayout-ie6-bugfixes.css" type="text/css" rel="stylesheet">
41 <![endif]-->
42 <!--[if IE 7]>
43 <link href="maplayout-ie7-bugfixes.css" type="text/css" rel="stylesheet">
44 <![endif]-->
45
46 <!-- Visualiser specific features -->
47 <script src="mapprops.js" type="text/javascript"></script>
48 <script src="visualiser.js" type="text/javascript"></script>
49 <link href="visualiser.css" type="text/css" rel="stylesheet">
50
51 </HEAD>
52 <BODY onload="map_init();">
53
54 <!-- Left hand side of window - data panel -->
55
56 <div class="left_panel">
57
58 <div class="tab_box">
59 <span id="tab_visualiser" onclick="tab_select('visualiser');" class="tab_selected" title="Select data options">Visualiser</span>
60 <span id="tab_router" onclick="tab_select('router');" class="tab_unselected" title="Plan a route">Router</span>
61 <span id="tab_data" onclick="tab_select('data');" class="tab_unselected" title="View database information">Data</span>
62 </div>
63
64 <div class="tab_content" id="tab_visualiser_div">
65
66 <div class="hideshow_box">
67 <span class="hideshow_title">Routino Data Visualiser</span>
68 This web page allows visualisation of the data that Routino uses for routing.
69 Only data relevant for routing is displayed and some will therefore be excluded.
70 <div align="center">
71 <a target="other" href="http://www.routino.org/">Routino Website</a>
72 |
73 <a target="other" href="../documentation/">Documentation</a>
74 </div>
75 </div>
76
77 <div class="hideshow_box">
78 <span id="hideshow_language_show" onclick="hideshow_show('language');" class="hideshow_show">+</span>
79 <span id="hideshow_language_hide" onclick="hideshow_hide('language');" class="hideshow_hide">-</span>
80 <span class="hideshow_title">Language</span>
81
82 <!-- Note for translations: Only this HTML file needs to be translated, the Javascript has
83 no language specific information in it. Only the body text and title attributes should
84 be changed, the values passed to the JavaScript and the element names must not be changed.
85 The selection below changes the language option passed to the router and selects the
86 output language not the web page language, the links are for that. The router itself uses
87 the translations.xml file for the translated versions of the output. -->
88
89 <div id="hideshow_language_div" style="display: none;">
90 <table>
91 <tr>
92 <td><a id="lang_en_url" onmouseover="updateURL(this);" onfocus="updateURL(this);" onclick="updateURL(this);" href="visualiser.html.en" title="English language web page">English</a>
93 <td>(EN)
94 </table>
95 </div>
96 </div>
97
98 <div class="hideshow_box">
99 <span class="hideshow_title">Instructions</span>
100 Zoom in and then use the buttons below to download the data. The
101 server will only return data if the selected area is small enough.
102 </div>
103
104 <div class="hideshow_box">
105 <span class="hideshow_title">Status</span>
106 <div id="result_status">
107 <div id="result_status_no_data">
108 <b><i>No data displayed</i></b>
109 </div>
110 <div id="result_status_data" style="display: none;">
111 </div>
112 <div id="result_status_error" style="display: none;">
113 <b>Failed to get visualiser data!</b>
114 </div>
115 <div id="result_status_junctions" style="display: none;">
116 <b>Processed # junctions</b>
117 </div>
118 <div id="result_status_super" style="display: none;">
119 <b>Processed # super-nodes/segments</b>
120 </div>
121 <div id="result_status_oneway" style="display: none;">
122 <b>Processed # oneway segments</b>
123 </div>
124 <div id="result_status_highway" style="display: none;">
125 <b>Processed # segments</b>
126 </div>
127 <div id="result_status_transport" style="display: none;">
128 <b>Processed # segments</b>
129 </div>
130 <div id="result_status_turns" style="display: none;">
131 <b>Processed # turn restrictions</b>
132 </div>
133 <div id="result_status_limit" style="display: none;">
134 <b>Processed # limits</b>
135 </div>
136 </div>
137 </div>
138
139 <div class="hideshow_box">
140 <span id="hideshow_junctions_show" onclick="hideshow_show('junctions');" class="hideshow_show">+</span>
141 <span id="hideshow_junctions_hide" onclick="hideshow_hide('junctions');" class="hideshow_hide">-</span>
142 <input type="button" id="junctions" onclick="displayData('junctions');" value="Display Junctions">
143 <div id="hideshow_junctions_div" style="display: none;">
144 Each node that is a dead-end, a junction of two highways of different
145 types (or different properties) or a junction where more than two segments
146 join are shown colour-coded:
147 <br>
148 <table>
149 <tr><td><img src="icons/ball-1.png" alt="Red" ><td>only one highway - a dead-end.
150 <tr><td><img src="icons/ball-2.png" alt="Yellow"><td>two highways of different types meet.
151 <tr><td><img src="icons/ball-3.png" alt="Green" ><td>three highways meet.
152 <tr><td><img src="icons/ball-4.png" alt="Brown" ><td>four highways meet.
153 <tr><td><img src="icons/ball-5.png" alt="Blue" ><td>five highways meet.
154 <tr><td><img src="icons/ball-6.png" alt="Pink" ><td>six highways meet.
155 <tr><td><img src="icons/ball-7.png" alt="Black" ><td>seven (or more) highways meet.
156 </table>
157 </div>
158 </div>
159
160 <div class="hideshow_box">
161 <span id="hideshow_super_show" onclick="hideshow_show('super');" class="hideshow_show">+</span>
162 <span id="hideshow_super_hide" onclick="hideshow_hide('super');" class="hideshow_hide">-</span>
163 <input type="button" id="super" onclick="displayData('super');" value="Display Super Segments">
164 <div id="hideshow_super_div" style="display: none;">
165 Each super-node and the associated super-segments are shown (see
166 algorithm page for description).
167 </div>
168 </div>
169
170 <div class="hideshow_box">
171 <span id="hideshow_oneway_show" onclick="hideshow_show('oneway');" class="hideshow_show">+</span>
172 <span id="hideshow_oneway_hide" onclick="hideshow_hide('oneway');" class="hideshow_hide">-</span>
173 <input type="button" id="oneway" onclick="displayData('oneway');" value="Display One-way Segments">
174 <div id="hideshow_oneway_div" style="display: none;">
175 Each one-way segment is shown with a coloured triangle indicating the
176 allowed direction. The colours of the triangles depend on the bearing
177 of the highway segment.
178 </div>
179 </div>
180
181 <div class="hideshow_box">
182 <span id="hideshow_highway_show" onclick="hideshow_show('highway');" class="hideshow_show">+</span>
183 <span id="hideshow_highway_hide" onclick="hideshow_hide('highway');" class="hideshow_hide">-</span>
184 <input type="button" id="highway" onclick="displayData('highway');" value="Display Highway Segments">
185 <div id="hideshow_highway_div" style="display: none;">
186 Each segment of the chosen type of highway is drawn.
187 <form name="highways" id="highways" method="get">
188 <table>
189 <tr><td>Motorway: <td><input name="highway" type="radio" value="motorway" >
190 <tr><td>Trunk: <td><input name="highway" type="radio" value="trunk" >
191 <tr><td>Primary: <td><input name="highway" type="radio" value="primary" checked>
192 <tr><td>Secondary: <td><input name="highway" type="radio" value="secondary" >
193 <tr><td>Tertiary: <td><input name="highway" type="radio" value="tertiary" >
194 <tr><td>Unclassified:<td><input name="highway" type="radio" value="unclassified">
195 <tr><td>Residential: <td><input name="highway" type="radio" value="residential" >
196 <tr><td>Service: <td><input name="highway" type="radio" value="service" >
197 <tr><td>Track: <td><input name="highway" type="radio" value="track" >
198 <tr><td>Cycleway: <td><input name="highway" type="radio" value="cycleway" >
199 <tr><td>Path: <td><input name="highway" type="radio" value="path" >
200 <tr><td>Steps: <td><input name="highway" type="radio" value="steps" >
201 <tr><td>Ferry: <td><input name="highway" type="radio" value="ferry" >
202 </table>
203 </form>
204 </div>
205 </div>
206
207 <div class="hideshow_box">
208 <span id="hideshow_transport_show" onclick="hideshow_show('transport');" class="hideshow_show">+</span>
209 <span id="hideshow_transport_hide" onclick="hideshow_hide('transport');" class="hideshow_hide">-</span>
210 <input type="button" id="transport" onclick="displayData('transport');" value="Display Transport Segments">
211 <div id="hideshow_transport_div" style="display: none;">
212 Each segment allowed for the chosen type of transport is drawn.
213 <form name="transports" id="transports" method="get">
214 <table>
215 <tr><td>Foot <td><input name="transport" type="radio" value="foot" >
216 <tr><td>Horse <td><input name="transport" type="radio" value="horse" >
217 <tr><td>Wheelchair<td><input name="transport" type="radio" value="wheelchair">
218 <tr><td>Bicycle <td><input name="transport" type="radio" value="bicycle" >
219 <tr><td>Moped <td><input name="transport" type="radio" value="moped" >
220 <tr><td>Motorbike <td><input name="transport" type="radio" value="motorbike" >
221 <tr><td>Motorcar <td><input name="transport" type="radio" value="motorcar" checked>
222 <tr><td>Goods <td><input name="transport" type="radio" value="goods" >
223 <tr><td>HGV <td><input name="transport" type="radio" value="hgv" >
224 <tr><td>PSV <td><input name="transport" type="radio" value="psv" >
225 </table>
226 </form>
227 </div>
228 </div>
229
230 <div class="hideshow_box">
231 <span id="hideshow_turns_show" onclick="hideshow_show('turns');" class="hideshow_show">+</span>
232 <span id="hideshow_turns_hide" onclick="hideshow_hide('turns');" class="hideshow_hide">-</span>
233 <input type="button" id="turns" onclick="displayData('turns');" value="Display Turn Restrictions">
234 <div id="hideshow_turns_div" style="display: none;">
235 Each turn restrictions is shown with a line indicating the disallowed
236 turn.
237 </div>
238 </div>
239
240 <div class="hideshow_box">
241 <span id="hideshow_speed_show" onclick="hideshow_show('speed');" class="hideshow_show">+</span>
242 <span id="hideshow_speed_hide" onclick="hideshow_hide('speed');" class="hideshow_hide">-</span>
243 <input type="button" id="speed" onclick="displayData('speed');" value="Display Speed Limits">
244 <div id="hideshow_speed_div" style="display: none;">
245 Each node that joins segments with different speed limits is shown
246 along with the speed limit on relevant segments.
247 <br>
248 <table>
249 <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit
250 <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified speed limit
251 <tr><td><img src="icons/limit-80.png" alt="(80)" ><td>80 km/hour speed limit
252 </table>
253 </div>
254 </div>
255
256 <div class="hideshow_box">
257 <span id="hideshow_weight_show" onclick="hideshow_show('weight');" class="hideshow_show">+</span>
258 <span id="hideshow_weight_hide" onclick="hideshow_hide('weight');" class="hideshow_hide">-</span>
259 <input type="button" id="weight" onclick="displayData('weight');" value="Display Weight Limits">
260 <div id="hideshow_weight_div" style="display: none;">
261 Each node that joins segments with different weight limits is shown
262 along with the weight limit on relevant segments. For example:
263 <br>
264 <table>
265 <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit
266 <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified weight limit
267 <tr><td><img src="icons/limit-8.0.png" alt="(8.0)" ><td>8.0 tonnes weight limit
268 </table>
269 </div>
270 </div>
271
272 <div class="hideshow_box">
273 <span id="hideshow_height_show" onclick="hideshow_show('height');" class="hideshow_show">+</span>
274 <span id="hideshow_height_hide" onclick="hideshow_hide('height');" class="hideshow_hide">-</span>
275 <input type="button" id="height" onclick="displayData('height');" value="Display Height Limits">
276 <div id="hideshow_height_div" style="display: none;">
277 Each node that joins segments with different height limits is shown
278 along with the height limit on relevant segments. For example:
279 <br>
280 <table>
281 <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit
282 <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified height limit
283 <tr><td><img src="icons/limit-4.0.png" alt="(4.0)" ><td>4.0 m height limit
284 </table>
285 </div>
286 </div>
287
288 <div class="hideshow_box">
289 <span id="hideshow_width_show" onclick="hideshow_show('width');" class="hideshow_show">+</span>
290 <span id="hideshow_width_hide" onclick="hideshow_hide('width');" class="hideshow_hide">-</span>
291 <input type="button" id="width" onclick="displayData('width');" value="Display Width Limits">
292 <div id="hideshow_width_div" style="display: none;">
293 Each node that joins segments with different width limits is shown
294 along with the width limit on relevant segments. For example:
295 <br>
296 <table>
297 <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit
298 <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified width limit
299 <tr><td><img src="icons/limit-3.0.png" alt="(3.0)" ><td>3.0 m width limit
300 </table>
301 </div>
302 </div>
303
304 <div class="hideshow_box">
305 <span id="hideshow_length_show" onclick="hideshow_show('length');" class="hideshow_show">+</span>
306 <span id="hideshow_length_hide" onclick="hideshow_hide('length');" class="hideshow_hide">-</span>
307 <input type="button" id="length" onclick="displayData('length');" value="Display Length Limits">
308 <div id="hideshow_length_div" style="display: none;">
309 Each node that joins segments with different length limits is shown
310 along with the length limit on relevant segments. For example:
311 <br>
312 <table>
313 <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit
314 <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified length limit
315 <tr><td><img src="icons/limit-9.0.png" alt="(9.0)" ><td>9.0 m length limit
316 </table>
317 </div>
318 </div>
319
320 <div class="hideshow_box">
321 <input type="button" id="clear" onclick="displayData('');" value="Clear data">
322 </div>
323
324 <div class="hideshow_box">
325 <span class="hideshow_title">Links</span>
326 <a id="permalink_url" onmouseover="updateURL(this);" onfocus="updateURL(this);" onclick="updateURL(this);" href="visualiser.html">Permanent link to this view</a>
327 <br>
328 <a id="edit_url" onmouseover="updateURL(this);" onfocus="updateURL(this);" onclick="updateURL(this);" href="http://www.openstreetmap.org/" target="edit">Edit OSM data in Potlatch</a>
329 </div>
330 </div>
331
332 <div class="tab_content" id="tab_router_div" style="display: none;">
333 <div class="hideshow_box">
334 <span class="hideshow_title">Router</span>
335 To perform routing on the map use the link below.
336 <br>
337 <a id="router_url" onmouseover="updateURL(this);" onfocus="updateURL(this);" onclick="updateURL(this);" href="router.html" target="router">Custom link to this map view</a>
338 </div>
339 </div>
340
341 <div class="tab_content" id="tab_data_div" style="display: none;">
342 <div class="hideshow_box">
343 <span class="hideshow_title">Statistics</span>
344 <div id="statistics_data"></div>
345 <a id="statistics_link" href="statistics.cgi" onclick="displayStatistics();return(false);">Display data statistics</a>
346 </div>
347 </div>
348
349 </div>
350
351 <!-- Right hand side of window - map -->
352
353 <div class="right_panel">
354 <div class="map" id="map">
355 <noscript>
356 Javascript is <em>required</em> to use this web page because of the
357 interactive map.
358 </noscript>
359 </div>
360 <div class="attribution">
361 <a target="other" href="http://www.routino.org/" title="Routino">Data Manipulation: Routino</a>
362 |
363 <a target="other" href="http://www.openstreetmap.org/" title="Copyright: OpenStreetMap.org; License: Creative Commons Attribution-Share Alike 2.0">Geo Data: OpenStreetMap</a>
364 </div>
365 </div>
366
367 </BODY>
368 </HTML>