summaryrefslogtreecommitdiff
path: root/navit/navit_shipped.xml
blob: 409b149e835f28a1ad69f84c2328f2a018d343d6 (plain)
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
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
<?xml version="1.0" encoding="UTF-8"?><!--
	For configuration options used in this file, please read
	http://wiki.navit-project.org/index.php/Configuration
	Do not edit /usr/share/navit/navit.xml or /etc/navit/navit.xml :
	changes would be lost on upgrade. Rather copy it to ~/.navit/.
-->
<!DOCTYPE config
  SYSTEM "navit.dtd">
<config xmlns:xi="http://www.w3.org/2001/XInclude">
	<plugins>
		<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so" ondemand="yes"/>
		<plugin path="$NAVIT_LIBDIR/autoload/${NAVIT_LIBPREFIX}lib*.so"/>
		<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so" active="no"/>
		<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libgraphics_null.so" active="no"/>
	</plugins>

	<!-- The global debug level (like using command line option "-d"). Ignored if option -d is used. -->
	<!-- Possible debug levels: error, warning, info, debug. -->
	<debug name="global" dbg_level="error"/>
	<!-- Example of setting the debug level for a single function.  -->
	<debug name="navit:do_draw" dbg_level="error"/>
	<!-- Example for logging timing/profiling information. Note the prefix "profile:".
	<debug name="profile:navit:do_draw" dbg_level="debug"/>
	-->
	<!-- segv: 1 - show backtrace with gdb and exit, 2 - stay in gdb -->
	<debug name="segv" level="1"/>
	<!-- timestamps 0/1 - prefix log messages with a timestamp -->
	<debug name="timestamps" level="0"/>

	<!--
	center= defines which map location Navit will show after first start.
	It will only be used for the first start; subsequent starts will remember the
	last position (in center.txt).
	Center coordinates format: "Long Lat" in decimal degrees (WGS 84).
	For other formats see http://wiki.navit-project.org/index.php/Coordinate_format.
	-->
	<navit center="11.5666 48.1333" zoom="256" tracking="1" orientation="-1" recent_dest="250" drag_bitmap="0" default_layout="Car">
		<!-- Use one of gtk_drawing_area, qt_qpainter or sdl. On windows systems, use win32 -->
		<graphics type="gtk_drawing_area"/>
		<!--
		The following line let you select which graphical user interface you'd like to use.
		Options include internal (optimized for touch screen devices), gtk (useful for desktop computers).
		If you don't like the internal gui, set enabled=yes for the following tag and enabled=no for the gui internal tag
		-->
		<gui type="gtk" enabled="no" menubar="1" toolbar="1" statusbar="1"/>
		<!--
		In case of the internal GUI, you can even influence the size of the text and of the icons in the toolbar and the viewport.
		Here's an example for a freerunner:
		<gui type="internal" font_size="350" icon_xs="32" icon_s="96" icon_l="96"/>
		-->

		<!--
		The action that appears on map click is configurable with the attribute "on_map_click".
		To get the previous behaviour of showing the map point menu use on_map_click='menu("#Map Point")'
		-->
		<gui type="internal" enabled="yes"><![CDATA[
			<html>
				<a name='Main Menu'><text>Main menu</text>
					<a href='#Actions'><img src='gui_actions'>Actions</img></a>
					<img cond='flags&amp;2' src='gui_map' onclick='back_to_map()'><text>Show
Map</text></img>
					<a href='#Settings'><img src='gui_settings'><text>Settings</text></img></a>
				<a href='#Tools'><img src='gui_tools'><text>Tools</text></img></a>
				<a href='#Route'><img src='gui_settings'><text>Route</text></img></a>
				<img src='gui_about' onclick='about()'><text>About</text></img>
				<img src='gui_quit' onclick='quit()'><text>Quit</text></img>
				</a>
			<a name='Actions'><text>Actions</text>
				<img src='gui_bookmark' onclick='bookmarks()'><text>Bookmarks</text></img>
				<img src='gui_formerdests' onclick='formerdests()'><text>Former
Destinations</text></img>
				<img cond='click_coord_geo' src='gui_map' onclick='position(click_coord_geo,_("Map Point"),8|16|32|64|256)'><script>write(click_coord_geo)</script></img>
				<img cond='position_coord_geo' src='gui_vehicle' onclick='position(position_coord_geo,_("Vehicle Position"),8|32|64|128|256)'><script>write(position_coord_geo)</script></img>
				<img src='gui_town' onclick='town()'><text>Town</text></img>
				<img src='gui_map' onclick='enter_coord()'><text>Coordinates</text></img>
				<img cond='navit.route.route_status&amp;1' src='gui_stop' onclick='abort_navigation();refresh()'><text>Stop
Navigation</text></img>
			</a>
			<a name='Settings'><text>Settings</text>
				<a href='#Settings Display'><img src='gui_display'><text>Display</text></img></a>
				<img src='gui_maps' onclick='setting_maps()'><text>Maps</text></img>
				<!-- <a href='#Settings Maps'><img src='gui_maps'><text>Maps</text></img></a> -->
				<img src='gui_vehicle' onclick='setting_vehicle()'><text>Vehicle</text></img>
				<!-- <a href='#Settings Vehicles'><img src='gui_vehicle'><text>Vehicle</text></img></a> -->
				<img src='gui_rules' onclick='setting_rules()'><text>Rules</text></img>
			</a>
			<a name='Settings Display'><text>Display</text>
				<!-- <img src='gui_display' onclick='setting_layout()'><text>Layout</text></img> -->
				<a href='#Settings Layouts'><img src='gui_display'><text>Layout</text></img></a>
				<img cond='fullscreen==0' src='gui_fullscreen' onclick='fullscreen=1'><text>Fullscreen</text></img>
				<img cond='fullscreen==1' src='gui_leave_fullscreen' onclick='fullscreen=0'><text>Window Mode</text></img>
				<img cond='navit.pitch==0' src='gui_map' onclick='navit.pitch=pitch;redraw_map();back_to_map()'><text>3D</text></img>
				<img cond='navit.pitch!=0' src='gui_map' onclick='navit.pitch=0;redraw_map();back_to_map()'><text>2D</text></img>
				<img cond='navit.autozoom_active==0' src='gui_zoom_auto' onclick='navit.autozoom_active=1;redraw_map();back_to_map()'><text>Auto zoom</text></img>
				<img cond='navit.autozoom_active==1' src='gui_zoom_manual' onclick='navit.autozoom_active=0;redraw_map();back_to_map()'><text>Manual zoom</text></img>
  				<a href='#Settings Layers'><img src='gui_layers'><text>Layers</text></img></a>
			</a>
			<a name='Tools'><text>Tools</text>
				<img src='gui_actions' onclick='locale()'><text>Show Locale</text></img>
				<img src='gui_tools' onclick='network_info()'><text>Network info</text></img>
			</a>
			<a name='Route'><text>Route</text>
				<img cond='navit.route.route_status&amp;1' src='gui_zoom_route' onclick='navit.zoom_to_route();redraw_map();back_to_map()'><text>Zoom to route</text></img>
				<img src='gui_actions' onclick='route_description()'><text>Description</text></img>
				<img src='gui_heightprofile' onclick='route_height_profile()'><text>Height Profile</text></img>
				<img cond='navit.waypoints_flag &amp;&amp; (navit.route.route_status&amp;1)' src='cursor_still' onclick='waypoints()'><text>Waypoints</text></img>
				<img cond='navit.waypoints_flag &amp;&amp; (navit.route.route_status&amp;1)' src='gui_stop' onclick='navit.route_remove_last_waypoint()'><text>Drop last
Waypoint</text></img>
				<img cond='navit.waypoints_flag &amp;&amp; (navit.route.route_status&amp;1)' src='gui_stop' onclick='navit.route_remove_next_waypoint()'><text>Drop next
Waypoint</text></img>
			</a>
			<a name='Map Point'><text>Map Point</text>
				<script>position(click_coord_geo,_("Map Point"),8|16|32|64|256)</script>
			</a>
			<a name='Settings Layouts' class='clist' refresh_cond='navit.layout'><text>Layout</text>
				<script>
					foreach(layout;navit.layout)
						img("centry", navit.layout==layout?"gui_active":"gui_inactive", layout.name,
							"", "navit.layout=navit.layout[@name==%{se}*]", layout.name);
				</script>
			</a>
			<a name='Settings Maps' class='clist'><text>Maps</text>
				<script>
					foreach(map;navit.mapset.map)
						if (map.description)
							img("centry",map.active?"gui_active":"gui_inactive", map.description,
							"","navit.mapset.map[@description==%{se}].active=%{d}*",map.description,!map.active,"redraw_map();refresh();");
						else
							img("centry",map.active?"gui_active":"gui_inactive", map.type+":"+map.data,
								"","navit.mapset.map[@data==%{se}].active=%{d}*",map.data,!map.active,"redraw_map();refresh();");
				</script>
			</a>
			<a name='Settings Layers' class='clist'><text>Layers</text>
				<script>
					foreach(layer;navit.layout.layer)
						if (layer.name)
							img("centry",layer.active?"gui_active":"gui_inactive",layer.name,
							"","navit.layout.layer[@name==%{se}].active=%{d}*",layer.name,!layer.active,"redraw_map();refresh();");
						else
							img("centry",layer.active?"gui_active":"gui_inactive",
								"","navit.layout.layer[@name==%{se}].active=%{d}*",layer.name,!layer.active,"redraw_map();refresh();");
				</script>
			</a>
			<a name='Settings Vehicles' class='clist'><text>Vehicle</text>
				<script>
					foreach(vehicle;navit.vehicle)
						img("centry",navit.vehicle==vehicle?"gui_active":"gui_inactive",vehicle.name,
							"name=%{se};menu(\"#Settings Vehicle\")",vehicle.name);
				</script>
			</a>
			<a name='Settings Vehicle' class='clist'><script>write(name)</script>
				<script>
					foreach(vehicle;navit.vehicle)
						if (vehicle.name == name) {
							if (vehicle!=navit.vehicle)
								img("centry","gui_active","Set as active",
									"","navit.vehicle=navit.vehicle[@name==%{se}*]",name);
							foreach(vehicleprofile;navit.vehicleprofile)
								img("centry",vehicle.profilename==vehicleprofile.name?"gui_active":"gui_inactive",vehicleprofile.name,
									"","navit.vehicle[@name=%{se}].profilename=%{se}*",name,vehicleprofile.name,"refresh()");
						}
				</script>
			</a>
			<a name='Satellite Status' class='clist'><text>Satellite Status</text>
				<script>satellite_status_page()</script>
			</a>
			<a name='NMEA Data' class='clist'><text>NMEA Data</text>
				<script>nmea_data_page()</script>
			</a>
			</html>
		]]></gui>
		<!-- for a debug log -->
		<log enabled="no" type="textfile_debug" data="debug_%Y%m%d-%i.txt" flush_size="1000" flush_time="30"/>
		<!-- osd items allow to position display and control items directly on top of the map.
		You can find a list of all the available OSDs items here:
		http://wiki.navit-project.org/index.php/OSD -->
		<osd enabled="no" type="compass"/>
		<osd enabled="no" type="navigation_next_turn"/>

		<!-- Commands include gui_internal_menu, gui_internal_fullscreen, zoom_in and zoom_out.
			Usage of negative values change the button origins. x="0" y="0" specifies the top left, x="-0" y="-0" the bottom right corner.
			It's always the top left corner of the icon, so you need to consider the icon's size when you enter the values. -->
		<osd enabled="no" type="button" x="0" y="0" command="gui.fullscreen=!gui.fullscreen" src="toggle_fullscreen.png"/>
		<osd enabled="no" type="button" x="-96" y="0" command="gui.menu(1)" src="menu.png"/>
		<osd enabled="no" type="button" x="-96" y="-96" command="zoom_in()" src="zoom_in.png"/>
		<osd enabled="no" type="button" x="0" y="-96" command="zoom_out()" src="zoom_out.png"/>

		<!-- Traffic -->
		<traffic type="null"/>

		<!-- Vehicle with GPS enabled for gpsd on unix -->
		<vehicle name="Local GPS" profilename="car" enabled="yes" active="1" source="gpsd://localhost" gpsd_query="w+xj">
		<!-- Vehicle with GPS enabled for direct communication on windows. Remove the line above if you use this. -->
		<!-- <vehicle name="Local GPS" profilename="car" follow="1" enabled="yes" active="1"
				source="serial:COM4 baudrate=4800 parity=N data=8 stop=1" > -->

			<!-- Navit can write a tracklog in several formats (gpx, nmea or textfile): -->
			<log enabled="no" type="gpx" attr_types="position_time_iso8601,position_direction,position_speed,profilename,position_radius" data="track_%Y%m%d-%%i.gpx" flush_size="1000" flush_time="30"/>
		</vehicle>

		<!-- For SDL, you should add follow="1" to have the view centered on your position -->
		<!-- <vehicle name="Meins" enabled="yes" source="gpsd://localhost" color="#0000ff" follow="1"/> -->

		<vehicle name="Demo" profilename="car" enabled="no" source="demo://"/>

		<!-- For the cumulative displacement filter to be enabled, set cdf_histsize="x" here, with x being an integer somewhere around 4 -->
		<tracking cdf_histsize="0"/>

		<vehicleprofile name="car" route_depth="4:25%,8:40000,18:10000" flags="0x4000000" flags_forward_mask="0x4040002" flags_reverse_mask="0x4040001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
			<roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10" />
			<roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="30" />
			<roadprofile item_types="street_3_city" speed="40" route_weight="40" />
			<roadprofile item_types="street_4_city" speed="50" route_weight="50" />
			<roadprofile item_types="highway_city" speed="80" route_weight="80" />
			<roadprofile item_types="street_1_land" speed="60" route_weight="60" />
			<roadprofile item_types="street_2_land" speed="65" route_weight="65" />
			<roadprofile item_types="street_3_land" speed="70" route_weight="70" />
			<roadprofile item_types="street_4_land" speed="80" route_weight="80" />
			<roadprofile item_types="street_n_lanes" speed="120" route_weight="120" />
			<roadprofile item_types="highway_land" speed="120" route_weight="120" />
			<roadprofile item_types="ramp" speed="40" route_weight="40" />
			<!--roundabout does not apply to OSMaps -->
			<roadprofile item_types="roundabout" speed="10" route_weight="10"/>
			<roadprofile item_types="ferry" speed="40" route_weight="40"/>
		</vehicleprofile>

		<vehicleprofile name="car_shortest" flags="0x4000000" flags_forward_mask="0x4000002" flags_reverse_mask="0x4000001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
			<roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="60" />
			<roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="60" />
			<roadprofile item_types="street_3_city" speed="40" route_weight="60" />
			<roadprofile item_types="street_4_city" speed="50" route_weight="60" />
			<roadprofile item_types="highway_city" speed="80" route_weight="60" />
			<roadprofile item_types="street_1_land" speed="60" route_weight="60" />
			<roadprofile item_types="street_2_land" speed="65" route_weight="60" />
			<roadprofile item_types="street_3_land" speed="70" route_weight="60" />
			<roadprofile item_types="street_4_land" speed="80" route_weight="60" />
			<roadprofile item_types="street_n_lanes" speed="120" route_weight="60" />
			<roadprofile item_types="highway_land" speed="120" route_weight="60" />
			<roadprofile item_types="ramp" speed="40" route_weight="60" />
			<!--roundabout does not apply to OSMaps -->
			<roadprofile item_types="roundabout" speed="10" route_weight="60"/>
			<roadprofile item_types="ferry" speed="40" route_weight="60"/>
		</vehicleprofile>

		<vehicleprofile name="car_avoid_tolls" flags="0x4000000" flags_forward_mask="0x4000402" flags_reverse_mask="0x4000001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
			<roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10"/>
			<roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="30"/>
			<roadprofile item_types="street_3_city" speed="40" route_weight="40"/>
			<roadprofile item_types="street_4_city" speed="50" route_weight="50"/>
			<roadprofile item_types="highway_city" speed="80" route_weight="80"/>
			<roadprofile item_types="street_1_land" speed="60" route_weight="60"/>
			<roadprofile item_types="street_2_land" speed="65" route_weight="65"/>
			<roadprofile item_types="street_3_land" speed="70" route_weight="70"/>
			<roadprofile item_types="street_4_land" speed="80" route_weight="80"/>
			<roadprofile item_types="street_n_lanes" speed="120" route_weight="120"/>
			<roadprofile item_types="highway_land" speed="120" route_weight="120"/>
			<roadprofile item_types="ramp" speed="40" route_weight="40"/>
			<!--roundabout does not apply to OSMaps -->
			<roadprofile item_types="roundabout" speed="10" route_weight="10"/>
			<roadprofile item_types="ferry" speed="40" route_weight="40"/>
		</vehicleprofile>
		<vehicleprofile name="car_pedantic" route_depth="18:25%,18:40000" flags="0x4000000" flags_forward_mask="0x4000002" flags_reverse_mask="0x4000001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
			<roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10"/>
			<roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="30"/>
			<roadprofile item_types="street_3_city" speed="40" route_weight="40"/>
			<roadprofile item_types="street_4_city" speed="50" route_weight="50"/>
			<roadprofile item_types="highway_city" speed="80" route_weight="80"/>
			<roadprofile item_types="street_1_land" speed="60" route_weight="60"/>
			<roadprofile item_types="street_2_land" speed="65" route_weight="65"/>
			<roadprofile item_types="street_3_land" speed="70" route_weight="70"/>
			<roadprofile item_types="street_4_land" speed="80" route_weight="80"/>
			<roadprofile item_types="street_n_lanes" speed="120" route_weight="120"/>
			<roadprofile item_types="highway_land" speed="120" route_weight="120"/>
			<roadprofile item_types="ramp" speed="40" route_weight="40"/>
			<!--roundabout does not apply to OSMaps -->
			<roadprofile item_types="roundabout" speed="10" route_weight="10"/>
			<roadprofile item_types="ferry" speed="40" route_weight="40"/>
		</vehicleprofile>
		<vehicleprofile name="bike" route_depth="18:25%,18:40000" flags="0x40000000" flags_forward_mask="0x40000000" flags_reverse_mask="0x40000000" maxspeed_handling="1" route_mode="0" static_speed="5" static_distance="25">
			<roadprofile item_types="steps" speed="2" route_weight="5" />
			<roadprofile item_types="street_pedestrian,footway" speed="5" route_weight="10" />
			<roadprofile item_types="path,track_ground" speed="12" route_weight="12" />
			<roadprofile item_types="track_gravelled" speed="17" route_weight="15" />
			<!-- cycleways, paved tracks, serviceways etc. are the favourite ways -->
			<roadprofile item_types="track_paved,cycleway,street_service,street_parking_lane" speed="22" route_weight="20" />
			<!-- residential, unclassified, living street etc. -->
			<roadprofile item_types="street_0,street_1_city,living_street" speed="20" route_weight="15" />
			<!-- tertiary and minor roads are acceptable, but should be avoided in favour of tracks and cycleways -->
			<roadprofile item_types="street_2_city,street_1_land,street_2_land" speed="22" route_weight="12" />
			<!-- secondary etc. are acceptable when necessary -->
			<roadprofile item_types="street_3_city" speed="22" route_weight="10" />
			<!-- primary, trunk etc. should be avoided -->
			<roadprofile item_types="street_4_city,ramp" speed="22" route_weight="7" />
			<!-- Those types do not appear in maptool.c and therefore are not used ATM -->
			<roadprofile item_types="street_3_land,street_4_land" speed="20" route_weight="7" />
			<!--roundabout does not apply to OSMaps -->
			<roadprofile item_types="roundabout" speed="20" route_weight="10"/>
			<roadprofile item_types="ferry" speed="40" route_weight="40"/>
		</vehicleprofile>

		<vehicleprofile name="pedestrian" route_depth="18:25%,18:10000" flags="0x80000000" flags_forward_mask="0x80000000" flags_reverse_mask="0x80000000" maxspeed_handling="1" route_mode="0" static_speed="3" static_distance="10">
			<roadprofile item_types="footway,bridleway,path,steps" speed="5" route_weight="5"/>
			<roadprofile item_types="hiking_mountain" speed="4" route_weight="4"/>
			<roadprofile item_types="living_street,street_pedestrian" speed="5" route_weight="5"/>
			<roadprofile item_types="track_gravelled,track_unpaved,track_grass,track_ground,hiking" speed="5" route_weight="5"/>
			<roadprofile item_types="track_paved" speed="5" route_weight="5"/>
			<roadprofile item_types="cycleway" speed="5" route_weight="5"/>
			<roadprofile item_types="street_0,street_1_city,street_2_city" speed="5" route_weight="5"/>
			<roadprofile item_types="street_3_city,street_4_city,street_service,street_parking_lane" speed="5" route_weight="5"/>
			<roadprofile item_types="street_1_land,street_2_land" speed="5" route_weight="5"/>
			<roadprofile item_types="street_3_land,street_4_land" speed="5" route_weight="5"/>
			<!--roundabout does not apply to OSMaps -->
			<roadprofile item_types="roundabout" speed="5" route_weight="5"/>
			<roadprofile item_types="ferry" speed="40" route_weight="40"/>
		</vehicleprofile>
		<vehicleprofile name="horse" route_depth="18:25%,18:40000" flags="0x20000000" flags_forward_mask="0x20000000" flags_reverse_mask="0x20000000" maxspeed_handling="1" route_mode="0" static_speed="3" static_distance="10">
			<roadprofile item_types="bridleway" speed="10" route_weight="10"/>
			<roadprofile item_types="footway,path,steps" speed="5" route_weight="5"/>
			<roadprofile item_types="living_street,street_pedestrian" speed="5" route_weight="4"/>
			<roadprofile item_types="track_gravelled" speed="5" route_weight="5"/>
			<roadprofile item_types="track_paved" speed="5" route_weight="5"/>
			<roadprofile item_types="cycleway" speed="5" route_weight="5"/>
			<roadprofile item_types="street_0,street_1_city,street_2_city" speed="5" route_weight="2"/>
			<roadprofile item_types="street_3_city,street_4_city,street_service,street_parking_lane" speed="5" route_weight="4"/>
			<roadprofile item_types="street_1_land,street_2_land" speed="5" route_weight="2"/>
			<roadprofile item_types="street_3_land,street_4_land" speed="5" route_weight="4"/>
			<!--roundabout does not apply to OSMaps -->
			<roadprofile item_types="roundabout" speed="5" route_weight="2"/>
			<roadprofile item_types="ferry" speed="40" route_weight="40"/>
		</vehicleprofile>
                <!-- chr:
                     flags used for a truck: (first flag number is 0)
                                 8: SIZE_OR_WEIGHT_LIMIT
                                21: TRANSPORT_TRUCK
                  speed setup:
                     'speed' data of the vehicleprofile for a car is
                        reduced about 10 km/h. When the speed was at
                        10 km/h, I reduced it to 5 km/h.
                     'route_weight' data has been treated in the same way.
                        If you want to discourage the use of small roads,
                        just reduce this value.
                  size and weight setup:
                     This is an example, you have to use the data of your truck.
                     bobshaffer's standard truck:
                       (1 lb = 453.59237 g, 1 foot = .3048 m)
                       (data has to be in [cm] and [kg] according to 'vehicleprofile.h')
                                vehicle_width=  9    feet,   274 cm
                               vehicle_height= 13.5  feet,   411 cm
                               vehicle_length= 70    feet,  2134 cm
                               vehicle_weight= 80000 lbs,  36287 kg
                          vehicle_axle_weight= 34000 lbs,  15422 kg
                -->

                <vehicleprofile name="Truck" flags="0x200000" flags_forward_mask="0x200002" flags_reverse_mask="0x200001" maxspeed_handling="1" route_mode="0" static_speed="5"
 static_distance="25"
                                vehicle_width="274" vehicle_height="411" vehicle_length="2134"
                                vehicle_weight="36287" vehicle_axle_weight="15422">
                        <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="5" />
                        <roadprofile item_types="street_2_city,track_paved" speed="20" route_weight="20"/>
                        <roadprofile item_types="street_3_city" speed="30" route_weight="30"/>
                       	<roadprofile item_types="street_4_city" speed="40" route_weight="40"/>
                        <roadprofile item_types="highway_city" speed="70" route_weight="70"/>
                        <roadprofile item_types="street_1_land" speed="50" route_weight="50"/>
                        <roadprofile item_types="street_2_land" speed="55" route_weight="55"/>
                        <roadprofile item_types="street_3_land" speed="60" route_weight="60"/>
                        <roadprofile item_types="street_4_land" speed="70" route_weight="70"/>
                        <roadprofile item_types="street_n_lanes" speed="80" route_weight="80"/>
                        <roadprofile item_types="highway_land" speed="80" route_weight="80"/>
                        <roadprofile item_types="ramp" speed="30" route_weight="30"/>
                        <!--roundabout does not apply to OSMaps -->
                        <roadprofile item_types="roundabout" speed="5" route_weight="5"/>
                        <roadprofile item_types="ferry" speed="40" route_weight="40"/>
                </vehicleprofile>


		<route destination_distance="50"/>

		<navigation>
			<announce type="street_0,street_1_city,street_parking_lane,living_street,street_service" level0="25" level1="100" level2="200" unit="m"/>
			<announce type="street_2_city,street_3_city,street_4_city,ramp" level0="50" level1="200" level2="500" unit="m"/>
			<announce type="highway_city,street_1_land,street_2_land,street_3_land,street_4_land" level0="100" level1="400" level2="1000" unit="m"/>
			<announce type="street_n_lanes,highway_land" level0="300" level1="1000" level2="2000" unit="m"/>
		</navigation>

		<!--
		Navit provides speech output in text format.
		If you have a speech synthesizer like festival lite installed, you can get turn by turn directions out of navit. Please set the "cps"-value to how many characters your tts engine approximately speaks per second.
		The default is text output to the shell
		-->
		<speech type="cmdline" data="echo 'Fix the speech tag in navit.xml to let navit say:' '%s'" cps="15"/>
		<!--
		Instead of using a speech synthesizer, navit can also play pre-recorded samples for each word.
		See http://wiki.navit-project.org/index.php/Configuration for details.

		<speech type="cmdline" data="aplay -q %s"
		sample_dir="/path/to/sampledir" sample_suffix=".wav" flags="1"
		vocabulary_name="0" vocabulary_name_systematic="0" vocabulary_distances="0"/>
		-->

		<!-- You can only have enabled only one mapset at time, but with as much maps enabled as you want -->

		<!-- If you have the reiseplaner maps installed, set enabled="yes" in the next line and set the path correctly -->
		<mapset enabled="no">
			<map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map"/>
			<map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp1.smp"/>
			<map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp2.smp"/>
			<map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp3.smp"/>
			<map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp4.smp"/>
			<map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp5.smp"/>
		</mapset>

		<!-- If you dont want to use the sample map, either set enabled="no" in the next line or remove the xml file from the maps directory -->
		<mapset enabled="yes">
			<xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>
		</mapset>

		<!-- Mapset template for openstreetmaps -->
		<mapset enabled="no">
			<map type="binfile" enabled="yes" data="/media/mmc2/MapsNavit/osm_europe.bin"/>
		</mapset>

		<!-- Mapset template for garmin maps -->
		<mapset enabled="no">
			<map type="garmin" enabled="yes" data="/path/to/img" debug="4"/>
		</mapset>

		<layer name="Found items" order="0-">
			<itemgra item_types="found_item">
				<circle color="#008080" radius="24" width="2" text_size="12"/>
			</itemgra>
		</layer>

		<!--
		Layouts are defined in their own specific XML files and are included below (one file per layout, all files matching the wildcard expression below will be used)
		The layout files describe the appearance of maps on the screen (colors, width, text fonts and sizes for each type of element to draw)
		One layout is a specifid theme. At runtime, the user can select only one layout at a time (by choosing the corresponding theme from its name tag defined in the layout XML file).
		If two layouts with the same name are included, the first one takes precedence.
		In the list below, we use the user-defined layouts first (in $NAVIT_USER_DATADIR), they take precedence. Being next in the list, the default layouts (in $NAVIT_SHAREDIR) will only be used if there is no user-defined layout that was already defined with the same name.
		-->
		<xi:include href="$NAVIT_USER_DATADIR/navit_layout_*.xml"/>
		<xi:include href="$NAVIT_SHAREDIR/navit_layout_*.xml"/>
		<layout name="Route">
			<layer name="streets">
				<itemgra item_types="street_route_occluded" order="0-">
					<polyline color="#0000a0" width="20"/>
				</itemgra>
			</layer>
		</layout>
	</navit>
</config>