Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Annotation of /trunk/web/www/routino/visualiser.html.en
Parent Directory
|
Revision Log
Revision 932 -
(hide annotations)
(download)
(as text)
Wed Dec 7 18:29:01 2011 UTC (13 years, 3 months ago) by amb
Original Path: trunk/web/www/routino/visualiser.html
File MIME type: text/html
File size: 12415 byte(s)
Wed Dec 7 18:29:01 2011 UTC (13 years, 3 months ago) by amb
Original Path: trunk/web/www/routino/visualiser.html
File MIME type: text/html
File size: 12415 byte(s)
Replace the "show"/"hide" button with "+"/"-" buttons.
1 | amb | 569 | <!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 | amb | 623 | This file Copyright 2008-2011 Andrew M. Bishop |
10 | amb | 569 | |
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 | amb | 584 | <TITLE>Routino : Data Visualiser for Routino OpenStreetMap Data</TITLE> |
27 | amb | 569 | <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 | amb | 577 | <!-- 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 | amb | 569 | <!-- Visualiser specific features --> |
47 | <script src="visualiser.js" type="text/javascript"></script> | ||
48 | <link href="visualiser.css" type="text/css" rel="stylesheet"> | ||
49 | |||
50 | </HEAD> | ||
51 | <BODY onload="map_init('lat','lon','zoom');"> | ||
52 | |||
53 | <!-- Left hand side of window - data panel --> | ||
54 | |||
55 | <div class="left_panel"> | ||
56 | |||
57 | amb | 577 | <div class="tab_box"> |
58 | <span id="tab_visualiser" onclick="tab_select('visualiser');" class="tab_selected" title="Select data options">Visualiser</span> | ||
59 | <span id="tab_router" onclick="tab_select('router');" class="tab_unselected" title="Plan a route">Router</span> | ||
60 | <span id="tab_data" onclick="tab_select('data');" class="tab_unselected" title="View database information">Data</span> | ||
61 | </div> | ||
62 | amb | 569 | |
63 | amb | 577 | <div class="tab_content" id="tab_visualiser_div"> |
64 | amb | 569 | |
65 | amb | 577 | <div class="hideshow_box"> |
66 | <span class="hideshow_title">Routino Data Visualiser</span> | ||
67 | This web page allows visualisation of the data that Routino uses for routing. | ||
68 | amb | 623 | Only data relevant for routing is displayed and some will therefore be excluded. |
69 | amb | 577 | <div align="center"> |
70 | amb | 584 | <a target="other" href="http://www.routino.org/">Routino Website</a> |
71 | amb | 577 | | |
72 | amb | 584 | <a target="other" href="../documentation/">Documentation</a> |
73 | amb | 569 | </div> |
74 | amb | 577 | </div> |
75 | amb | 569 | |
76 | amb | 577 | <div class="hideshow_box"> |
77 | <span class="hideshow_title">Instructions</span> | ||
78 | Zoom in and then use the buttons below to download the data. The | ||
79 | server will only return data if the selected area is small enough. | ||
80 | </div> | ||
81 | amb | 569 | |
82 | amb | 577 | <div class="hideshow_box"> |
83 | <span class="hideshow_title">Status</span> | ||
84 | <div id="result_status" style="font-style: italic;"> | ||
85 | No data displayed | ||
86 | amb | 569 | </div> |
87 | amb | 577 | </div> |
88 | amb | 569 | |
89 | amb | 577 | <div class="hideshow_box"> |
90 | amb | 932 | <span id="hideshow_junctions_show" onclick="hideshow_show('junctions');" class="hideshow_show">+</span> |
91 | <span id="hideshow_junctions_hide" onclick="hideshow_hide('junctions');" class="hideshow_hide">-</span> | ||
92 | amb | 577 | <input type="button" id="junctions" onclick="displayData('junctions');" value="Display Junctions"> |
93 | <div id="hideshow_junctions_div" style="display: none;"> | ||
94 | Each node that is a dead-end, a junction of two highways of different | ||
95 | types (or different properties) or a junction where more than two segments | ||
96 | join are shown colour-coded: | ||
97 | <br> | ||
98 | <table> | ||
99 | <tr><td><img src="icons/ball-1.png" alt="Red" <td>only one highway - a dead-end. | ||
100 | <tr><td><img src="icons/ball-2.png" alt="Yellow"<td>two highways of different types meet. | ||
101 | <tr><td><img src="icons/ball-3.png" alt="Green" <td>three highways meet. | ||
102 | <tr><td><img src="icons/ball-4.png" alt="Brown" <td>four highways meet. | ||
103 | <tr><td><img src="icons/ball-5.png" alt="Blue" <td>five highways meet. | ||
104 | <tr><td><img src="icons/ball-6.png" alt="Pink" <td>six highways meet. | ||
105 | <tr><td><img src="icons/ball-7.png" alt="Black" <td>seven (or more) highways meet. | ||
106 | </table> | ||
107 | amb | 569 | </div> |
108 | amb | 577 | </div> |
109 | amb | 569 | |
110 | amb | 577 | <div class="hideshow_box"> |
111 | amb | 932 | <span id="hideshow_super_show" onclick="hideshow_show('super');" class="hideshow_show">+</span> |
112 | <span id="hideshow_super_hide" onclick="hideshow_hide('super');" class="hideshow_hide">-</span> | ||
113 | amb | 577 | <input type="button" id="super" onclick="displayData('super');" value="Display Super Segments"> |
114 | <div id="hideshow_super_div" style="display: none;"> | ||
115 | amb | 623 | Each super-node and the associated super-segments are shown (see |
116 | algorithm page for description). | ||
117 | amb | 569 | </div> |
118 | amb | 577 | </div> |
119 | amb | 569 | |
120 | amb | 577 | <div class="hideshow_box"> |
121 | amb | 932 | <span id="hideshow_oneway_show" onclick="hideshow_show('oneway');" class="hideshow_show">+</span> |
122 | <span id="hideshow_oneway_hide" onclick="hideshow_hide('oneway');" class="hideshow_hide">-</span> | ||
123 | amb | 577 | <input type="button" id="oneway" onclick="displayData('oneway');" value="Display One-way Segments"> |
124 | <div id="hideshow_oneway_div" style="display: none;"> | ||
125 | amb | 623 | Each one-way segment is shown with a coloured triangle indicating the |
126 | allowed direction. The colours of the triangles depend on the bearing | ||
127 | of the highway segment. | ||
128 | amb | 569 | </div> |
129 | amb | 577 | </div> |
130 | amb | 569 | |
131 | amb | 577 | <div class="hideshow_box"> |
132 | amb | 932 | <span id="hideshow_turns_show" onclick="hideshow_show('turns');" class="hideshow_show">+</span> |
133 | <span id="hideshow_turns_hide" onclick="hideshow_hide('turns');" class="hideshow_hide">-</span> | ||
134 | amb | 623 | <input type="button" id="turns" onclick="displayData('turns');" value="Display Turn Restrictions"> |
135 | <div id="hideshow_turns_div" style="display: none;"> | ||
136 | Each turn restrictions is shown with a line indicating the disallowed | ||
137 | turn. | ||
138 | </div> | ||
139 | </div> | ||
140 | |||
141 | <div class="hideshow_box"> | ||
142 | amb | 932 | <span id="hideshow_speed_show" onclick="hideshow_show('speed');" class="hideshow_show">+</span> |
143 | <span id="hideshow_speed_hide" onclick="hideshow_hide('speed');" class="hideshow_hide">-</span> | ||
144 | amb | 577 | <input type="button" id="speed" onclick="displayData('speed');" value="Display Speed Limits"> |
145 | <div id="hideshow_speed_div" style="display: none;"> | ||
146 | Each node that joins segments with different speed limits is shown | ||
147 | along with the speed limit on relevant segments. | ||
148 | <br> | ||
149 | <table> | ||
150 | <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit | ||
151 | <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified speed limit | ||
152 | <tr><td><img src="icons/limit-80.png" alt="(80)" ><td>80 km/hour speed limit | ||
153 | </table> | ||
154 | amb | 569 | </div> |
155 | amb | 577 | </div> |
156 | amb | 569 | |
157 | amb | 577 | <div class="hideshow_box"> |
158 | amb | 932 | <span id="hideshow_weight_show" onclick="hideshow_show('weight');" class="hideshow_show">+</span> |
159 | <span id="hideshow_weight_hide" onclick="hideshow_hide('weight');" class="hideshow_hide">-</span> | ||
160 | amb | 577 | <input type="button" id="weight" onclick="displayData('weight');" value="Display Weight Limits"> |
161 | <div id="hideshow_weight_div" style="display: none;"> | ||
162 | Each node that joins segments with different weight limits is shown | ||
163 | along with the weight limit on relevant segments. For example: | ||
164 | <br> | ||
165 | <table> | ||
166 | <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit | ||
167 | <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified weight limit | ||
168 | <tr><td><img src="icons/limit-8.0.png" alt="(8.0)" ><td>8.0 tonnes weight limit | ||
169 | </table> | ||
170 | amb | 569 | </div> |
171 | amb | 577 | </div> |
172 | amb | 569 | |
173 | amb | 577 | <div class="hideshow_box"> |
174 | amb | 932 | <span id="hideshow_height_show" onclick="hideshow_show('height');" class="hideshow_show">+</span> |
175 | <span id="hideshow_height_hide" onclick="hideshow_hide('height');" class="hideshow_hide">-</span> | ||
176 | amb | 577 | <input type="button" id="height" onclick="displayData('height');" value="Display Height Limits"> |
177 | <div id="hideshow_height_div" style="display: none;"> | ||
178 | Each node that joins segments with different height limits is shown | ||
179 | along with the height limit on relevant segments. For example: | ||
180 | <br> | ||
181 | <table> | ||
182 | <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit | ||
183 | <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified height limit | ||
184 | <tr><td><img src="icons/limit-4.0.png" alt="(4.0)" ><td>4.0 m height limit | ||
185 | </table> | ||
186 | amb | 569 | </div> |
187 | amb | 577 | </div> |
188 | amb | 569 | |
189 | amb | 577 | <div class="hideshow_box"> |
190 | amb | 932 | <span id="hideshow_width_show" onclick="hideshow_show('width');" class="hideshow_show">+</span> |
191 | <span id="hideshow_width_hide" onclick="hideshow_hide('width');" class="hideshow_hide">-</span> | ||
192 | amb | 577 | <input type="button" id="width" onclick="displayData('width');" value="Display Width Limits"> |
193 | <div id="hideshow_width_div" style="display: none;"> | ||
194 | Each node that joins segments with different width limits is shown | ||
195 | along with the width limit on relevant segments. For example: | ||
196 | <br> | ||
197 | <table> | ||
198 | <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit | ||
199 | <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified width limit | ||
200 | <tr><td><img src="icons/limit-3.0.png" alt="(3.0)" ><td>3.0 m width limit | ||
201 | </table> | ||
202 | amb | 569 | </div> |
203 | amb | 577 | </div> |
204 | amb | 569 | |
205 | amb | 577 | <div class="hideshow_box"> |
206 | amb | 932 | <span id="hideshow_length_show" onclick="hideshow_show('length');" class="hideshow_show">+</span> |
207 | <span id="hideshow_length_hide" onclick="hideshow_hide('length');" class="hideshow_hide">-</span> | ||
208 | amb | 577 | <input type="button" id="length" onclick="displayData('length');" value="Display Length Limits"> |
209 | <div id="hideshow_length_div" style="display: none;"> | ||
210 | Each node that joins segments with different length limits is shown | ||
211 | along with the length limit on relevant segments. For example: | ||
212 | <br> | ||
213 | <table> | ||
214 | <tr><td><img src="icons/ball-1.png" alt="Red dot"><td>Change of limit | ||
215 | <tr><td><img src="icons/limit-no.png" alt="(no)" ><td>No specified length limit | ||
216 | <tr><td><img src="icons/limit-9.0.png" alt="(9.0)" ><td>9.0 m length limit | ||
217 | </table> | ||
218 | amb | 569 | </div> |
219 | amb | 577 | </div> |
220 | amb | 569 | |
221 | amb | 577 | <div class="hideshow_box"> |
222 | <input type="button" id="clear" onclick="displayData('');" value="Clear data"> | ||
223 | </div> | ||
224 | amb | 569 | |
225 | amb | 577 | <div class="hideshow_box"> |
226 | <span class="hideshow_title">Links</span> | ||
227 | <a id="link_url" href="visualiser.html">Permanent link to this view</a> | ||
228 | <br> | ||
229 | <a id="edit_url" target="other" href="http://www.openstreetmap.org/">Edit OSM data in Potlatch</a> | ||
230 | </div> | ||
231 | </div> | ||
232 | amb | 569 | |
233 | amb | 577 | <div class="tab_content" id="tab_router_div" style="display: none;"> |
234 | <div class="hideshow_box"> | ||
235 | <span class="hideshow_title">Router</span> | ||
236 | To perform routing on the map use the link below. | ||
237 | <br> | ||
238 | <a id="router_url" target="other" href="router.html">Custom link to this map view</a> | ||
239 | </div> | ||
240 | </div> | ||
241 | amb | 569 | |
242 | amb | 577 | <div class="tab_content" id="tab_data_div" style="display: none;"> |
243 | <div class="hideshow_box"> | ||
244 | <span class="hideshow_title">Statistics</span> | ||
245 | <div id="statistics_data"></div> | ||
246 | <a id="statistics_link" href="statistics.cgi" onclick="displayStatistics();return(false);">Display data statistics</a> | ||
247 | </div> | ||
248 | </div> | ||
249 | |||
250 | amb | 569 | </div> |
251 | |||
252 | <!-- Right hand side of window - map --> | ||
253 | |||
254 | <div class="right_panel"> | ||
255 | amb | 577 | <div class="map" id="map"> |
256 | <noscript> | ||
257 | Javascript is <em>required</em> to use this web page because of the | ||
258 | interactive map. | ||
259 | </noscript> | ||
260 | </div> | ||
261 | <div class="attribution"> | ||
262 | amb | 584 | <a target="other" href="http://www.routino.org/" title="Routino">Data Manipulation: Routino</a> |
263 | amb | 577 | | |
264 | <a target="other" href="http://www.openstreetmap.org/" title="Copyright: OpenStreetMap.org; License: Creative Commons Attribution-Share Alike 2.0">Geo Data: OpenStreetMap</a> | ||
265 | </div> | ||
266 | amb | 569 | </div> |
267 | |||
268 | </BODY> | ||
269 | </HTML> |