navit icon indicating copy to clipboard operation
navit copied to clipboard

Maps larger than 2GB are not supported by this binary??

Open wuniversales opened this issue 1 year ago • 6 comments

Hello, I'm trying to install Navit in the car, but it doesn't load the map, instead a yellow background appears. Checking the logs I have this.

Navit log started
Navit log started
error:navit:file_init:Maps larger than 2GB are not supported by this binary, sizeof(off_t)=zu

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:map_textfile:map_rect_new_textfile:error opening textfile \Storage Card\Navit\data/bookmark.txt: unknown

error:navit:command_register_callbacks:could not resolve object in cs=02784B80:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=027851C0:

error:navit:command_register_callbacks:	vehicle.position_valid

error:navit:command_register_callbacks:	^

error:navit:command_register_callbacks:could not resolve object in cs=027858A0:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=02787BA0:

error:navit:command_register_callbacks:	navigation.nav_status==-1 || navigation.nav_status==1 || navigation.nav_status==2

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=027880C0:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=02788820:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=02788F00:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=02789700:

error:navit:command_register_callbacks:	vehicle.position_valid

error:navit:command_register_callbacks:	^

error:navit:command_register_callbacks:could not resolve object in cs=0278B8E0:

error:navit:command_register_callbacks:	follow>1

error:navit:command_register_callbacks:	^

error:support_libc:_stat:no file

error:navit:xinclude:Unable to include '\Storage Card\Navit\$NAVIT_USER_DATADIR/navit_layout_*.xml'

error:navit:xml_parse_file:could not open XML file

error:navit:traffic_get_messages_from_xml_file:could not retrieve stored traffic messages

error:navit:osd_std_config:Error in saved command: not_ready, item=0278B820.

error:navit:osd_std_config:Error in saved command: not_ready, item=02789640.

error:navit:osd_std_config:Error in saved command: not_ready, item=02788760.

error:navit:osd_std_config:Error in saved command: not_ready, item=02788000.

error:navit:osd_std_config:Error in saved command: not_ready, item=02787AE0.

error:navit:osd_std_config:Error in saved command: not_ready, item=027857E0.

error:navit:osd_std_config:Error in saved command: not_ready, item=02785100.

error:navit:osd_std_config:Error in saved command: not_ready, item=02784AC0.

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:navit:command_call_function:invalid command ignored: "network_info"; see http://wiki.navit-project.org/index.php/OSD#Navit_commands for valid commands.

error:navit:command_call_function:invalid command ignored: "network_info"; see http://wiki.navit-project.org/index.php/OSD#Navit_commands for valid commands.

error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol


error:vehicle_wince:vehicle_wince_io:Overflow. Most likely wrong baud rate or no nmea protocol

Can someone give me a hand to solve this?

I am using the map of spain + portugal, but it does not load.

I'm also trying to put the program in Spanish, as it appears in English, so far I have not succeeded.

I just have to add the line to the navit.xml ?

<config xmlns:xi="http://www.w3.org/2001/XInclude" language="es_ES">

Thank you

wuniversales avatar Dec 02 '22 14:12 wuniversales

The most important line for your yellow screen issue is this error : Card\Navit$NAVIT_USER_DATADIR/navit_layout_*.xml This means that the layout could not be loaded. Please download one or more of those files from the repo and put them next to your navit.xml and restart the app after that

jkoan avatar Jan 01 '23 15:01 jkoan

I have exactly put these files in the folder. https://github.com/navit-gps/navit/releases/download/v0.5.6/navit-wince-0.5.6.zip I see this includes the "navit_layout" files...

This is the map I put in the folder "maps" (spain + portugal). http://maps9.navit-project.org/

any way to fix this?

wuniversales avatar Jan 01 '23 20:01 wuniversales

Please try to copy paste the layouts from there invidual files into the navit.xml where the xi:include for the layout files is located. This is only a work around and we will try to figure out why this happens in the first place

jkoan avatar Jan 03 '23 17:01 jkoan

I think I have the same problem. The top of my log is the same. My device is WinCE 6.0 Core Version, CPU is Atlas V, 500 MHz, 128MB of RAM, 4GB of FLASH. My navit version is 0.5.6.

I included the layout file directly into navit.xml (had to omit the "Found items") like this:

navit.xml
<?xml version="1.0"?>
<!DOCTYPE config SYSTEM "navit.dtd">
<!--
	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/.
-->
<?xml version="1.0"?>
<!DOCTYPE config SYSTEM "navit.dtd">
<!--
	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/.
