Ticket #12: navit.xml

File navit.xml, 5.7 KB (added by dctucker, 12 years ago)

My navit.xml file -- see lines 44 and 81

Line 
1<?xml version="1.0"?>
2<!DOCTYPE config SYSTEM "navit.dtd">
3<!-- For configuration options used in this file, please read
4     http://wiki.navit-project.org/index.php/Configuring_NavIt
5     Do not edit /usr/share/navit/navit.xml : changes would be lost
6     on upgrade. Rather copy it to ~/.navit/. Please read wiki -->
7<config xmlns:xi="http://www.w3.org/2001/XInclude">
8    <plugins>
9        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so" ondemand="yes"/>
10                <plugin path="$NAVIT_LIBDIR/autoload/${NAVIT_LIBPREFIX}lib*.so" active="no"/>
11        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so" active="no"/>
12        <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libgraphics_null.so" active="no"/>
13    </plugins>
14        <!-- Recommended for MacOS by wiki: ~
15        <plugins>               
16                <plugin path="/opt/local/lib/navit/binding/libbinding_python.dylib"/>
17                <plugin path="/opt/local/lib/navit/data/libdata_binfile.dylib"/>
18                <plugin path="/opt/local/lib/navit/data/libdata_mg.dylib"/>
19                <plugin path="/opt/local/lib/navit/data/libdata_poi_geodownload.dylib"/>
20                <plugin path="/opt/local/lib/navit/data/libdata_textfile.dylib"/>
21                <plugin path="/opt/local/lib/navit/graphics/libgraphics_gtk_drawing_area.dylib" />
22                <plugin path="/opt/local/lib/navit/graphics/libgraphics_null.dylib" active="no"/>
23                <plugin path="/opt/local/lib/navit/gui/libgui_gtk.dylib" />
24                <plugin path="/opt/local/lib/navit/osd/libosd_core.dylib" />
25                <plugin path="/opt/local/lib/navit/speech/libspeech_cmdline.dylib" />
26                <plugin path="/opt/local/lib/navit/vehicle/libvehicle_demo.dylib" />
27                <plugin path="/opt/local/lib/navit/vehicle/libvehicle_file.dylib" />
28         </plugins>
29        -->
30    <debug name="navit:do_draw" level="0"/>
31    <!-- This is here so one can copy&paste the contents of popup menus -->
32    <debug name="navit:popup_printf_cb" level="0"/>
33    <!-- segv: 1 - show backtrace with gdb and exit, 2 - stay in gdb -->
34    <debug name="segv" level="1"/>
35    <!-- timestamps 0/1 - prefix log messages with a timestamp -->
36    <debug name="timestamps" level="0"/>
37    <!-- This line defines which location on the map navit will show after startup.
38         It makes sense to set it to your home coordinates.
39         Center coordinates format:
40         [D][D]DMM.ss[S][S]... N/S [D][D]DMM.ss[S][S]... E/W
41         [-][D]D.d[d]... [-][D][D]D.d[d]...
42         [-]0xX [-]0xX -->
43
44    <navit imperial="1" center="3408 N 7834 W" zoom="256" tracking="0" cursor="1" orientation="-1" recent_dest="10">
45                <gui type="internal" />
46                <graphics type="gtk_drawing_area" />
47               
48                <!--
49                <gui type="internal" />
50                <graphics type="sdl" />
51
52                <gui type="gtk" />
53                <graphics type="gtk_drawing_area" />
54
55                <gui type="internal" />
56                <graphics type="qt_qpainter" />
57
58                <gui type="cegui" tilt="400" view_mode="3D" skin="Mineque" />
59                <graphics type="opengl" />
60                -->
61
62                <!-- for a debug log -->
63        <log enabled="no" type="textfile_debug" data="debug_%Y%m%d-%i.txt" flush_size="1000" flush_time="30"/>
64
65        <!-- osd items allow to position display and control items directly on top of the map: -->
66        <osd enabled="yes" type="compass"/>
67        <osd enabled="yes" type="eta"/>
68        <osd enabled="yes" type="navigation_distance_to_target"/>
69        <osd enabled="yes" type="navigation"/>
70        <osd enabled="yes" type="navigation_distance_to_next"/>
71        <osd enabled="yes" type="navigation_next_turn"/>
72
73        <!-- Commands include gui_internal_menu, gui_internal_fullscreen, zoom_in and zoom_out.
74             Usage of negative values change the button origins. x="0" y="0" specifies the top left, x="-0" y="-0" the bottom right corner.
75             It's always the top left corner of the icon, so you need to consider the icon's size when you enter the values. -->
76        <osd enabled="yes" type="button" x="0" y="0" command="gui.fullscreen()" src="toggle_fullscreen.xpm"/>
77        <osd enabled="yes" type="button" x="-96" y="0" command="gui.menu()" src="menu.xpm"/>
78        <osd enabled="yes" type="button" x="-96" y="-96" command="zoom_in()" src="zoom_in.xpm"/>
79        <osd enabled="yes" type="button" x="0" y="-96" command="zoom_out()" src="zoom_out.xpm"/>
80
81                <osd enabled="yes" type="text" label="${navigation.item.destination_length[miles]}" x="5" y="-150"
82                           font_size="400" w="170" h="30" align="4" background_color="#1a6ad780"/>
83
84
85                <xi:include href="$NAVIT_SHAREDIR/vehicles/*.xml"/>
86
87                <!-- For the cumulative displacement filter to be enabled, set cdf_histsize="x" here, with x being an integer somewhere around 4 -->
88        <tracking cdf_histsize="0"/>
89
90        <route destination_distance="50"/>
91
92        <navigation>
93            <announce type="street_0,street_1_city" level0="25" level1="100" level2="200" unit="m"/>
94            <announce type="street_2_city,street_3_city,street_4_city,ramp" level0="50" level1="200" level2="500" unit="m"/>
95            <announce type="highway_city,street_1_land,street_2_land,street_3_land,street_4_land" level0="100" level1="400" level2="1000" unit="m"/>
96            <announce type="street_n_lanes,highway_land" level0="300" level1="1000" level2="2000" unit="m"/>
97        </navigation>
98
99        <!-- Navit provides speech output in text format.
100             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.
101             The default is text output to the shell -->
102        <speech type="cmdline" data="echo 'Fix the speech tag in navit.xml to let navit say:' '%s'" cps="15"/>
103        <!-- <speech type="cmdline" data="flite -t '%s'"/> -->
104
105        <mapset enabled="yes">
106            <xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>
107        </mapset>
108
109                <xi:include href="$NAVIT_SHAREDIR/layouts/*.xml"/>
110    </navit>
111</config>