Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino
Annotation of /trunk/web/www/routino/router.html.en
Parent Directory
|
Revision Log
Revision 622 -
(hide annotations)
(download)
Sat Feb 5 15:41:48 2011 UTC (14 years, 1 month ago) by amb
File size: 38133 byte(s)
Sat Feb 5 15:41:48 2011 UTC (14 years, 1 month ago) by amb
File size: 38133 byte(s)
Include the option to obey turn restrictions in the profile for each transport type.
1 | amb | 577 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
2 | <HTML> | ||
3 | |||
4 | <!-- | ||
5 | Routino router web page. | ||
6 | |||
7 | Part of the Routino routing software. | ||
8 | |||
9 | amb | 622 | This file Copyright 2008-2011 Andrew M. Bishop |
10 | amb | 577 | |
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 : Route Planner for OpenStreetMap Data</TITLE> |
27 | amb | 577 | <META name="keywords" content="openstreetmap routing route planner"> |
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 | <!-- Router specific features --> | ||
47 | <script src="router.js" type="text/javascript"></script> | ||
48 | <link href="router.css" type="text/css" rel="stylesheet"> | ||
49 | |||
50 | </HEAD> | ||
51 | <BODY onload="map_init('lat','lon','zoom');form_init();block_return_key();"> | ||
52 | |||
53 | <!-- Left hand side of window - data panel --> | ||
54 | |||
55 | <div class="left_panel"> | ||
56 | |||
57 | <div class="tab_box"> | ||
58 | <span id="tab_options" onclick="tab_select('options');" class="tab_selected" title="Set routing options">Options</span> | ||
59 | <span id="tab_results" onclick="tab_select('results');" class="tab_unselected" title="See routing results">Results</span> | ||
60 | <span id="tab_data" onclick="tab_select('data');" class="tab_unselected" title="View database information">Data</span> | ||
61 | </div> | ||
62 | |||
63 | <div class="tab_content" id="tab_options_div"> | ||
64 | |||
65 | <form name="form" id="form" action="router.cgi" method="get"> | ||
66 | <div class="hideshow_box"> | ||
67 | <span class="hideshow_title">Routino OpenStreetMap Router</span> | ||
68 | This web page allows routing within the data collected by OpenStreetMap. | ||
69 | Select start and end points (click on the marker icons below), select routing preferences then find a route. | ||
70 | <div align="center"> | ||
71 | amb | 584 | <a target="other" href="http://www.routino.org/">Routino Website</a> |
72 | amb | 577 | | |
73 | amb | 584 | <a target="other" href="documentation/">Documentation</a> |
74 | amb | 577 | </div> |
75 | </div> | ||
76 | |||
77 | <div class="hideshow_box"> | ||
78 | <span id="hideshow_language_show" onclick="hideshow_show('language');" class="hideshow_show">Show</span> | ||
79 | <span id="hideshow_language_hide" onclick="hideshow_hide('language');" class="hideshow_hide">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 | amb | 585 | <td><a href="router.html.en" title="English language web page">English</a> |
93 | <td>(EN) | ||
94 | amb | 577 | <td><input name="language" type="radio" value="en" onchange="formSetLanguage('en')" checked><!-- language --> |
95 | amb | 585 | <tr> |
96 | <td>German | ||
97 | <td>(DE) | ||
98 | <td><input name="language" type="radio" value="de" onchange="formSetLanguage('de')"><!-- language --> | ||
99 | <tr> | ||
100 | <td><a href="router.html.nl" title="Dutch language web page">Dutch</a> | ||
101 | <td>(NL) | ||
102 | <td><input name="language" type="radio" value="nl" onchange="formSetLanguage('nl')"><!-- language --> | ||
103 | amb | 577 | </table> |
104 | </div> | ||
105 | </div> | ||
106 | |||
107 | <div class="hideshow_box"> | ||
108 | <span id="hideshow_waypoint_show" onclick="hideshow_show('waypoint');" class="hideshow_hide">Show</span> | ||
109 | <span id="hideshow_waypoint_hide" onclick="hideshow_hide('waypoint');" class="hideshow_show">Hide</span> | ||
110 | <span class="hideshow_title">Waypoints</span> | ||
111 | <div id="hideshow_waypoint_div"> | ||
112 | <table> | ||
113 | <tr id="point1"> | ||
114 | <td> | ||
115 | <img name="waypoint1" src="icons/marker-1-grey.png" title="Waypoint 1 Position - (click to add/remove on map)" alt="Waypoint 1" onmousedown="markerToggleMap(1)"> | ||
116 | <td> | ||
117 | <input name="lon1" type="text" size=7 title="Waypoint 1 Longitude" onchange="formSetCoords(1);"><!-- lon1 --> E | ||
118 | <td> | ||
119 | <input name="lat1" type="text" size=7 title="Waypoint 1 Latitude" onchange="formSetCoords(1);"><!-- lat1 --> N | ||
120 | <td> | ||
121 | <img alt="o" src="icons/waypoint-centre.png" title="Centre this waypoint on map" onmousedown="markerCentre(1);" > | ||
122 | <img alt="^" src="icons/waypoint-up.png" title="Move this waypoint up" onmousedown="markerMoveUp(1);" > | ||
123 | <img alt="+" src="icons/waypoint-add.png" title="Add waypoint after this one" onmousedown="markerAddAfter(1);"><br> | ||
124 | <img alt="~" src="icons/waypoint-home.png" title="Toggle as home location" onmousedown="markerHome(1);" > | ||
125 | <img alt="v" src="icons/waypoint-down.png" title="Move this waypoint down" onmousedown="markerMoveDown(1);"> | ||
126 | <img alt="-" src="icons/waypoint-remove.png" title="Remove this waypoint" onmousedown="markerRemove(1);" > | ||
127 | <tr id="point2"> | ||
128 | <td> | ||
129 | <img name="waypoint2" src="icons/marker-2-grey.png" title="Waypoint 2 Position - (click to add/remove on map)" alt="Waypoint 2" onmousedown="markerToggleMap(2)"> | ||
130 | <td> | ||
131 | <input name="lon2" type="text" size=7 title="Waypoint 2 Longitude" onchange="formSetCoords(2);"><!-- lon2 --> E | ||
132 | <td> | ||
133 | <input name="lat2" type="text" size=7 title="Waypoint 2 Latitude" onchange="formSetCoords(2);"><!-- lat2 --> N | ||
134 | <td> | ||
135 | <img alt="o" src="icons/waypoint-centre.png" title="Centre this waypoint on map" onmousedown="markerCentre(2);"> | ||
136 | <img alt="^" src="icons/waypoint-up.png" title="Move this waypoint up" onmousedown="markerMoveUp(2);" > | ||
137 | <img alt="+" src="icons/waypoint-add.png" title="Add waypoint after this one" onmousedown="markerAddAfter(2);"><br> | ||
138 | <img alt="~" src="icons/waypoint-home.png" title="Toggle as home location" onmousedown="markerHome(2);" > | ||
139 | <img alt="v" src="icons/waypoint-down.png" title="Move this waypoint down" onmousedown="markerMoveDown(2);"> | ||
140 | <img alt="-" src="icons/waypoint-remove.png" title="Remove this waypoint" onmousedown="markerRemove(2);" > | ||
141 | <tr id="point3"> | ||
142 | <td> | ||
143 | <img name="waypoint3" src="icons/marker-3-grey.png" title="Waypoint 3 Position - (click to add/remove on map)" alt="Waypoint 3" onmousedown="markerToggleMap(3)"> | ||
144 | <td> | ||
145 | <input name="lon3" type="text" size=7 title="Waypoint 3 Longitude" onchange="formSetCoords(3);"><!-- lon3 --> E | ||
146 | <td> | ||
147 | <input name="lat3" type="text" size=7 title="Waypoint 3 Latitude" onchange="formSetCoords(3);"><!-- lat3 --> N | ||
148 | <td> | ||
149 | <img alt="o" src="icons/waypoint-centre.png" title="Centre this waypoint on map" onmousedown="markerCentre(3);"> | ||
150 | <img alt="^" src="icons/waypoint-up.png" title="Move this waypoint up" onmousedown="markerMoveUp(3);" > | ||
151 | <img alt="+" src="icons/waypoint-add.png" title="Add waypoint after this one" onmousedown="markerAddAfter(3);"><br> | ||
152 | <img alt="~" src="icons/waypoint-home.png" title="Toggle as home location" onmousedown="markerHome(3);" > | ||
153 | <img alt="v" src="icons/waypoint-down.png" title="Move this waypoint down" onmousedown="markerMoveDown(3);"> | ||
154 | <img alt="-" src="icons/waypoint-remove.png" title="Remove this waypoint" onmousedown="markerRemove(3);" > | ||
155 | <tr id="point4"> | ||
156 | <td> | ||
157 | <img name="waypoint4" src="icons/marker-4-grey.png" title="Waypoint 4 Position - (click to add/remove on map)" alt="Waypoint 4" onmousedown="markerToggleMap(4)"> | ||
158 | <td> | ||
159 | <input name="lon4" type="text" size=7 title="Waypoint 4 Longitude" onchange="formSetCoords(4);"><!-- lon4 --> E | ||
160 | <td> | ||
161 | <input name="lat4" type="text" size=7 title="Waypoint 4 Latitude" onchange="formSetCoords(4);"><!-- lat4 --> N | ||
162 | <td> | ||
163 | <img alt="o" src="icons/waypoint-centre.png" title="Centre this waypoint on map" onmousedown="markerCentre(4);"> | ||
164 | <img alt="^" src="icons/waypoint-up.png" title="Move this waypoint up" onmousedown="markerMoveUp(4);" > | ||
165 | <img alt="+" src="icons/waypoint-add.png" title="Add waypoint after this one" onmousedown="markerAddAfter(4);"><br> | ||
166 | <img alt="~" src="icons/waypoint-home.png" title="Toggle as home location" onmousedown="markerHome(4);" > | ||
167 | <img alt="v" src="icons/waypoint-down.png" title="Move this waypoint down" onmousedown="markerMoveDown(4);"> | ||
168 | <img alt="-" src="icons/waypoint-remove.png" title="Remove this waypoint" onmousedown="markerRemove(4);" > | ||
169 | <tr id="point5"> | ||
170 | <td> | ||
171 | <img name="waypoint5" src="icons/marker-5-grey.png" title="Waypoint 5 Position - (click to add/remove on map)" alt="Waypoint 5" onmousedown="markerToggleMap(5)"> | ||
172 | <td> | ||
173 | <input name="lon5" type="text" size=7 title="Waypoint 5 Longitude" onchange="formSetCoords(5);"><!-- lon5 --> E | ||
174 | <td> | ||
175 | <input name="lat5" type="text" size=7 title="Waypoint 5 Latitude" onchange="formSetCoords(5);"><!-- lat5 --> N | ||
176 | <td> | ||
177 | <img alt="o" src="icons/waypoint-centre.png" title="Centre this waypoint on map" onmousedown="markerCentre(5);"> | ||
178 | <img alt="^" src="icons/waypoint-up.png" title="Move this waypoint up" onmousedown="markerMoveUp(5);" > | ||
179 | <img alt="+" src="icons/waypoint-add.png" title="Add waypoint after this one" onmousedown="markerAddAfter(5);"><br> | ||
180 | <img alt="~" src="icons/waypoint-home.png" title="Toggle as home location" onmousedown="markerHome(5);" > | ||
181 | <img alt="v" src="icons/waypoint-down.png" title="Move this waypoint down" onmousedown="markerMoveDown(5);"> | ||
182 | <img alt="-" src="icons/waypoint-remove.png" title="Remove this waypoint" onmousedown="markerRemove(5);" > | ||
183 | <tr id="point6"> | ||
184 | <td> | ||
185 | <img name="waypoint6" src="icons/marker-6-grey.png" title="Waypoint 6 Position - (click to add/remove on map)" alt="Waypoint 6" onmousedown="markerToggleMap(6)"> | ||
186 | <td> | ||
187 | <input name="lon6" type="text" size=7 title="Waypoint 6 Longitude" onchange="formSetCoords(6);"><!-- lon6 --> E | ||
188 | <td> | ||
189 | <input name="lat6" type="text" size=7 title="Waypoint 6 Latitude" onchange="formSetCoords(6);"><!-- lat6 --> N | ||
190 | <td> | ||
191 | <img alt="o" src="icons/waypoint-centre.png" title="Centre this waypoint on map" onmousedown="markerCentre(6);"> | ||
192 | <img alt="^" src="icons/waypoint-up.png" title="Move this waypoint up" onmousedown="markerMoveUp(6);" > | ||
193 | <img alt="+" src="icons/waypoint-add.png" title="Add waypoint after this one" onmousedown="markerAddAfter(6);"><br> | ||
194 | <img alt="~" src="icons/waypoint-home.png" title="Toggle as home location" onmousedown="markerHome(6);" > | ||
195 | <img alt="v" src="icons/waypoint-down.png" title="Move this waypoint down" onmousedown="markerMoveDown(6);"> | ||
196 | <img alt="-" src="icons/waypoint-remove.png" title="Remove this waypoint" onmousedown="markerRemove(6);" > | ||
197 | <tr id="point7"> | ||
198 | <td> | ||
199 | <img name="waypoint7" src="icons/marker-7-grey.png" title="Waypoint 7 Position - (click to add/remove on map)" alt="Waypoint 7" onmousedown="markerToggleMap(7)"> | ||
200 | <td> | ||
201 | <input name="lon7" type="text" size=7 title="Waypoint 7 Longitude" onchange="formSetCoords(7);"><!-- lon7 --> E | ||
202 | <td> | ||
203 | <input name="lat7" type="text" size=7 title="Waypoint 7 Latitude" onchange="formSetCoords(7);"><!-- lat7 --> N | ||
204 | <td> | ||
205 | <img alt="o" src="icons/waypoint-centre.png" title="Centre this waypoint on map" onmousedown="markerCentre(7);"> | ||
206 | <img alt="^" src="icons/waypoint-up.png" title="Move this waypoint up" onmousedown="markerMoveUp(7);" > | ||
207 | <img alt="+" src="icons/waypoint-add.png" title="Add waypoint after this one" onmousedown="markerAddAfter(7);"><br> | ||
208 | <img alt="~" src="icons/waypoint-home.png" title="Toggle as home location" onmousedown="markerHome(7);" > | ||
209 | <img alt="v" src="icons/waypoint-down.png" title="Move this waypoint down" onmousedown="markerMoveDown(7);"> | ||
210 | <img alt="-" src="icons/waypoint-remove.png" title="Remove this waypoint" onmousedown="markerRemove(7);" > | ||
211 | <tr id="point8"> | ||
212 | <td> | ||
213 | <img name="waypoint8" src="icons/marker-8-grey.png" title="Waypoint 8 Position - (click to add/remove on map)" alt="Waypoint 8" onmousedown="markerToggleMap(8)"> | ||
214 | <td> | ||
215 | <input name="lon8" type="text" size=7 title="Waypoint 8 Longitude" onchange="formSetCoords(8);"><!-- lon8 --> E | ||
216 | <td> | ||
217 | <input name="lat8" type="text" size=7 title="Waypoint 8 Latitude" onchange="formSetCoords(8);"><!-- lat8 --> N | ||
218 | <td> | ||
219 | <img alt="o" src="icons/waypoint-centre.png" title="Centre this waypoint on map" onmousedown="markerCentre(8);"> | ||
220 | <img alt="^" src="icons/waypoint-up.png" title="Move this waypoint up" onmousedown="markerMoveUp(8);" > | ||
221 | <img alt="+" src="icons/waypoint-add.png" title="Add waypoint after this one" onmousedown="markerAddAfter(8);"><br> | ||
222 | <img alt="~" src="icons/waypoint-home.png" title="Toggle as home location" onmousedown="markerHome(8);" > | ||
223 | <img alt="v" src="icons/waypoint-down.png" title="Move this waypoint down" onmousedown="markerMoveDown(8);"> | ||
224 | <img alt="-" src="icons/waypoint-remove.png" title="Remove this waypoint" onmousedown="markerRemove(8);" > | ||
225 | <tr id="point9"> | ||
226 | <td> | ||
227 | <img name="waypoint9" src="icons/marker-9-grey.png" title="Waypoint 9 Position - (click to add/remove on map)" alt="Waypoint 9" onmousedown="markerToggleMap(9)"> | ||
228 | <td> | ||
229 | <input name="lon9" type="text" size=7 title="Waypoint 9 Longitude" onchange="formSetCoords(9);"><!-- lon9 --> E | ||
230 | <td> | ||
231 | <input name="lat9" type="text" size=7 title="Waypoint 9 Latitude" onchange="formSetCoords(9);"><!-- lat9 --> N | ||
232 | <td> | ||
233 | <img alt="o" src="icons/waypoint-centre.png" title="Centre this waypoint on map" onmousedown="markerCentre(9);"> | ||
234 | <img alt="^" src="icons/waypoint-up.png" title="Move this waypoint up" onmousedown="markerMoveUp(9);" > | ||
235 | <img alt="+" src="icons/waypoint-add.png" title="Add waypoint after this one" onmousedown="markerAddAfter(9);"><br> | ||
236 | <img alt="~" src="icons/waypoint-home.png" title="Toggle as home location" onmousedown="markerHome(9);" > | ||
237 | <img alt="v" src="icons/waypoint-down.png" title="Move this waypoint down" onmousedown="markerMoveDown(9);"> | ||
238 | <img alt="-" src="icons/waypoint-remove.png" title="Remove this waypoint" onmousedown="markerRemove(9);" > | ||
239 | <!-- Up to 99 markers can be included here in the HTML --> | ||
240 | <tr> | ||
241 | <td colspan="4" align="center"><input type="button" title="Reverse order of waypoints" value="Reverse waypoint order" onmousedown="markersReverse();"> | ||
242 | </table> | ||
243 | </div> | ||
244 | </div> | ||
245 | |||
246 | <div class="hideshow_box"> | ||
247 | <span id="hideshow_transport_show" onclick="hideshow_show('transport');" class="hideshow_hide">Show</span> | ||
248 | <span id="hideshow_transport_hide" onclick="hideshow_hide('transport');" class="hideshow_show">Hide</span> | ||
249 | <span class="hideshow_title">Transport Type</span> | ||
250 | <div id="hideshow_transport_div"> | ||
251 | <table> | ||
252 | <tr><td>Foot <td><input name="transport" type="radio" value="foot" onchange="formSetTransport('foot' )"><!-- transport --> | ||
253 | <tr><td>Horse <td><input name="transport" type="radio" value="horse" onchange="formSetTransport('horse' )"><!-- transport --> | ||
254 | <tr><td>Wheelchair<td><input name="transport" type="radio" value="wheelchair" onchange="formSetTransport('wheelchair')"><!-- transport --> | ||
255 | <tr><td>Bicycle <td><input name="transport" type="radio" value="bicycle" onchange="formSetTransport('bicycle' )"><!-- transport --> | ||
256 | <tr><td>Moped <td><input name="transport" type="radio" value="moped" onchange="formSetTransport('moped' )"><!-- transport --> | ||
257 | <tr><td>Motorbike <td><input name="transport" type="radio" value="motorbike" onchange="formSetTransport('motorbike' )"><!-- transport --> | ||
258 | <tr><td>Motorcar <td><input name="transport" type="radio" value="motorcar" onchange="formSetTransport('motorcar' )"><!-- transport --> | ||
259 | <tr><td>Goods <td><input name="transport" type="radio" value="goods" onchange="formSetTransport('goods' )"><!-- transport --> | ||
260 | <tr><td>HGV <td><input name="transport" type="radio" value="hgv" onchange="formSetTransport('hgv' )"><!-- transport --> | ||
261 | <tr><td>PSV <td><input name="transport" type="radio" value="psv" onchange="formSetTransport('psv' )"><!-- transport --> | ||
262 | </table> | ||
263 | </div> | ||
264 | </div> | ||
265 | |||
266 | <div class="hideshow_box"> | ||
267 | <span id="hideshow_highway_show" onclick="hideshow_show('highway');" class="hideshow_show">Show</span> | ||
268 | <span id="hideshow_highway_hide" onclick="hideshow_hide('highway');" class="hideshow_hide">Hide</span> | ||
269 | <span class="hideshow_title">Highway Preferences</span> | ||
270 | <div id="hideshow_highway_div" style="display: none;"> | ||
271 | <table> | ||
272 | <tr><td>Motorway: <td><input name="highway-motorway" type="text" size=3 onchange="formSetHighway('motorway' )"><!-- highway-motorway --><td>% | ||
273 | <tr><td>Trunk: <td><input name="highway-trunk" type="text" size=3 onchange="formSetHighway('trunk' )"><!-- highway-trunk --><td>% | ||
274 | <tr><td>Primary: <td><input name="highway-primary" type="text" size=3 onchange="formSetHighway('primary' )"><!-- highway-primary --><td>% | ||
275 | <tr><td>Secondary: <td><input name="highway-secondary" type="text" size=3 onchange="formSetHighway('secondary' )"><!-- highway-secondary --><td>% | ||
276 | <tr><td>Tertiary: <td><input name="highway-tertiary" type="text" size=3 onchange="formSetHighway('tertiary' )"><!-- highway-tertiary --><td>% | ||
277 | <tr><td>Unclassified:<td><input name="highway-unclassified" type="text" size=3 onchange="formSetHighway('unclassified')"><!-- highway-unclassified --><td>% | ||
278 | <tr><td>Residential: <td><input name="highway-residential" type="text" size=3 onchange="formSetHighway('residential' )"><!-- highway-residential --><td>% | ||
279 | <tr><td>Service: <td><input name="highway-service" type="text" size=3 onchange="formSetHighway('service' )"><!-- highway-service --><td>% | ||
280 | <tr><td>Track: <td><input name="highway-track" type="text" size=3 onchange="formSetHighway('track' )"><!-- highway-track --><td>% | ||
281 | <tr><td>Cycleway: <td><input name="highway-cycleway" type="text" size=3 onchange="formSetHighway('cycleway' )"><!-- highway-cycleway --><td>% | ||
282 | <tr><td>Path: <td><input name="highway-path" type="text" size=3 onchange="formSetHighway('path' )"><!-- highway-path --><td>% | ||
283 | <tr><td>Steps: <td><input name="highway-steps" type="text" size=3 onchange="formSetHighway('steps' )"><!-- highway-steps --><td>% | ||
284 | amb | 585 | <tr><td>Ferry: <td><input name="highway-ferry" type="text" size=3 onchange="formSetHighway('ferry' )"><!-- highway-ferry --><td>% |
285 | amb | 577 | </table> |
286 | </div> | ||
287 | </div> | ||
288 | |||
289 | <div class="hideshow_box"> | ||
290 | <span id="hideshow_speed_show" onclick="hideshow_show('speed');" class="hideshow_show">Show</span> | ||
291 | <span id="hideshow_speed_hide" onclick="hideshow_hide('speed');" class="hideshow_hide">Hide</span> | ||
292 | <span class="hideshow_title">Speed Limits</span> | ||
293 | <div id="hideshow_speed_div" style="display: none;"> | ||
294 | <table> | ||
295 | <tr><td>Motorway: <td><input name="speed-motorway" type="text" size=3 onchange="formSetSpeed('motorway' )"><!-- speed-motorway --><td>km/hr | ||
296 | <tr><td>Trunk: <td><input name="speed-trunk" type="text" size=3 onchange="formSetSpeed('trunk' )"><!-- speed-trunk --><td>km/hr | ||
297 | <tr><td>Primary: <td><input name="speed-primary" type="text" size=3 onchange="formSetSpeed('primary' )"><!-- speed-primary --><td>km/hr | ||
298 | <tr><td>Secondary: <td><input name="speed-secondary" type="text" size=3 onchange="formSetSpeed('secondary' )"><!-- speed-secondary --><td>km/hr | ||
299 | <tr><td>Tertiary: <td><input name="speed-tertiary" type="text" size=3 onchange="formSetSpeed('tertiary' )"><!-- speed-tertiary --><td>km/hr | ||
300 | <tr><td>Unclassified:<td><input name="speed-unclassified" type="text" size=3 onchange="formSetSpeed('unclassified')"><!-- speed-unclassified --><td>km/hr | ||
301 | <tr><td>Residential: <td><input name="speed-residential" type="text" size=3 onchange="formSetSpeed('residential' )"><!-- speed-residential --><td>km/hr | ||
302 | <tr><td>Service: <td><input name="speed-service" type="text" size=3 onchange="formSetSpeed('service' )"><!-- speed-service --><td>km/hr | ||
303 | <tr><td>Track: <td><input name="speed-track" type="text" size=3 onchange="formSetSpeed('track' )"><!-- speed-track --><td>km/hr | ||
304 | <tr><td>Cycleway: <td><input name="speed-cycleway" type="text" size=3 onchange="formSetSpeed('cycleway' )"><!-- speed-cycleway --><td>km/hr | ||
305 | <tr><td>Path: <td><input name="speed-path" type="text" size=3 onchange="formSetSpeed('path' )"><!-- speed-path --><td>km/hr | ||
306 | <tr><td>Steps: <td><input name="speed-steps" type="text" size=3 onchange="formSetSpeed('steps' )"><!-- speed-steps --><td>km/hr | ||
307 | amb | 585 | <tr><td>Ferry: <td><input name="speed-ferry" type="text" size=3 onchange="formSetSpeed('ferry' )"><!-- speed-ferry --><td>km/hr |
308 | amb | 577 | </table> |
309 | </div> | ||
310 | </div> | ||
311 | |||
312 | <div class="hideshow_box"> | ||
313 | <span id="hideshow_property_show" onclick="hideshow_show('property');" class="hideshow_show">Show</span> | ||
314 | <span id="hideshow_property_hide" onclick="hideshow_hide('property');" class="hideshow_hide">Hide</span> | ||
315 | <span class="hideshow_title">Property Preferences</span> | ||
316 | <div id="hideshow_property_div" style="display: none;"> | ||
317 | <table> | ||
318 | amb | 585 | <tr><td>Paved: <td><input name="property-paved" type="text" size=3 onchange="formSetProperty('paved' )"><!-- property-paved --><td>% |
319 | <tr><td>Multiple Lanes:<td><input name="property-multilane" type="text" size=3 onchange="formSetProperty('multilane' )"><!-- property-multilane --><td>% | ||
320 | <tr><td>Bridge: <td><input name="property-bridge" type="text" size=3 onchange="formSetProperty('bridge' )"><!-- property-bridge --><td>% | ||
321 | <tr><td>Tunnel: <td><input name="property-tunnel" type="text" size=3 onchange="formSetProperty('tunnel' )"><!-- property-tunnel --><td>% | ||
322 | <tr><td>Walking Route: <td><input name="property-footroute" type="text" size=3 onchange="formSetProperty('footroute' )"><!-- property-footroute --><td>% | ||
323 | <tr><td>Bicycle Route: <td><input name="property-bicycleroute" type="text" size=3 onchange="formSetProperty('bicycleroute')"><!-- property-bicycleroute --><td>% | ||
324 | amb | 577 | </table> |
325 | </div> | ||
326 | </div> | ||
327 | |||
328 | <div class="hideshow_box"> | ||
329 | <span id="hideshow_restriction_show" onclick="hideshow_show('restriction');" class="hideshow_show">Show</span> | ||
330 | <span id="hideshow_restriction_hide" onclick="hideshow_hide('restriction');" class="hideshow_hide">Hide</span> | ||
331 | <span class="hideshow_title">Other Restrictions</span> | ||
332 | <div id="hideshow_restriction_div" style="display: none;"> | ||
333 | <table> | ||
334 | <tr><td>Obey oneway:<td><input name="restrict-oneway" type="checkbox" onchange="formSetRestriction('oneway')"><!-- oneway --><td> | ||
335 | amb | 622 | <tr><td>Obey turns: <td><input name="restrict-turns" type="checkbox" onchange="formSetRestriction('turns' )"><!-- turns --><td> |
336 | amb | 577 | <tr><td>Weight: <td><input name="restrict-weight" type="text" size=3 onchange="formSetRestriction('weight')"><!-- weight --><td>tonnes |
337 | <tr><td>Height: <td><input name="restrict-height" type="text" size=3 onchange="formSetRestriction('height')"><!-- height --><td>metres | ||
338 | <tr><td>Width: <td><input name="restrict-width" type="text" size=3 onchange="formSetRestriction('width' )"><!-- width --><td>metres | ||
339 | <tr><td>Length: <td><input name="restrict-length" type="text" size=3 onchange="formSetRestriction('length')"><!-- length --><td>metres | ||
340 | </table> | ||
341 | </div> | ||
342 | </div> | ||
343 | |||
344 | <div class="hideshow_box"> | ||
345 | <span class="hideshow_title">Find</span> | ||
346 | <input type="button" title="Find shortest route" id="shortest" value="Shortest" onclick="findRoute('shortest');"> | ||
347 | <input type="button" title="Find quickest route" id="quickest" value="Quickest" onclick="findRoute('quickest');"> | ||
348 | </div> | ||
349 | |||
350 | <div class="hideshow_box"> | ||
351 | <span class="hideshow_title">Links</span> | ||
352 | <a id="link_url" href="router.html">Permanent link to these parameters</a> | ||
353 | <br> | ||
354 | <a id="edit_url" target="other" href="http://www.openstreetmap.org/">Edit OSM data in Potlatch</a> | ||
355 | </div> | ||
356 | |||
357 | <div class="hideshow_box"> | ||
358 | <span id="hideshow_help_options_show" onclick="hideshow_show('help_options');" class="hideshow_hide">Show</span> | ||
359 | <span id="hideshow_help_options_hide" onclick="hideshow_hide('help_options');" class="hideshow_show">Hide</span> | ||
360 | <span class="hideshow_title">Help</span> | ||
361 | <div id="hideshow_help_options_div"> | ||
362 | <div class="scrollable"> | ||
363 | <p> | ||
364 | <b>Quick Start</b> | ||
365 | <br> | ||
366 | Click on marker icons (above) to place them on the map (right). Then | ||
367 | drag them to the correct position. Zooming the map before placing the | ||
368 | markers is probably easiest. Alternatively type the latitude and | ||
369 | longitude into the boxes above. | ||
370 | <p> | ||
371 | Select the transport type, allowed highway types, speed limits, highway | ||
372 | properties and other restrictions from the options above. | ||
373 | Select "Shortest" or "Quickest" to calculate the route and display it | ||
374 | on the map. | ||
375 | <p> | ||
376 | <b>Waypoints</b> | ||
377 | <br> | ||
378 | Clicking on the marker icons will toggle the display of them on the map. | ||
379 | When a route is calculated it will visit (as close as possible | ||
380 | for the selected transport type) each of the waypoints that have | ||
381 | markers on the map in the order given. | ||
382 | <p> | ||
383 | <b>Transport Type</b> | ||
384 | <br> | ||
385 | Selecting a transport type will restrict the chosen route to | ||
386 | those on which it is allowed and set default values for the | ||
387 | other parameters. | ||
388 | <p> | ||
389 | <b>Highway Preferences</b> | ||
390 | <br> | ||
391 | The highway preference is selected as a percentage and routes are chosen that | ||
392 | try to follow the preferred highways. | ||
393 | For example if a "Primary" road is given a "110%" preference and a "Secondary" | ||
394 | road is given a "100%" preference then it means that a route on a Primary road | ||
395 | can be up to 10% longer than on a secondary road and still be selected. | ||
396 | <p> | ||
397 | <b>Speed Limits</b> | ||
398 | <br> | ||
399 | The speed limits chosen here for the different types of highway apply if the | ||
400 | highway has no other speed limit marked or it is higher than the chosen one. | ||
401 | <p> | ||
402 | <b>Property Preferences</b> | ||
403 | <br> | ||
404 | The property preference is selected as a percentage and routes are chosen that | ||
405 | try to follow highways with the preferred property. | ||
406 | For example if a "Paved" highway is given a "75%" preference then it means that | ||
407 | an unpaved highway is automatically given a "25%" preference so that a route on | ||
408 | a paved highway can be 3 times the length of an unpaved one and still be | ||
409 | selected. | ||
410 | <p> | ||
411 | <b>Other Restrictions</b> | ||
412 | <br> | ||
413 | These allow a route to be found that avoids marked limits on | ||
414 | weight, height, width or length. It is also possible to ignore | ||
415 | one-way restrictions (e.g. if walking). | ||
416 | </div> | ||
417 | </div> | ||
418 | </div> | ||
419 | </form> | ||
420 | </div> | ||
421 | |||
422 | |||
423 | <div class="tab_content" id="tab_results_div" style="display: none;"> | ||
424 | |||
425 | <div class="hideshow_box"> | ||
426 | <span class="hideshow_title">Status</span> | ||
427 | <div id="result_status"> | ||
428 | <span id="result_status_not_run" ><b><i>Router not run</i></b></span> | ||
429 | <span id="result_status_running" style="display: none;"><b>Router running...</b></span> | ||
430 | <span id="result_status_complete" style="display: none;"><b>Routing completed</b></span> | ||
431 | <span id="result_status_error" style="display: none;"><b>Router error</b></span> | ||
432 | <span id="result_status_failed" style="display: none;"><b>Router failed to run</b></span> | ||
433 | </div> | ||
434 | </div> | ||
435 | |||
436 | <div class="hideshow_box"> | ||
437 | <span id="hideshow_shortest_show" onclick="hideshow_show('shortest');" class="hideshow_show">Show</span> | ||
438 | <span id="hideshow_shortest_hide" onclick="hideshow_hide('shortest');" class="hideshow_hide">Hide</span> | ||
439 | <span class="hideshow_title">Shortest Route</span> | ||
440 | <div id="shortest_status"> | ||
441 | <span id="shortest_status_no_info" ><b><i>No Information</i></b></span> | ||
442 | <span id="shortest_status_info" style="display: none;"></span> | ||
443 | </div> | ||
444 | <div id="hideshow_shortest_div" style="display: none;"> | ||
445 | <div id="shortest_links" style="display: none;"> | ||
446 | <table> | ||
447 | <tr><td>HTML directions:<td><a id="shortest_html" target="shortest_html" href="#">Open Popup</a> | ||
448 | <tr><td>GPX track file: <td><a id="shortest_gpx_track" target="shortest_gpx_track" href="#">Open Popup</a> | ||
449 | <tr><td>GPX route file: <td><a id="shortest_gpx_route" target="shortest_gpx_route" href="#">Open Popup</a> | ||
450 | <tr><td>Full text file: <td><a id="shortest_text_all" target="shortest_text_all" href="#">Open Popup</a> | ||
451 | <tr><td>Text file: <td><a id="shortest_text" target="shortest_text" href="#">Open Popup</a> | ||
452 | </table> | ||
453 | <hr> | ||
454 | </div> | ||
455 | <div id="shortest_route"> | ||
456 | </div> | ||
457 | </div> | ||
458 | </div> | ||
459 | |||
460 | <div class="hideshow_box"> | ||
461 | <span id="hideshow_quickest_show" onclick="hideshow_show('quickest');" class="hideshow_show">Show</span> | ||
462 | <span id="hideshow_quickest_hide" onclick="hideshow_hide('quickest');" class="hideshow_hide">Hide</span> | ||
463 | <span class="hideshow_title">Quickest Route</span> | ||
464 | <div id="quickest_status"> | ||
465 | <span id="quickest_status_no_info" ><b><i>No Information</i></b></span> | ||
466 | <span id="quickest_status_info" style="display: none;"></span> | ||
467 | </div> | ||
468 | <div id="hideshow_quickest_div" style="display: none;"> | ||
469 | <div id="quickest_links" style="display: none;"> | ||
470 | <table> | ||
471 | <tr><td>HTML directions:<td><a id="quickest_html" target="quickest_html" href="#">Open Popup</a> | ||
472 | <tr><td>GPX track file: <td><a id="quickest_gpx_track" target="quickest_gpx_track" href="#">Open Popup</a> | ||
473 | <tr><td>GPX route file: <td><a id="quickest_gpx_route" target="quickest_gpx_route" href="#">Open Popup</a> | ||
474 | <tr><td>Full text file: <td><a id="quickest_text_all" target="quickest_text_all" href="#">Open Popup</a> | ||
475 | <tr><td>Text file: <td><a id="quickest_text" target="quickest_text" href="#">Open Popup</a> | ||
476 | </table> | ||
477 | <hr> | ||
478 | </div> | ||
479 | <div id="quickest_route"> | ||
480 | </div> | ||
481 | </div> | ||
482 | </div> | ||
483 | |||
484 | <div class="hideshow_box"> | ||
485 | <span id="hideshow_help_route_show" onclick="hideshow_show('help_route');" class="hideshow_hide">Show</span> | ||
486 | <span id="hideshow_help_route_hide" onclick="hideshow_hide('help_route');" class="hideshow_show">Hide</span> | ||
487 | <span class="hideshow_title">Help</span> | ||
488 | <div id="hideshow_help_route_div"> | ||
489 | <div class="scrollable"> | ||
490 | <p> | ||
491 | <b>Quick Start</b> | ||
492 | <br> | ||
493 | After calculating a route you can download the GPX file or plain | ||
494 | text route description (summary or detailed version). Also you | ||
495 | can view the route description and zoom in to selected parts. | ||
496 | <p style="margin-bottom: 0px"> | ||
497 | <b>Problem Solving</b> | ||
498 | <br> | ||
499 | If the router completes with an error then the most likely cause is | ||
500 | that it is not possible to find a route between the selected points. | ||
501 | Moving one or more markers or changing the routing options should | ||
502 | allow a route to be found. | ||
503 | <p style="margin-bottom: 0px"> | ||
504 | <b>Output Formats</b> | ||
505 | <br> | ||
506 | <dl style="margin-top: 0px"> | ||
507 | <dt>HTML instructions | ||
508 | <dd>A description of the route to take with directions at each | ||
509 | important junction. | ||
510 | <dt>GPX track file | ||
511 | <dd>The same information that is displayed on the map with points | ||
512 | for every node and lines for every segment. | ||
513 | <dt>GPX route file | ||
514 | <dd>The same information that is displayed in text for the route | ||
515 | with a waypoint for each important junction in the route. | ||
516 | <dt>Full text file | ||
517 | <dd>A list of all of the nodes visited as well as the distance | ||
518 | between them and the cumulative distance for each step of the | ||
519 | route. | ||
520 | <dt>Text file | ||
521 | <dd>The same information that is displayed in text for the route. | ||
522 | </dl> | ||
523 | </div> | ||
524 | </div> | ||
525 | </div> | ||
526 | </div> | ||
527 | |||
528 | |||
529 | <div class="tab_content" id="tab_data_div" style="display: none;"> | ||
530 | <div class="hideshow_box"> | ||
531 | <span class="hideshow_title">Statistics</span> | ||
532 | <div id="statistics_data"></div> | ||
533 | <a id="statistics_link" href="statistics.cgi" onclick="displayStatistics();return(false);">Display data statistics</a> | ||
534 | </div> | ||
535 | |||
536 | <div class="hideshow_box"> | ||
537 | <span class="hideshow_title">Visualiser</span> | ||
538 | To see Routino's view of the data there is a data visualiser that allows | ||
539 | displaying of the underlying data in various ways. | ||
540 | <br> | ||
541 | <a id="visualiser_url" target="other" href="visualiser.html">Custom link to this map view</a> | ||
542 | </div> | ||
543 | </div> | ||
544 | |||
545 | </div> | ||
546 | |||
547 | <!-- Right hand side of window - map --> | ||
548 | |||
549 | <div class="right_panel"> | ||
550 | <div class="map" id="map"> | ||
551 | <noscript> | ||
552 | Javascript is <em>required</em> to use this web page because of the | ||
553 | interactive map. | ||
554 | </noscript> | ||
555 | </div> | ||
556 | <div class="attribution"> | ||
557 | amb | 584 | <a target="other" href="http://www.routino.org/" title="Routino">Router: Routino</a> |
558 | amb | 577 | | |
559 | <a target="other" href="http://www.openstreetmap.org/" title="Copyright: OpenStreetMap.org; License: Creative Commons Attribution-Share Alike 2.0">Geo Data: OpenStreetMap</a> | ||
560 | </div> | ||
561 | </div> | ||
562 | |||
563 | </BODY> | ||
564 | </HTML> |