-->
<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" level="0"/>
	<!-- Example of setting the debug level for a single function.  -->
	<debug name="navit:do_draw" dbg_level="error" level="0"/>
	<!-- 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" dbg_level="error"/>
	<!-- timestamps 0/1 - prefix log messages with a timestamp -->
	<debug name="timestamps" level="0" dbg_level="error"/>

	<!--
	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="win32"/>

		<!--
		To debug the graphics plugin in question it is possible to proxy it with svg_debug
		This way every frame will be written as a svg file. In addition to this the real graphics plugin will
		be called. To configure this, set type to svg_debug and the name attribute to the proxied plugin.
		Parameters are past to the proxied plugin as well. But resize callbacks currently only passed to the proxied
		plugin, and not handled by svg_debug, so resizing the window will not update the width and height of the resulting
		scg file. But all calls will still be recorded and written to the file, so you will see those drawing when opening
		the svg in an editor like inkscape.
		Example:
		-->
		<!--
		<graphics type="svg_debug" name="sdl2" window_title="Alternative attributes as passed to proxied plugin" w="1000" h="1000" />
		 -->

		<!--
		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 type="text" label="${navigation.item[1].name}" x="0" y="0" w="100%" h="14" font_size="200" enable_expression="navigation.nav_status&gt;=3"/>
        <osd type="compass" enabled="yes" x="-60" y="-94" w="60" h="80" font_size="200" enable_expression="vehicle.position_valid"/>
        <osd type="text" label="${navigation.item.destination_length[named]}\n${navigation.item.destination_time[arrival]}" x="-60" y="14" w="60" h="40" font_size="200" enable_expression="navigation.nav_status&gt;=3"/>
        <osd type="navigation_status" x="0" y="0" w="60" h="60" icon_w="48" icon_h="48" icon_src="%s_wh" enable_expression="navigation.nav_status==-1 || navigation.nav_status==1 || navigation.nav_status==2"/>
        <osd type="navigation_next_turn" x="0" y="14" w="60" h="60" icon_w="48" icon_h="48" icon_src="%s_wh" enable_expression="navigation.nav_status&gt;=3"/>
        <osd type="text" label="${navigation.item[1].length[value]}" x="0" y="74" w="60" h="20" font_size="260" enable_expression="navigation.nav_status&gt;=3"/>
        <osd type="text" label="${navigation.item[1].length[unit]}" x="0" y="94" w="60" h="20" font_size="200" enable_expression="navigation.nav_status&gt;=3"/>
        <osd type="text" label="${tracking.item.street_name} ${tracking.item.street_name_systematic}" x="0" y="-14" w="100%" h="14" font_size="200" enable_expression="vehicle.position_valid"/>
        <osd type="toggle_announcer" icon_src="%s" x="-32" y="-126" w="24" h="24"/>
        <osd type="button" src="zoom_manual" command="autozoom_active=0" x="8" y="-46" w="24" h="24" osd_configuration="1" use_overlay="true" enable_expression="autozoom_active!=0"/>
        <osd type="button" src="zoom_auto" command="autozoom_active=1" x="8" y="-46" w="24" h="24" osd_configuration="1" use_overlay="true" enable_expression="autozoom_active==0"/>
        <osd type="button" src="zoom_in" command="zoom_in()" x="40" y="-46" w="24" h="24" osd_configuration="1" use_overlay="true"/>
        <osd type="button" src="zoom_out" command="zoom_out()" x="72" y="-46" w="24" h="24" osd_configuration="1" use_overlay="true"/>
        <osd type="button" src="follow" command="follow=0;set_center_cursor()" x="8" y="-78" w="24" h="24" enable_expression="follow&gt;1" use_overlay="true"/>
        <osd type="cmd_interface" update_period="1" command="pitch=autozoom_active==0?pitch:(follow&gt;1?0:20);orientation=autozoom_active==0?orientation:(follow&gt;1?0:-1)" x="-1" y="-1" w="1" h="1"/>
        <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="yes" type="button" x="-96" y="-96" command="zoom_in()" src="zoom_in.png"/>
		<osd enabled="yes" 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="wince:COM2:" baudrate="4800">
		<!-- 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="0x40000002" flags_reverse_mask="0x40000001" maxspeed_handling="1" route_mode="0" static_speed="5" static_distance="25">
			<!-- cycleways and paved tracks are the favourite ways (caveat: can be next to a main road) -->
			<roadprofile item_types="track_paved,cycleway" speed="20" route_weight="20"/>
			<!-- residential, unclassified, living street etc. -->
			<roadprofile item_types="street_0,street_1_city,street_1_land,living_street" speed="20" route_weight="20"/>
			<!-- ways shared with pedestrians are OK if access flags permit, but lower preference (caveat: may or may not be segregated) -->
			<roadprofile item_types="street_pedestrian,footway" speed="17" route_weight="17"/>
			<!-- serviceways etc. are OK but lower preference -->
			<roadprofile item_types="street_service,street_parking_lane" speed="17" route_weight="15"/>
			<!-- tertiary roads are acceptable, but should be avoided in favour of tracks and cycleways -->
			<roadprofile item_types="street_2_city,street_2_land" speed="20" route_weight="15"/>
			<!-- secondary, primary and trunk are acceptable when necessary, but give preference to lower tiers -->
			<roadprofile item_types="street_3_city,street_3_land" speed="20" route_weight="15"/>
			<roadprofile item_types="street_4_land,street_4_city" speed="20" route_weight="12"/>
			<roadprofile item_types="street_n_lanes,ramp" speed="20" route_weight="10"/>
			<!-- low preference for rough terrain -->
			<roadprofile item_types="path,track_ground" speed="7" route_weight="7"/>
			<roadprofile item_types="track_gravelled" speed="17" route_weight="12"/>
			<!-- avoid steps unless that means a huge detour -->
			<roadprofile item_types="steps" speed="2" route_weight="2"/>
			<!--roundabout does not apply to OSM maps -->
			<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="PowerShell -Command &quot;Add-Type &#x2013;AssemblyName System.Speech; (New-Object System.Speech.Synthesis.SpeechSynthesizer).Speak(%s);&quot;"/>
		<!--
		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>

		<mapset enabled="yes">
			<map type="binfile" data="$NAVIT_SHAREDIR/maps/osm_bbox_11.6,48.3,19.2,51.3.bin"/>
		</mapset>

		<!-- Mapset template for OpenStreetMap -->
		<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 car simple -->
		<layer name="polygon">
			<itemgra item_types="poly_town" order="8-">
				<polygon color="#6b8091"/>
			</itemgra>
		</layer>
		<layer name="streets">
			<itemgra item_types="water_line" order="11-">
				<polyline width="3" color="#5e71a7"/>
			</itemgra>
			<itemgra item_types="rail" order="9-">
				<polyline width="4" color="#a4bac8"/>
				<polyline width="1" color="#e0e0e0" dash="4,6"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_1_land" order="12-">
				<polyline width="5" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_2_city,street_2_land" order="12-">
				<polyline width="7" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_1_land" order="11">
				<polyline width="3" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_2_city,street_2_land" order="9-11">
				<polyline width="5" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_3_city,street_3_land,ramp" order="11-">
				<polyline width="9" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_3_city,street_3_land,ramp" order="8-10">
				<polyline width="7" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="11-">
				<polyline width="9" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="8-10">
				<polyline width="7" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="6-7">
				<polyline width="3" color="#516170"/>
			</itemgra>
			<itemgra item_types="highway_city,highway_land" order="4-">
				<polyline width="9" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_route">
				<polyline width="11" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_1_land" order="12-">
				<polyline width="3" color="#a4bac8"/>
			</itemgra>
			<itemgra item_types="street_2_city,street_2_land" order="12-">
				<polyline width="5" color="#90a3af"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_1_land" order="11">
				<polyline width="1" color="#a4bac8"/>
			</itemgra>
			<itemgra item_types="street_2_city,street_2_land" order="9-11">
				<polyline width="3" color="#90a3af"/>
			</itemgra>
			<itemgra item_types="street_3_city,street_3_land,ramp" order="11-">
				<polyline width="6" color="#a4bac8"/>
			</itemgra>
			<itemgra item_types="street_3_city,street_3_land,ramp" order="8-10">
				<polyline width="4" color="#a4bac8"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="11-">
				<polyline width="6" color="#c7e1f2"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="8-10">
				<polyline width="4" color="#c7e1f2"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="6-7">
				<polyline width="1" color="#c7e1f2"/>
			</itemgra>
			<itemgra item_types="highway_city,highway_land" order="4-">
				<polyline width="3" color="#c0e1ff"/>
			</itemgra>
			<itemgra item_types="street_route">
				<polyline width="9" color="#ffffff"/>
			</itemgra>
			<itemgra item_types="waypoint,route_end">
				<circle color="#000000" radius="8" width="2" text_size="24"/>
			</itemgra>
		</layer>
		<layer name="labels">
			<itemgra item_types="water_line" order="11-">
				<text text_size="16" color="#0000ff"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_2_city,street_3_city,street_4_city,highway_city,street_1_land,street_2_land,street_3_land,street_4_land,street_n_lanes,highway_land,living_street,footway">
				<text text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label,district_label,town_label_0e0,town_label_1e0,town_label_2e0,town_label_5e0,town_label_1e1,town_label_2e1,town_label_5e1,town_label_1e2,town_label_2e2,town_label_5e2,district_label_0e0,district_label_1e0,district_label_2e0,district_label_5e0,district_label_1e1,district_label_2e1,district_label_5e1,district_label_1e2,district_label_2e2,district_label_5e2" order="10-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_1e3,town_label_2e3,district_label_1e3,district_label_2e3" order="9-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_5e3,district_label_5e3" order="8-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_1e4,district_label_1e4" order="7-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_2e4,district_label_2e4" order="6-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_5e4,town_label_1e5,district_label_5e4,district_label_1e5" order="5-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_2e5,district_label_2e5" order="4-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_5e5,district_label_5e5" order="2-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_1e6,town_label_2e6,town_label_5e6,town_label_1e7,district_label_1e6,district_label_2e6,district_label_5e6,district_label_1e7">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
		</layer>
		<!-- <layer name="Found items" ref="Found items"/> -->

		<layout name="Route">
			<layer name="streets">
				<itemgra item_types="street_route_occluded" order="0-">
					<polyline color="#0000a0" width="20"/>
				</itemgra>
			</layer>
		</layout>
	</navit>
