"Fossies" - the Fresh Open Source Software Archive

Member "navit-0.5.6/navit/navit_shipped.xml" (6 Mar 2021, 30292 Bytes) of package /linux/privat/navit-0.5.6.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) XML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. See also the latest Fossies "Diffs" side-by-side code changes report for "navit_shipped.xml": 0.5.5_vs_0.5.6.

    1 <?xml version="1.0" encoding="UTF-8"?><!--
    2     For configuration options used in this file, please read
    3     http://wiki.navit-project.org/index.php/Configuration
    4     Do not edit /usr/share/navit/navit.xml or /etc/navit/navit.xml :
    5     changes would be lost on upgrade. Rather copy it to ~/.navit/.
    6 -->
    7 <!DOCTYPE config
    8   SYSTEM "navit.dtd">
    9 <config xmlns:xi="http://www.w3.org/2001/XInclude">
   10     <plugins>
   11         <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so" ondemand="yes"/>
   12         <plugin path="$NAVIT_LIBDIR/autoload/${NAVIT_LIBPREFIX}lib*.so"/>
   13         <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so" active="no"/>
   14         <plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libgraphics_null.so" active="no"/>
   15     </plugins>
   16 
   17     <!-- The global debug level (like using command line option "-d"). Ignored if option -d is used. -->
   18     <!-- Possible debug levels: error, warning, info, debug. -->
   19     <debug name="global" dbg_level="error"/>
   20     <!-- Example of setting the debug level for a single function.  -->
   21     <debug name="navit:do_draw" dbg_level="error"/>
   22     <!-- Example for logging timing/profiling information. Note the prefix "profile:".
   23     <debug name="profile:navit:do_draw" dbg_level="debug"/>
   24     -->
   25     <!-- segv: 1 - show backtrace with gdb and exit, 2 - stay in gdb -->
   26     <debug name="segv" level="1"/>
   27     <!-- timestamps 0/1 - prefix log messages with a timestamp -->
   28     <debug name="timestamps" level="0"/>
   29 
   30     <!--
   31     center= defines which map location Navit will show after first start.
   32     It will only be used for the first start; subsequent starts will remember the
   33     last position (in center.txt).
   34     Center coordinates format: "Long Lat" in decimal degrees (WGS 84).
   35     For other formats see http://wiki.navit-project.org/index.php/Coordinate_format.
   36     -->
   37     <navit center="11.5666 48.1333" zoom="256" tracking="1" orientation="-1" recent_dest="250" drag_bitmap="0" default_layout="Car">
   38         <!-- Use one of gtk_drawing_area, qt_qpainter or sdl. On windows systems, use win32 -->
   39         <graphics type="gtk_drawing_area"/>
   40 
   41         <!--
   42         To debug the graphics plugin in question it is possible to proxy it with svg_debug
   43         This way every frame will be written as a svg file. In addition to this the real graphics plugin will
   44         be called. To configure this, set type to svg_debug and the name attribute to the proxied plugin.
   45         Parameters are past to the proxied plugin as well. But resize callbacks currently only passed to the proxied
   46         plugin, and not handled by svg_debug, so resizing the window will not update the width and height of the resulting
   47         scg file. But all calls will still be recorded and written to the file, so you will see those drawing when opening
   48         the svg in an editor like inkscape.
   49         Example:
   50         -->
   51         <!--
   52         <graphics type="svg_debug" name="sdl2" window_title="Alternative attributes as passed to proxied plugin" w="1000" h="1000" />
   53          -->
   54 
   55         <!--
   56         The following line let you select which graphical user interface you'd like to use.
   57         Options include internal (optimized for touch screen devices), gtk (useful for desktop computers).
   58         If you don't like the internal gui, set enabled=yes for the following tag and enabled=no for the gui internal tag
   59         -->
   60         <gui type="gtk" enabled="no" menubar="1" toolbar="1" statusbar="1"/>
   61         <!--
   62         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.
   63         Here's an example for a freerunner:
   64         <gui type="internal" font_size="350" icon_xs="32" icon_s="96" icon_l="96"/>
   65         -->
   66 
   67         <!--
   68         The action that appears on map click is configurable with the attribute "on_map_click".
   69         To get the previous behaviour of showing the map point menu use on_map_click='menu("#Map Point")'
   70         -->
   71         <gui type="internal" enabled="yes"><![CDATA[
   72             <html>
   73                 <a name='Main Menu'><text>Main menu</text>
   74                     <a href='#Actions'><img src='gui_actions'>Actions</img></a>
   75                     <img cond='flags&amp;2' src='gui_map' onclick='back_to_map()'><text>Show
   76 Map</text></img>
   77                     <a href='#Settings'><img src='gui_settings'><text>Settings</text></img></a>
   78                 <a href='#Tools'><img src='gui_tools'><text>Tools</text></img></a>
   79                 <a href='#Route'><img src='gui_settings'><text>Route</text></img></a>
   80                 <img src='gui_about' onclick='about()'><text>About</text></img>
   81                 <img src='gui_quit' onclick='quit()'><text>Quit</text></img>
   82                 </a>
   83             <a name='Actions'><text>Actions</text>
   84                 <img src='gui_bookmark' onclick='bookmarks()'><text>Bookmarks</text></img>
   85                 <img src='gui_formerdests' onclick='formerdests()'><text>Former
   86 Destinations</text></img>
   87                 <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>
   88                 <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>
   89                 <img src='gui_town' onclick='town()'><text>Town</text></img>
   90                 <img src='gui_map' onclick='enter_coord()'><text>Coordinates</text></img>
   91                 <img cond='navit.route.route_status&amp;1' src='gui_stop' onclick='abort_navigation();refresh()'><text>Stop
   92 Navigation</text></img>
   93             </a>
   94             <a name='Settings'><text>Settings</text>
   95                 <a href='#Settings Display'><img src='gui_display'><text>Display</text></img></a>
   96                 <img src='gui_maps' onclick='setting_maps()'><text>Maps</text></img>
   97                 <!-- <a href='#Settings Maps'><img src='gui_maps'><text>Maps</text></img></a> -->
   98                 <img src='gui_vehicle' onclick='setting_vehicle()'><text>Vehicle</text></img>
   99                 <!-- <a href='#Settings Vehicles'><img src='gui_vehicle'><text>Vehicle</text></img></a> -->
  100                 <img src='gui_rules' onclick='setting_rules()'><text>Rules</text></img>
  101             </a>
  102             <a name='Settings Display'><text>Display</text>
  103                 <!-- <img src='gui_display' onclick='setting_layout()'><text>Layout</text></img> -->
  104                 <a href='#Settings Layouts'><img src='gui_display'><text>Layout</text></img></a>
  105                 <img cond='fullscreen==0' src='gui_fullscreen' onclick='fullscreen=1'><text>Fullscreen</text></img>
  106                 <img cond='fullscreen==1' src='gui_leave_fullscreen' onclick='fullscreen=0'><text>Window Mode</text></img>
  107                 <img cond='navit.pitch==0' src='gui_map' onclick='navit.pitch=pitch;redraw_map();back_to_map()'><text>3D</text></img>
  108                 <img cond='navit.pitch!=0' src='gui_map' onclick='navit.pitch=0;redraw_map();back_to_map()'><text>2D</text></img>
  109                 <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>
  110                 <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>
  111                 <a href='#Settings Layers'><img src='gui_layers'><text>Layers</text></img></a>
  112             </a>
  113             <a name='Tools'><text>Tools</text>
  114                 <img src='gui_actions' onclick='locale()'><text>Show Locale</text></img>
  115                 <img src='gui_tools' onclick='network_info()'><text>Network info</text></img>
  116             </a>
  117             <a name='Route'><text>Route</text>
  118                 <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>
  119                 <img src='gui_actions' onclick='route_description()'><text>Description</text></img>
  120                 <img src='gui_heightprofile' onclick='route_height_profile()'><text>Height Profile</text></img>
  121                 <img cond='navit.waypoints_flag &amp;&amp; (navit.route.route_status&amp;1)' src='cursor_still' onclick='waypoints()'><text>Waypoints</text></img>
  122                 <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
  123 Waypoint</text></img>
  124                 <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
  125 Waypoint</text></img>
  126             </a>
  127             <a name='Map Point'><text>Map Point</text>
  128                 <script>position(click_coord_geo,_("Map Point"),8|16|32|64|256)</script>
  129             </a>
  130             <a name='Settings Layouts' class='clist' refresh_cond='navit.layout'><text>Layout</text>
  131                 <script>
  132                     foreach(layout;navit.layout)
  133                         img("centry", navit.layout==layout?"gui_active":"gui_inactive", layout.name,
  134                             "", "navit.layout=navit.layout[@name==%{se}*]", layout.name);
  135                 </script>
  136             </a>
  137             <a name='Settings Maps' class='clist'><text>Maps</text>
  138                 <script>
  139                     foreach(map;navit.mapset.map)
  140                         if (map.description)
  141                             img("centry",map.active?"gui_active":"gui_inactive", map.description,
  142                             "","navit.mapset.map[@description==%{se}].active=%{d}*",map.description,!map.active,"redraw_map();refresh();");
  143                         else
  144                             img("centry",map.active?"gui_active":"gui_inactive", map.type+":"+map.data,
  145                                 "","navit.mapset.map[@data==%{se}].active=%{d}*",map.data,!map.active,"redraw_map();refresh();");
  146                 </script>
  147             </a>
  148             <a name='Settings Layers' class='clist'><text>Layers</text>
  149                 <script>
  150                     foreach(layer;navit.layout.layer)
  151                         if (layer.name)
  152                             img("centry",layer.active?"gui_active":"gui_inactive",layer.name,
  153                             "","navit.layout.layer[@name==%{se}].active=%{d}*",layer.name,!layer.active,"redraw_map();refresh();");
  154                         else
  155                             img("centry",layer.active?"gui_active":"gui_inactive",
  156                                 "","navit.layout.layer[@name==%{se}].active=%{d}*",layer.name,!layer.active,"redraw_map();refresh();");
  157                 </script>
  158             </a>
  159             <a name='Settings Vehicles' class='clist'><text>Vehicle</text>
  160                 <script>
  161                     foreach(vehicle;navit.vehicle)
  162                         img("centry",navit.vehicle==vehicle?"gui_active":"gui_inactive",vehicle.name,
  163                             "name=%{se};menu(\"#Settings Vehicle\")",vehicle.name);
  164                 </script>
  165             </a>
  166             <a name='Settings Vehicle' class='clist'><script>write(name)</script>
  167                 <script>
  168                     foreach(vehicle;navit.vehicle)
  169                         if (vehicle.name == name) {
  170                             if (vehicle!=navit.vehicle)
  171                                 img("centry","gui_active","Set as active",
  172                                     "","navit.vehicle=navit.vehicle[@name==%{se}*]",name);
  173                             foreach(vehicleprofile;navit.vehicleprofile)
  174                                 img("centry",vehicle.profilename==vehicleprofile.name?"gui_active":"gui_inactive",vehicleprofile.name,
  175                                     "","navit.vehicle[@name=%{se}].profilename=%{se}*",name,vehicleprofile.name,"refresh()");
  176                         }
  177                 </script>
  178             </a>
  179             <a name='Satellite Status' class='clist'><text>Satellite Status</text>
  180                 <script>satellite_status_page()</script>
  181             </a>
  182             <a name='NMEA Data' class='clist'><text>NMEA Data</text>
  183                 <script>nmea_data_page()</script>
  184             </a>
  185             </html>
  186         ]]></gui>
  187         <!-- for a debug log -->
  188         <log enabled="no" type="textfile_debug" data="debug_%Y%m%d-%i.txt" flush_size="1000" flush_time="30"/>
  189         <!-- osd items allow to position display and control items directly on top of the map.
  190         You can find a list of all the available OSDs items here:
  191         http://wiki.navit-project.org/index.php/OSD -->
  192         <osd enabled="no" type="compass"/>
  193         <osd enabled="no" type="navigation_next_turn"/>
  194 
  195         <!-- Commands include gui_internal_menu, gui_internal_fullscreen, zoom_in and zoom_out.
  196             Usage of negative values change the button origins. x="0" y="0" specifies the top left, x="-0" y="-0" the bottom right corner.
  197             It's always the top left corner of the icon, so you need to consider the icon's size when you enter the values. -->
  198         <osd enabled="no" type="button" x="0" y="0" command="gui.fullscreen=!gui.fullscreen" src="toggle_fullscreen.png"/>
  199         <osd enabled="no" type="button" x="-96" y="0" command="gui.menu(1)" src="menu.png"/>
  200         <osd enabled="no" type="button" x="-96" y="-96" command="zoom_in()" src="zoom_in.png"/>
  201         <osd enabled="no" type="button" x="0" y="-96" command="zoom_out()" src="zoom_out.png"/>
  202 
  203         <!-- Traffic -->
  204         <traffic type="null"/>
  205 
  206         <!-- Vehicle with GPS enabled for gpsd on unix -->
  207         <vehicle name="Local GPS" profilename="car" enabled="yes" active="1" source="gpsd://localhost" gpsd_query="w+xj">
  208         <!-- Vehicle with GPS enabled for direct communication on windows. Remove the line above if you use this. -->
  209         <!-- <vehicle name="Local GPS" profilename="car" follow="1" enabled="yes" active="1"
  210                 source="serial:COM4 baudrate=4800 parity=N data=8 stop=1" > -->
  211 
  212             <!-- Navit can write a tracklog in several formats (gpx, nmea or textfile): -->
  213             <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"/>
  214         </vehicle>
  215 
  216         <!-- For SDL, you should add follow="1" to have the view centered on your position -->
  217         <!-- <vehicle name="Meins" enabled="yes" source="gpsd://localhost" color="#0000ff" follow="1"/> -->
  218 
  219         <vehicle name="Demo" profilename="car" enabled="no" source="demo://"/>
  220 
  221         <!-- For the cumulative displacement filter to be enabled, set cdf_histsize="x" here, with x being an integer somewhere around 4 -->
  222         <tracking cdf_histsize="0"/>
  223 
  224         <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">
  225             <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10" />
  226             <roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="30" />
  227             <roadprofile item_types="street_3_city" speed="40" route_weight="40" />
  228             <roadprofile item_types="street_4_city" speed="50" route_weight="50" />
  229             <roadprofile item_types="highway_city" speed="80" route_weight="80" />
  230             <roadprofile item_types="street_1_land" speed="60" route_weight="60" />
  231             <roadprofile item_types="street_2_land" speed="65" route_weight="65" />
  232             <roadprofile item_types="street_3_land" speed="70" route_weight="70" />
  233             <roadprofile item_types="street_4_land" speed="80" route_weight="80" />
  234             <roadprofile item_types="street_n_lanes" speed="120" route_weight="120" />
  235             <roadprofile item_types="highway_land" speed="120" route_weight="120" />
  236             <roadprofile item_types="ramp" speed="40" route_weight="40" />
  237             <!--roundabout does not apply to OSMaps -->
  238             <roadprofile item_types="roundabout" speed="10" route_weight="10"/>
  239             <roadprofile item_types="ferry" speed="40" route_weight="40"/>
  240         </vehicleprofile>
  241 
  242         <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">
  243             <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="60" />
  244             <roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="60" />
  245             <roadprofile item_types="street_3_city" speed="40" route_weight="60" />
  246             <roadprofile item_types="street_4_city" speed="50" route_weight="60" />
  247             <roadprofile item_types="highway_city" speed="80" route_weight="60" />
  248             <roadprofile item_types="street_1_land" speed="60" route_weight="60" />
  249             <roadprofile item_types="street_2_land" speed="65" route_weight="60" />
  250             <roadprofile item_types="street_3_land" speed="70" route_weight="60" />
  251             <roadprofile item_types="street_4_land" speed="80" route_weight="60" />
  252             <roadprofile item_types="street_n_lanes" speed="120" route_weight="60" />
  253             <roadprofile item_types="highway_land" speed="120" route_weight="60" />
  254             <roadprofile item_types="ramp" speed="40" route_weight="60" />
  255             <!--roundabout does not apply to OSMaps -->
  256             <roadprofile item_types="roundabout" speed="10" route_weight="60"/>
  257             <roadprofile item_types="ferry" speed="40" route_weight="60"/>
  258         </vehicleprofile>
  259 
  260         <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">
  261             <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10"/>
  262             <roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="30"/>
  263             <roadprofile item_types="street_3_city" speed="40" route_weight="40"/>
  264             <roadprofile item_types="street_4_city" speed="50" route_weight="50"/>
  265             <roadprofile item_types="highway_city" speed="80" route_weight="80"/>
  266             <roadprofile item_types="street_1_land" speed="60" route_weight="60"/>
  267             <roadprofile item_types="street_2_land" speed="65" route_weight="65"/>
  268             <roadprofile item_types="street_3_land" speed="70" route_weight="70"/>
  269             <roadprofile item_types="street_4_land" speed="80" route_weight="80"/>
  270             <roadprofile item_types="street_n_lanes" speed="120" route_weight="120"/>
  271             <roadprofile item_types="highway_land" speed="120" route_weight="120"/>
  272             <roadprofile item_types="ramp" speed="40" route_weight="40"/>
  273             <!--roundabout does not apply to OSMaps -->
  274             <roadprofile item_types="roundabout" speed="10" route_weight="10"/>
  275             <roadprofile item_types="ferry" speed="40" route_weight="40"/>
  276         </vehicleprofile>
  277         <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">
  278             <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10"/>
  279             <roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="30"/>
  280             <roadprofile item_types="street_3_city" speed="40" route_weight="40"/>
  281             <roadprofile item_types="street_4_city" speed="50" route_weight="50"/>
  282             <roadprofile item_types="highway_city" speed="80" route_weight="80"/>
  283             <roadprofile item_types="street_1_land" speed="60" route_weight="60"/>
  284             <roadprofile item_types="street_2_land" speed="65" route_weight="65"/>
  285             <roadprofile item_types="street_3_land" speed="70" route_weight="70"/>
  286             <roadprofile item_types="street_4_land" speed="80" route_weight="80"/>
  287             <roadprofile item_types="street_n_lanes" speed="120" route_weight="120"/>
  288             <roadprofile item_types="highway_land" speed="120" route_weight="120"/>
  289             <roadprofile item_types="ramp" speed="40" route_weight="40"/>
  290             <!--roundabout does not apply to OSMaps -->
  291             <roadprofile item_types="roundabout" speed="10" route_weight="10"/>
  292             <roadprofile item_types="ferry" speed="40" route_weight="40"/>
  293         </vehicleprofile>
  294         <vehicleprofile name="bike" route_depth="18:25%,18:40000" flags="0x40000000" flags_forward_mask="0x40000002" flags_reverse_mask="0x40000001" maxspeed_handling="1" route_mode="0" static_speed="5" static_distance="25">
  295             <!-- cycleways and paved tracks are the favourite ways (caveat: can be next to a main road) -->
  296             <roadprofile item_types="track_paved,cycleway" speed="20" route_weight="20" />
  297             <!-- residential, unclassified, living street etc. -->
  298             <roadprofile item_types="street_0,street_1_city,street_1_land,living_street" speed="20" route_weight="20" />
  299             <!-- ways shared with pedestrians are OK if access flags permit, but lower preference (caveat: may or may not be segregated) -->
  300             <roadprofile item_types="street_pedestrian,footway" speed="17" route_weight="17" />
  301             <!-- serviceways etc. are OK but lower preference -->
  302             <roadprofile item_types="street_service,street_parking_lane" speed="17" route_weight="15" />
  303             <!-- tertiary roads are acceptable, but should be avoided in favour of tracks and cycleways -->
  304             <roadprofile item_types="street_2_city,street_2_land" speed="20" route_weight="15" />
  305             <!-- secondary, primary and trunk are acceptable when necessary, but give preference to lower tiers -->
  306             <roadprofile item_types="street_3_city,street_3_land" speed="20" route_weight="15" />
  307             <roadprofile item_types="street_4_land,street_4_city" speed="20" route_weight="12" />
  308             <roadprofile item_types="street_n_lanes,ramp" speed="20" route_weight="10" />
  309             <!-- low preference for rough terrain -->
  310             <roadprofile item_types="path,track_ground" speed="7" route_weight="7" />
  311             <roadprofile item_types="track_gravelled" speed="17" route_weight="12" />
  312             <!-- avoid steps unless that means a huge detour -->
  313             <roadprofile item_types="steps" speed="2" route_weight="2" />
  314             <!--roundabout does not apply to OSM maps -->
  315             <roadprofile item_types="roundabout" speed="20" route_weight="10"/>
  316             <roadprofile item_types="ferry" speed="40" route_weight="40"/>
  317         </vehicleprofile>
  318 
  319         <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">
  320             <roadprofile item_types="footway,bridleway,path,steps" speed="5" route_weight="5"/>
  321             <roadprofile item_types="hiking_mountain" speed="4" route_weight="4"/>
  322             <roadprofile item_types="living_street,street_pedestrian" speed="5" route_weight="5"/>
  323             <roadprofile item_types="track_gravelled,track_unpaved,track_grass,track_ground,hiking" speed="5" route_weight="5"/>
  324             <roadprofile item_types="track_paved" speed="5" route_weight="5"/>
  325             <roadprofile item_types="cycleway" speed="5" route_weight="5"/>
  326             <roadprofile item_types="street_0,street_1_city,street_2_city" speed="5" route_weight="5"/>
  327             <roadprofile item_types="street_3_city,street_4_city,street_service,street_parking_lane" speed="5" route_weight="5"/>
  328             <roadprofile item_types="street_1_land,street_2_land" speed="5" route_weight="5"/>
  329             <roadprofile item_types="street_3_land,street_4_land" speed="5" route_weight="5"/>
  330             <!--roundabout does not apply to OSMaps -->
  331             <roadprofile item_types="roundabout" speed="5" route_weight="5"/>
  332             <roadprofile item_types="ferry" speed="40" route_weight="40"/>
  333         </vehicleprofile>
  334         <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">
  335             <roadprofile item_types="bridleway" speed="10" route_weight="10"/>
  336             <roadprofile item_types="footway,path,steps" speed="5" route_weight="5"/>
  337             <roadprofile item_types="living_street,street_pedestrian" speed="5" route_weight="4"/>
  338             <roadprofile item_types="track_gravelled" speed="5" route_weight="5"/>
  339             <roadprofile item_types="track_paved" speed="5" route_weight="5"/>
  340             <roadprofile item_types="cycleway" speed="5" route_weight="5"/>
  341             <roadprofile item_types="street_0,street_1_city,street_2_city" speed="5" route_weight="2"/>
  342             <roadprofile item_types="street_3_city,street_4_city,street_service,street_parking_lane" speed="5" route_weight="4"/>
  343             <roadprofile item_types="street_1_land,street_2_land" speed="5" route_weight="2"/>
  344             <roadprofile item_types="street_3_land,street_4_land" speed="5" route_weight="4"/>
  345             <!--roundabout does not apply to OSMaps -->
  346             <roadprofile item_types="roundabout" speed="5" route_weight="2"/>
  347             <roadprofile item_types="ferry" speed="40" route_weight="40"/>
  348         </vehicleprofile>
  349                 <!-- chr:
  350                      flags used for a truck: (first flag number is 0)
  351                                  8: SIZE_OR_WEIGHT_LIMIT
  352                                 21: TRANSPORT_TRUCK
  353                   speed setup:
  354                      'speed' data of the vehicleprofile for a car is
  355                         reduced about 10 km/h. When the speed was at
  356                         10 km/h, I reduced it to 5 km/h.
  357                      'route_weight' data has been treated in the same way.
  358                         If you want to discourage the use of small roads,
  359                         just reduce this value.
  360                   size and weight setup:
  361                      This is an example, you have to use the data of your truck.
  362                      bobshaffer's standard truck:
  363                        (1 lb = 453.59237 g, 1 foot = .3048 m)
  364                        (data has to be in [cm] and [kg] according to 'vehicleprofile.h')
  365                                 vehicle_width=  9    feet,   274 cm
  366                                vehicle_height= 13.5  feet,   411 cm
  367                                vehicle_length= 70    feet,  2134 cm
  368                                vehicle_weight= 80000 lbs,  36287 kg
  369                           vehicle_axle_weight= 34000 lbs,  15422 kg
  370                 -->
  371 
  372                 <vehicleprofile name="Truck" flags="0x200000" flags_forward_mask="0x200002" flags_reverse_mask="0x200001" maxspeed_handling="1" route_mode="0" static_speed="5"
  373  static_distance="25"
  374                                 vehicle_width="274" vehicle_height="411" vehicle_length="2134"
  375                                 vehicle_weight="36287" vehicle_axle_weight="15422">
  376                         <roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="5" />
  377                         <roadprofile item_types="street_2_city,track_paved" speed="20" route_weight="20"/>
  378                         <roadprofile item_types="street_3_city" speed="30" route_weight="30"/>
  379                         <roadprofile item_types="street_4_city" speed="40" route_weight="40"/>
  380                         <roadprofile item_types="highway_city" speed="70" route_weight="70"/>
  381                         <roadprofile item_types="street_1_land" speed="50" route_weight="50"/>
  382                         <roadprofile item_types="street_2_land" speed="55" route_weight="55"/>
  383                         <roadprofile item_types="street_3_land" speed="60" route_weight="60"/>
  384                         <roadprofile item_types="street_4_land" speed="70" route_weight="70"/>
  385                         <roadprofile item_types="street_n_lanes" speed="80" route_weight="80"/>
  386                         <roadprofile item_types="highway_land" speed="80" route_weight="80"/>
  387                         <roadprofile item_types="ramp" speed="30" route_weight="30"/>
  388                         <!--roundabout does not apply to OSMaps -->
  389                         <roadprofile item_types="roundabout" speed="5" route_weight="5"/>
  390                         <roadprofile item_types="ferry" speed="40" route_weight="40"/>
  391                 </vehicleprofile>
  392 
  393 
  394         <route destination_distance="50"/>
  395 
  396         <navigation>
  397             <announce type="street_0,street_1_city,street_parking_lane,living_street,street_service" level0="25" level1="100" level2="200" unit="m"/>
  398             <announce type="street_2_city,street_3_city,street_4_city,ramp" level0="50" level1="200" level2="500" unit="m"/>
  399             <announce type="highway_city,street_1_land,street_2_land,street_3_land,street_4_land" level0="100" level1="400" level2="1000" unit="m"/>
  400             <announce type="street_n_lanes,highway_land" level0="300" level1="1000" level2="2000" unit="m"/>
  401         </navigation>
  402 
  403         <!--
  404         Navit provides speech output in text format.
  405         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.
  406         The default is text output to the shell
  407         -->
  408         <speech type="cmdline" data="echo 'Fix the speech tag in navit.xml to let navit say:' '%s'" cps="15"/>
  409         <!--
  410         Instead of using a speech synthesizer, navit can also play pre-recorded samples for each word.
  411         See http://wiki.navit-project.org/index.php/Configuration for details.
  412 
  413         <speech type="cmdline" data="aplay -q %s"
  414         sample_dir="/path/to/sampledir" sample_suffix=".wav" flags="1"
  415         vocabulary_name="0" vocabulary_name_systematic="0" vocabulary_distances="0"/>
  416         -->
  417 
  418         <!-- You can only have enabled only one mapset at time, but with as much maps enabled as you want -->
  419 
  420         <!-- If you have the reiseplaner maps installed, set enabled="yes" in the next line and set the path correctly -->
  421         <mapset enabled="no">
  422             <map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map"/>
  423             <map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp1.smp"/>
  424             <map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp2.smp"/>
  425             <map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp3.smp"/>
  426             <map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp4.smp"/>
  427             <map type="mg" enabled="yes" data="/opt/reiseplaner/travel/DE.map/smp5.smp"/>
  428         </mapset>
  429 
  430         <!-- 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 -->
  431         <mapset enabled="yes">
  432             <xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>
  433         </mapset>
  434 
  435         <!-- Mapset template for OpenStreetMap -->
  436         <mapset enabled="no">
  437             <map type="binfile" enabled="yes" data="/media/mmc2/MapsNavit/osm_europe.bin"/>
  438         </mapset>
  439 
  440         <!-- Mapset template for garmin maps -->
  441         <mapset enabled="no">
  442             <map type="garmin" enabled="yes" data="/path/to/img" debug="4"/>
  443         </mapset>
  444 
  445         <layer name="Found items" order="0-">
  446             <itemgra item_types="found_item">
  447                 <circle color="#008080" radius="24" width="2" text_size="12"/>
  448             </itemgra>
  449         </layer>
  450 
  451         <!--
  452         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)
  453         The layout files describe the appearance of maps on the screen (colors, width, text fonts and sizes for each type of element to draw)
  454         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).
  455         If two layouts with the same name are included, the first one takes precedence.
  456         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.
  457         -->
  458         <xi:include href="$NAVIT_USER_DATADIR/navit_layout_*.xml"/>
  459         <xi:include href="$NAVIT_SHAREDIR/navit_layout_*.xml"/>
  460         <layout name="Route">
  461             <layer name="streets">
  462                 <itemgra item_types="street_route_occluded" order="0-">
  463                     <polyline color="#0000a0" width="20"/>
  464                 </itemgra>
  465             </layer>
  466         </layout>
  467     </navit>
  468 </config>