</config>

Specifically, these are the lines I changed from the default navit.xml:

defined custom map instead of the default one
<mapset enabled="yes">
	<map type="binfile" data="$NAVIT_SHAREDIR/maps/osm_bbox_11.6,48.3,19.2,51.3.bin"/>
</mapset>
config included manually
		<!-- <xi:include href="$NAVIT_USER_DATADIR/navit_layout_*.xml"/> -->
		<!-- <xi:include href="$NAVIT_SHAREDIR/navit_layout_*.xml"/> -->
		
		<!-- layout car simple -->
		<layer name="polygon">
			<itemgra item_types="poly_town" order="8-">
				<polygon color="#6b8091"/>
			</itemgra>
		</layer>
		<layer name="streets">
			<itemgra item_types="water_line" order="11-">
				<polyline width="3" color="#5e71a7"/>
			</itemgra>
			<itemgra item_types="rail" order="9-">
				<polyline width="4" color="#a4bac8"/>
				<polyline width="1" color="#e0e0e0" dash="4,6"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_1_land" order="12-">
				<polyline width="5" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_2_city,street_2_land" order="12-">
				<polyline width="7" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_1_land" order="11">
				<polyline width="3" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_2_city,street_2_land" order="9-11">
				<polyline width="5" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_3_city,street_3_land,ramp" order="11-">
				<polyline width="9" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_3_city,street_3_land,ramp" order="8-10">
				<polyline width="7" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="11-">
				<polyline width="9" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="8-10">
				<polyline width="7" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="6-7">
				<polyline width="3" color="#516170"/>
			</itemgra>
			<itemgra item_types="highway_city,highway_land" order="4-">
				<polyline width="9" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_route">
				<polyline width="11" color="#516170"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_1_land" order="12-">
				<polyline width="3" color="#a4bac8"/>
			</itemgra>
			<itemgra item_types="street_2_city,street_2_land" order="12-">
				<polyline width="5" color="#90a3af"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_1_land" order="11">
				<polyline width="1" color="#a4bac8"/>
			</itemgra>
			<itemgra item_types="street_2_city,street_2_land" order="9-11">
				<polyline width="3" color="#90a3af"/>
			</itemgra>
			<itemgra item_types="street_3_city,street_3_land,ramp" order="11-">
				<polyline width="6" color="#a4bac8"/>
			</itemgra>
			<itemgra item_types="street_3_city,street_3_land,ramp" order="8-10">
				<polyline width="4" color="#a4bac8"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="11-">
				<polyline width="6" color="#c7e1f2"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="8-10">
				<polyline width="4" color="#c7e1f2"/>
			</itemgra>
			<itemgra item_types="street_4_city,street_4_land,street_n_lanes" order="6-7">
				<polyline width="1" color="#c7e1f2"/>
			</itemgra>
			<itemgra item_types="highway_city,highway_land" order="4-">
				<polyline width="3" color="#c0e1ff"/>
			</itemgra>
			<itemgra item_types="street_route">
				<polyline width="9" color="#ffffff"/>
			</itemgra>
			<itemgra item_types="waypoint,route_end">
				<circle color="#000000" radius="8" width="2" text_size="24"/>
			</itemgra>
		</layer>
		<layer name="labels">
			<itemgra item_types="water_line" order="11-">
				<text text_size="16" color="#0000ff"/>
			</itemgra>
			<itemgra item_types="street_1_city,street_2_city,street_3_city,street_4_city,highway_city,street_1_land,street_2_land,street_3_land,street_4_land,street_n_lanes,highway_land,living_street,footway">
				<text text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label,district_label,town_label_0e0,town_label_1e0,town_label_2e0,town_label_5e0,town_label_1e1,town_label_2e1,town_label_5e1,town_label_1e2,town_label_2e2,town_label_5e2,district_label_0e0,district_label_1e0,district_label_2e0,district_label_5e0,district_label_1e1,district_label_2e1,district_label_5e1,district_label_1e2,district_label_2e2,district_label_5e2" order="10-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_1e3,town_label_2e3,district_label_1e3,district_label_2e3" order="9-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_5e3,district_label_5e3" order="8-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_1e4,district_label_1e4" order="7-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_2e4,district_label_2e4" order="6-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_5e4,town_label_1e5,district_label_5e4,district_label_1e5" order="5-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_2e5,district_label_2e5" order="4-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_5e5,district_label_5e5" order="2-">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
			<itemgra item_types="town_label_1e6,town_label_2e6,town_label_5e6,town_label_1e7,district_label_1e6,district_label_2e6,district_label_5e6,district_label_1e7">
				<circle radius="3" text_size="16" color="#ffffff" background_color="#000000"/>
			</itemgra>
		</layer>
		<!-- <layer name="Found items" ref="Found items"/> -->

This removed the error:navit:xinclude:Unable to include message, but error:navit:xml_parse_file:could not open XML file is still there.

My log:

Navit log started
error:navit:file_init:Maps larger than 2GB are not supported by this binary, sizeof(off_t)=zu

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:support_libc:_stat:no file

error:map_textfile:get_line:Unable to get line (unknown)

error:map_textfile:get_line:Unable to get line (unknown)

error:navit:command_register_callbacks:could not resolve object in cs=026D88C0:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=026D8F00:

error:navit:command_register_callbacks:	vehicle.position_valid

error:navit:command_register_callbacks:	^

error:navit:command_register_callbacks:could not resolve object in cs=026D95E0:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=026DB8E0:

error:navit:command_register_callbacks:	navigation.nav_status==-1 || navigation.nav_status==1 || navigation.nav_status==2

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=026DBF60:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=026DC5A0:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=026DCC80:

error:navit:command_register_callbacks:	navigation.nav_status>=3

error:navit:command_register_callbacks:	           ^

error:navit:command_register_callbacks:could not resolve object in cs=026DD280:

error:navit:command_register_callbacks:	vehicle.position_valid

error:navit:command_register_callbacks:	^

error:navit:command_register_callbacks:could not resolve object in cs=026E0540:

error:navit:command_register_callbacks:	follow>1

error:navit:command_register_callbacks:	^

error:navit:xml_parse_file:could not open XML file

error:navit:traffic_get_messages_from_xml_file:could not retrieve stored traffic messages

error:navit:osd_std_config:Error in saved command: not_ready, item=026E0480.

error:navit:osd_std_config:Error in saved command: not_ready, item=026DD1C0.

error:navit:osd_std_config:Error in saved command: not_ready, item=026DC4E0.

error:navit:osd_std_config:Error in saved command: not_ready, item=026DBEA0.

error:navit:osd_std_config:Error in saved command: not_ready, item=026DB820.

error:navit:osd_std_config:Error in saved command: not_ready, item=026D9520.

error:navit:osd_std_config:Error in saved command: not_ready, item=026D8E40.

error:navit:osd_std_config:Error in saved command: not_ready, item=026D8800.


I think I need more detailed debug level.

mik13ST avatar Dec 23 '23 09:12 mik13ST

Here is the debug log. Now I think the XML parse problem is related to the traffic_get_messages_from_xml_file error right after it. The config seems to load fine, it seems.

navit.log (835kB)

mik13ST avatar Dec 23 '23 10:12 mik13ST

I came here because I didn't see anything but a blank screen with + and - buttons. I looked at the log and came here thinking that is my problem. Turns out I also had to change my layout from "car simple" to e.g. "android" even though my device has a crappy screen so no point in anything else but the basics. Now I see the map, so I no longer have an issue. Sorry for mixing my issue into this one.

mik13ST avatar Dec 23 '23 11:12 mik13ST