Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

navit 0.5.6 no maps #1220

Closed
robzane opened this issue Jan 18, 2023 · 66 comments
Closed

navit 0.5.6 no maps #1220

robzane opened this issue Jan 18, 2023 · 66 comments

Comments

@robzane
Copy link

robzane commented Jan 18, 2023

I use navit 0.5.6 on ubuntu 22

gps works perfectly

navit shows orange background and no maps

I downloaded maps from planet extractor

@OLFDB
Copy link
Contributor

OLFDB commented Jan 19, 2023

From where did you install the package?
Check if any navit_layout_*.xml files exist in /etc/navit/.
If not download the release tarball from releases here on github and copy the files from navit/share/navit to /etc/navit.

@robzane
Copy link
Author

robzane commented Jan 19, 2023

I installed from ubuntu repository but i do not see navit_layout

@robzane
Copy link
Author

robzane commented Jan 19, 2023

i can't find navit/share/navit

@jkoan
Copy link
Member

jkoan commented Jan 19, 2023

The problem is that debian, ubuntu and raspberryPiOS missed to include the layout files. You can fix this for yourself by downloading those files and putting them where they belong (in the same dir as the navit.xml)
You need one or more of the navit_layout*.xml files from here: https://github.com/navit-gps/navit/tree/trunk/navit
Just download them and put them into the directory (Probably /etc/navit/).

@robzane
Copy link
Author

robzane commented Jan 19, 2023

which files?

@jkoan
Copy link
Member

jkoan commented Jan 19, 2023

The files starting with navit_layout from https://github.com/navit-gps/navit/tree/trunk/navit

@robzane
Copy link
Author

robzane commented Jan 19, 2023

I think that the maintainer of navit package on ubuntu has never tried the program!

@jkoan
Copy link
Member

jkoan commented Jan 20, 2023

I think that the maintainer of navit package on ubuntu has never tried the program!

That my be true, but also because ubuntu and RaspberryPiOS just copy from the debian sources. So the main culprit is debian. But yes, the debian maintainer for navit is lacking beind a bit.

But this dosn't tel me if you got it working now. Can we close this issue now?

@robzane
Copy link
Author

robzane commented Jan 20, 2023

No, it is not working
No solution is working

@jkoan
Copy link
Member

jkoan commented Jan 20, 2023

Please tell us which steps you have done. Have you downloaded the files and put them into the directory?

@robzane
Copy link
Author

robzane commented Jan 20, 2023

I downloaded the files:
navit_layout_bike_shipped
navit_layout_car_android_shipped
navit_layout_car_dark_shipped
navit_layout_car_shipped
navit_layout_car_simple_shipped
and copied them into ect/navit/
no working
and copied them into /home/navit/
no working

@jkoan
Copy link
Member

jkoan commented Jan 20, 2023

Please provide the log output of the navit run

@OLFDB
Copy link
Contributor

OLFDB commented Jan 20, 2023

The source builds for debian and ubuntu have issues with inkscape currently. There are no icons created. I think the binary packages face he same issue.
https://gitlab.com/inkscape/inkscape/-/issues/294
You need to build from source.

From Discord jkoan:
git clone https://github.com/navit-gps/navit navit-code
cd navit-code
mkdir navit-builddir
cd navit-builddir
cmake ..
make

run Navit

./navit/navit

@robzane
Copy link
Author

robzane commented Jan 20, 2023

where can I find log output of the navit run?

@OLFDB
Copy link
Contributor

OLFDB commented Jan 22, 2023

In the console. You can get more output using -d1 or -d2 or -d3 parameter.

@OLFDB
Copy link
Contributor

OLFDB commented Jan 22, 2023

I just saw

and copied them into /home/navit/

The navit user data directory on Linux is .navit not navit: /home/<username>/.navit/

@robzane
Copy link
Author

robzane commented Jan 22, 2023

yes
I copied to /home/roberto/navit/

@OLFDB
Copy link
Contributor

OLFDB commented Jan 22, 2023

Mind the dot .navit is a hidden directory. Have you done the build from source? The ubuntu package misses the icon files. I tried that yesterday and there were no files under /usr/share/navit/icons .

@OLFDB
Copy link
Contributor

OLFDB commented Jan 22, 2023

You can download a working package for 64-bit Ubuntu OS here: https://www.eisenzelt.de/ez/wordpress/wp-content/uploads/2023/01/navit_0.5.6dfsg.1-1_amd64.deb

@OLFDB
Copy link
Contributor

OLFDB commented Jan 22, 2023

Use sudo dpkg -i --force-confmiss navit_0.5.6+dfsg.1-1_amd64.deb to install

@robzane
Copy link
Author

robzane commented Jan 22, 2023

You can download a working package for 64-bit Ubuntu OS here: https://www.eisenzelt.de/ez/wordpress/wp-content/uploads/2023/01/navit_0.5.6dfsg.1-1_amd64.deb
Use sudo dpkg -i --force-confmiss navit_0.5.6+dfsg.1-1_amd64.deb to install

Error

@OLFDB
Copy link
Contributor

OLFDB commented Jan 22, 2023

What kind of error?

@OLFDB
Copy link
Contributor

OLFDB commented Jan 22, 2023

I just tested on a fresh ubuntu install (22.04)
You need to edit the default /etc/navit/navit.xml and disable the xml maps.

`

            <mapset enabled="no">
                    <xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>
            </mapset>

`
Here is an example of a map used located in the /home/username/.navit folder:

`

            <mapset enabled="yes">
                    <map type="binfile" enabled="yes" data="$NAVIT_USER_DATADIR/europe-germany-berlin-2023-01-22.bin"/>
            </mapset>`

@robzane
Copy link
Author

robzane commented Jan 23, 2023

I have done it but it does not display maps
If You tested it, do you see maps?

@OLFDB
Copy link
Contributor

OLFDB commented Jan 23, 2023

Is gpsd working? If not, navit will try to show a place in Munich, Germany at first startup if no GPS data is available. Is your map including Munich? You could try to zoom out by mouse wheel. Usually you will see your map then.

I had been in contact with the debian package owner yesterday and he provided a fixed version as unstable release already:

https://packages.debian.org/sid/amd64/navit/download

This fixes the missing icon files and layout files issue with an official package.

@robzane
Copy link
Author

robzane commented Jan 26, 2023

I Use sudo dpkg -i --force-confmiss navit_0.5.6+dfsg.1-2_amd64.deb
but there is error about dependencies

@robzane
Copy link
Author

robzane commented Jan 28, 2023

gilles filippini is the maintainer, i think he has never tried navit in his life

@OLFDB
Copy link
Contributor

OLFDB commented Jan 28, 2023

It is not that easy to install a package from unstable branch, exactly because of the dependencies.

Use this at your own risk:

As root edit /etc/apt/sources.list and add the unstable repositories:

deb http://deb.debian.org/debian/ unstable main
deb-src http://deb.debian.org/debian/ unstable main

As root create a file default_stable under /etc/apt/apt.conf.d with this content:
APT::Default-Release "stable";

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 0E98404D386FA1D9
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 648ACFD622F3D138

Update repos: sudo apt update

Uninstall navit using sudo apt remove navit
Remove unused packages with sudo apt autoremove

List all installable versions:
apt list -a navit

navit/unstable 0.5.6+dfsg.1-2 armhf [Konfiguration-verbleibend]
navit/now 0.5.6+dfsg.1-1 armhf [Konfiguration-verbleibend]
navit/stable 0.5.5+dfsg.1-2 armhf [Konfiguration-verbleibend]

Install navit using sudo apt-get install navit/unstable

Now the dependencies should be installed as well and will result in:

dpkg -l | grep navit
ii  navit                                 0.5.6+dfsg.1-2                   amd64        Car navigation system with routing engine
ii  navit-data                            0.5.6+dfsg.1-2                   all          Car navigation system with routing engine - data files
ii  navit-graphics-gtk-drawing-area       0.5.6+dfsg.1-2                   amd64        Car navigation system with routing engine - GTK+ graphic plugin
ii  navit-gui-internal                    0.5.6+dfsg.1-2                   amd64        Car navigation system with routing engine - internal GUI

@Taxicletter
Copy link

I installed Navit on my Raspberry Pi 4. I downloaded the predefined benelux-map from http://maps9.navit-project.org/ and pointed to it in the config file (~/.navit/navit.xml). In the settings of Navit, the map is shown under "maps". (I could only use the GUI of Navit, because I downloaded the icons from https://ozzmaker.com/navigating-navit-raspberry-pi/. Before that, I only had a yellow screen.)
I have a working USB GPS module. I can see it finds my position with xgps and cgps. Also in Navit I see it finds my street. I can search an address and Navit finds a route. I cannot see that route, but I know because in the navigation settings it gives me the correct steps. Also in those settings, Navit tells me I'm using the Benelux-map I downloaded.

So gps is working and map is detected, but not shown. Putting the lay-out files in etc/navit dit nothing, putting them in usr/share/navit made it impossible to start Navit. Putting them in usr/share/navit/maps (because in usr/share/navit/icons is where the icons are), was better because Navit opens, but doesn't show a map, still.

I never build from source. Would that help with this problem? And do I have to delete everything that's installed now?

@OLFDB
Copy link
Contributor

OLFDB commented Feb 8, 2023

Have you tried what I wrote in my last answer?

Building from source would definitely help.

@Taxicletter
Copy link

Taxicletter commented Feb 10, 2023

I did install Inkscape and started all over, but still the same error:

error:navit:graphics_new:Failed to load graphics plugin gtk_drawing_area.
error:navit:event_add_timeout:Can't find event system method add_timeout. Event system is not set.
error:navit:vehicle_new:invalid source 'gpsd://localhost': unknown type 'gpsd'
error:navit:xinclude:Unable to include '/usr/local/share/navit/maps/*.xml'
error:navit:xinclude:Unable to include '/home/pi/.navit/navit_layout_*.xml'
error:navit:navit_init:FATAL: No graphics subsystem available.

First time I tried to open navit, I had forgotten the "make". So I did "make" and things where processed. But after making, I got exactly the same error messages. Could it be I have to start all over, because I first opened navit to soon (before the "make")??

There is a solution apparently, but that site is down: https://forum.navit-project.org/viewtopic.php?f=11&t=545

sudo apt-get -y install navit-graphics-gtk-drawing-area
installed that stuff, but didn't help with the problem. (I tried make clean and make, because maybe the make-process needed the navit-graphics-... but that didn't make a difference. As you will have understood, I'm no programmer, so I'm not really sure what I'm doing)

@OLFDB
Copy link
Contributor

OLFDB commented Feb 10, 2023

Please uninstall inkscape. It is not working properly for the conversion of svgs during navit build on debian.

Install the dependencies:
sudo apt-get install cmake zlib1g-dev libpng-dev libgtk2.0-dev librsvg2-bin g++ gpsd gpsd-clients libgps-dev libdbus-glib-1-dev freeglut3-dev libxft-dev libglib2.0-dev libfreeimage-dev gettext protobuf-c-compiler libprotobuf-c-dev libspeechd-dev

If you install the dependencies as described, you'll have rsvg-convert available, but if inkscape is installed as well, navit will use inkscape to convert but this produces nothing and doesn't return an error during the build so the build will not stop.

What is your output of cmake -L ../ called in navit-builddir?

Go into navit-builddir and delete everything: $ rm -rf*

run cmake ../ again now in the empty directory. Then:

make
make install

@Taxicletter
Copy link

Taxicletter commented Feb 11, 2023

Those dependencies where already installed. I thought rsvg-convert wasn't there, because when I did apt-get install rsvg-convert, I get that the package could not be found, but:

~ $ which rsvg-convert 
/usr/bin/rsvg-convert

The output:

/navit-build $ cmake -L ../
CMake Error: The source directory "/home/pi" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
-- Cache values
BIN_DIR:PATH=bin
BUILD_MAPTOOL:BOOL=TRUE
BZCAT:FILEPATH=/usr/bin/bzcat
CMAKE_BUILD_TYPE:STRING=RelWithDebInfo
CMAKE_INSTALL_PREFIX:PATH=/usr/local
DBUS_USE_SYSTEM_BUS:BOOL=FALSE
GETTEXT_MSGFMT_EXECUTABLE:FILEPATH=/usr/bin/msgfmt
GETTEXT_MSGMERGE_EXECUTABLE:FILEPATH=/usr/bin/msgmerge
GLES2:FILEPATH=/usr/lib/aarch64-linux-gnu/libGLESv2.so
GUI_INTERNAL_VISUAL_DBG:BOOL=FALSE
HOMECONFIG_DIR:PATH=.navit
IMAGE_CONVERTER:FILEPATH=/usr/bin/convert
IMAGE_CONVERTER_SVGZ:FILEPATH=/usr/bin/rsvg-convert
IMAGE_DIR:PATH=share/navit/icons
INTERNAL_ESPEAK_COMPLETE:BOOL=FALSE
LIB_DIR:PATH=lib64/navit
LOCALE_DIR:PATH=share/locale
MAN_DIR:PATH=share/man/man1
NAVIT_BINARY:STRING=navit
NETWORK_INFO:BOOL=FALSE
PACKAGE:STRING=navit
QT_QMAKE_EXECUTABLE:FILEPATH=NOTFOUND
Qt5Positioning_DIR:PATH=Qt5Positioning_DIR-NOTFOUND
Qt5Quick_DIR:PATH=Qt5Quick_DIR-NOTFOUND
Qt5Widgets_DIR:PATH=Qt5Widgets_DIR-NOTFOUND
SAMPLE_MAP:BOOL=TRUE
SDLMAIN_LIBRARY:FILEPATH=SDLMAIN_LIBRARY-NOTFOUND
SDL_INCLUDE_DIR:PATH=SDL_INCLUDE_DIR-NOTFOUND
SHARE_DIR:PATH=share/navit
SVG2PNG:BOOL=TRUE
TEXTURE_DIR:PATH=share/navit/textures
USE_NATIVE_LANGUAGE_SUPPORT:BOOL=TRUE
USE_PLUGINS:BOOL=TRUE
USE_ROUTING:BOOL=TRUE
USE_SVG:BOOL=TRUE
XGETTEXT:FILEPATH=/usr/bin/xgettext
XSLTS:STRING=
XSLT_PROCESSOR:FILEPATH=XSLT_PROCESSOR-NOTFOUND
XSL_PROCESSING:BOOL=TRUE
binding/dbus:BOOL=TRUE
binding/python:BOOL=TRUE
binding/win32:BOOL=FALSE
font/freetype:BOOL=TRUE
graphics/android:BOOL=FALSE
graphics/cocoa:BOOL=FALSE
graphics/egl:BOOL=FALSE
graphics/gd:BOOL=FALSE
graphics/gtk_drawing_area:BOOL=TRUE
graphics/null:BOOL=TRUE
graphics/opengl:BOOL=TRUE
graphics/qt5:BOOL=FALSE
graphics/qt_qpainter:BOOL=FALSE
graphics/sdl:BOOL=FALSE
graphics/svg_debug:BOOL=TRUE
gui/gtk:BOOL=TRUE
gui/internal:BOOL=TRUE
gui/qml:BOOL=FALSE
gui/qt5_qml:BOOL=FALSE
map/binfile:BOOL=TRUE
map/csv:BOOL=TRUE
map/filter:BOOL=TRUE
map/garmin:BOOL=FALSE
map/mg:BOOL=TRUE
map/shapefile:BOOL=TRUE
map/textfile:BOOL=TRUE
osd/core:BOOL=TRUE
plugin/j1850:BOOL=FALSE
plugin/pedestrian:BOOL=FALSE
speech/android:BOOL=FALSE
speech/cmdline:BOOL=TRUE
speech/dbus:BOOL=TRUE
speech/espeak:BOOL=FALSE
speech/iphone:BOOL=FALSE
speech/qt5_espeak:BOOL=FALSE
speech/speech_dispatcher:BOOL=TRUE
support/espeak:BOOL=FALSE
support/ezxml:BOOL=FALSE
support/gettext_intl:BOOL=FALSE
support/glib:BOOL=FALSE
support/libpng:BOOL=FALSE
support/shapefile:BOOL=TRUE
support/wordexp:BOOL=FALSE
support/zlib:BOOL=FALSE
traffic/dummy:BOOL=TRUE
traffic/null:BOOL=TRUE
traffic/traff_android:BOOL=FALSE
vehicle/android:BOOL=FALSE
vehicle/demo:BOOL=TRUE
vehicle/file:BOOL=TRUE
vehicle/geoclue:BOOL=FALSE
vehicle/gpsd:BOOL=TRUE
vehicle/gpsd_dbus:BOOL=TRUE
vehicle/gypsy:BOOL=FALSE
vehicle/iphone:BOOL=FALSE
vehicle/null:BOOL=FALSE
vehicle/qt5:BOOL=FALSE
vehicle/wince:BOOL=FALSE

(The "*" seems not to work with Raspberry Pi, I deleted the folder with rm -rf navit-build and created it again)

CMake Error: The source directory "/home/pi" does not appear to contain CMakeLists.txt. it had to be cmake ../navit/ I think?

@Taxicletter
Copy link

Taxicletter commented Feb 11, 2023

I did see it generate png and svg files, but I get the same error message. I did try to open Navit before running "make install", so maybe I messed up by doing that?
I try again!

But since I already had those dependencies, and did the make-thing, I don't expect a different result.

@Taxicletter
Copy link

After make .. this is the output:

To configure your build use 'cmake -L' to find changeable variables and run cmake again with 'cmake -D <var-name>=<your value> ...'.
CMake Warning (dev) at /usr/share/cmake-3.18/Modules/FindPackageHandleStandardArgs.cmake:273 (message):
  The package name passed to `find_package_handle_standard_args` (PROTOBUF_C)
  does not match the name of the calling package (Protobuf-c).  This can lead
  to problems in calling code that expects `find_package` result variables
  (e.g., `_FOUND`) to follow a certain pattern.
Call Stack (most recent call first):
  cmake/FindProtobuf-c.cmake:115 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  navit/maptool/CMakeLists.txt:3 (find_package)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to: /home/pi/navit-code/navit-builddir

@Taxicletter
Copy link

Taxicletter commented Feb 11, 2023

~/navit-code/navit-builddir $ make install
[  0%] Built target navit_config_xml
[  0%] Built target fib
[  3%] Built target navit_core
[  4%] Built target navit
[  4%] Built target support_shapefile
[  4%] Built target font_freetype
[  4%] Built target graphics_gtk_drawing_area
[  4%] Built target graphics_opengl
[  4%] Built target graphics_svg_debug
[  5%] Built target gui_gtk
[  5%] Built target vehicle_gpsd
[  5%] Built target binding_dbus
[  5%] Built target binding_python
[  5%] Built target speech_dbus
[  5%] Built target speech_cmdline
[  5%] Built target vehicle_gpsd_dbus
[  5%] Built target speech_speech_dispatcher
[  5%] Built target graphics_null
[  5%] Built target osd_core
[  5%] Built target vehicle_demo
[  5%] Built target vehicle_pipe
[  6%] Built target vehicle_socket
[  6%] Built target vehicle_serial
[  6%] Built target vehicle_file
[  6%] Built target gui_internal
[  6%] Built target map_binfile
[  6%] Built target map_filter
[  6%] Built target map_mg
[  6%] Built target map_shapefile
[  6%] Built target map_textfile
[  6%] Built target map_csv
[  6%] Built target traffic_dummy
[  6%] Built target traffic_null
[  7%] Built target maptool_core
[  7%] Built target maptool
[ 92%] Built target images
[ 93%] Built target textures
[ 93%] Built target sample_map
[100%] Built target locales
Install the project...
-- Install configuration: "RelWithDebInfo"
-- Installing: /usr/local/bin/navit
CMake Error at navit/cmake_install.cmake:52 (file):
  file INSTALL cannot copy file
  "/home/pi/navit-code/navit-builddir/navit/navit" to "/usr/local/bin/navit":
  Permission denied.
Call Stack (most recent call first):
  cmake_install.cmake:47 (include)


make: *** [Makefile:127: install] Fout 1

I repeated with sudo make install and that worked. Navit now opens again (although with the yellow "map" and no icons.

error:navit:xinclude:Unable to include '/usr/local/share/navit/maps/*.xml'
error:navit:xinclude:Unable to include '/home/pi/.navit/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

@OLFDB
Copy link
Contributor

OLFDB commented Feb 12, 2023

  1. Try to zoom out using the mouse wheel. The sample map is very small and it depends on your location, if you see a map, or just the yellow screen.

  2. Check which config file is used:
    navit -d2 > test.txt 2>&1

Open test.txt and search for "xml". There should be a line like
info:navit:main_real:Benutze die Konfigurations-Datei '/usr/local/share/navit/navit.xml

Check inside this config file the mapset configuration.

If it looks like:

            <mapset enabled="yes">
                    <xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>
            </mapset>

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

Change it to:

            <mapset enabled="no">
                    <xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>
            </mapset>

            <!-- Mapset template for OpenStreetMap -->
            <mapset enabled="yes">
                    <map type="binfile" enabled="yes" data="$NAVIT_SHAREDIR/maps/osm_bbox_11.3,47.9,11.7,48.2.bin"/>
            </mapset>
  1. Delete any .txt files in /home/pi/.navit
    rm /home/pi/.navit/*.txt

  2. Remove the GPS receiver from the pi

Start navit. Now it should show the sample map.
Bildschirm­foto 2023-02-12 um 08 45 32

@Taxicletter
Copy link

I'll try it later today, my SD-card was a small one (16GB) and got full, so my raspberry pi hung. I'll have to install Raspberry OS again.
I'm curious, because the error messages are the same as when I installed the binaries and also: there are no icons. That has nothing to do with the scaling, I would think. But I'll try and let you know!

@robzane
Copy link
Author

robzane commented Feb 12, 2023

the problem in only deb package because tha maintainer never tried navit in his life
I installes manjaro instead of ubuntu and navit works fine at the first attempt

@OLFDB
Copy link
Contributor

OLFDB commented Feb 12, 2023

and also: there are no icons.

Did you uninstall inkscape?

@Taxicletter
Copy link

Taxicletter commented Feb 12, 2023

Yes, Inkscape was uninstalled. I'm now configuring the new Raspberry OS installation. Without Inkscape :-).

@Taxicletter
Copy link

Taxicletter commented Feb 12, 2023

OK, it worked. I didn't follow your last suggestions to the letter, OLFDB, I wanted to test with a real map immediately.

So, I downloaded the dependencies, followed the steps above (with make and sudo make install).
I copied the configuration xml to .navit.
Then I downloaded a map. I disabled the default map and inserted the correct path to my benelux-map.

It worked, it was indeed zoomed out a lot at first and it takes a while to load (because it's a big file I guess).
It finds my place and I can search for addresses, but it crashes if select "choose as destination".

This is the output from the terminal:

error:map_textfile:get_line:Unable to get line (Gelukt)
error:map_textfile:get_line:Unable to get line (Gelukt)
error:map_textfile:get_line:Unable to get line (Gelukt)
error:navit:xinclude:Unable to include '/usr/local/share/navit/maps/*.xml'
error:navit:xinclude:Unable to include '/home/pi/.navit/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:map_textfile:get_line:Unable to get line (Bestand of map bestaat niet)
error:map_textfile:get_line:Unable to get line (Bestand of map bestaat niet)

I have other work to do, so I leave it at that for the moment.

@OLFDB
Copy link
Contributor

OLFDB commented Feb 12, 2023

Seems you are affected by #1218

Download these files and replace the files in your source directory. They are located at
navit-code/navit.

 https://raw.githubusercontent.com/navit-gps/navit/c3dba1b14c7d72f2bea99fe2ef3c768eb686d589/navit/coord.c
 https://raw.githubusercontent.com/navit-gps/navit/c3dba1b14c7d72f2bea99fe2ef3c768eb686d589/navit/projection.c

run

make 
sudo make install 

again from your build directory (navit-code/navit-builddir)

@Taxicletter
Copy link

I'm sorry, that didn't help.

I was thinking, since it works well on Manjaro, I can make a travel-SD-card with Manjaro and Navit. Problem solved :-)

If it helps you, I will try more solutions, just tell me which output you need to know where the problem is...

@OLFDB
Copy link
Contributor

OLFDB commented Feb 12, 2023

What is the output in the console when navit crashed?
Can you upload your navit.xml?

@Taxicletter
Copy link

The terminal:

GNU gdb (Debian 10.1-1.7) 10.1.90.20210103-git
Copyright (C) 2021 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from navit...
Attaching to program: /usr/local/bin/navit, process 1425
Reading symbols from /lib/aarch64-linux-gnu/libgmodule-2.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgmodule-2.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libglib-2.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libglib-2.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libpthread.so.0...
--Type <RET> for more, q to quit, c to continue without paging--RET
Reading symbols from /usr/lib/debug/.build-id/e5/a4fbb31ac8f9324067dd30930fee0eb32a490f.debug...
RET
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Reading symbols from /lib/aarch64-linux-gnu/libz.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libz.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libm.so.6...
Reading symbols from /usr/lib/debug/.build-id/8d/efd8eb01d73f30848d9656f10df58465ab9a2e.debug...
Reading symbols from /lib/aarch64-linux-gnu/libc.so.6...
Reading symbols from /usr/lib/debug/.build-id/bc/b0be0a4d5929b9244446b6e495b05fd335a306.debug...
Reading symbols from /lib/ld-linux-aarch64.so.1...
Reading symbols from /usr/lib/debug/.build-id/0c/157faa0bf57d35e8fa64ccb41135d5ee593b4e.debug...
Reading symbols from /lib/aarch64-linux-gnu/libdl.so.2...
Reading symbols from /usr/lib/debug/.build-id/6b/48a82769745d396f0a63c17ff50bfe232b5f71.debug...
Reading symbols from /lib/aarch64-linux-gnu/libpcre.so.3...
(No debugging symbols found in /lib/aarch64-linux-gnu/libpcre.so.3)
Reading symbols from /usr/local/lib64/navit/map/libmap_textfile.so...
Reading symbols from /usr/lib/aarch64-linux-gnu/gconv/ISO8859-1.so...
--Type <RET> for more, q to quit, c to continue without paging--RET
Reading symbols from /usr/lib/debug/.build-id/e8/7abc11743f819015e3db3278bb1eaaab541c2b.debug...
Reading symbols from /usr/local/lib64/navit/graphics/libgraphics_gtk_drawing_area.so...
Reading symbols from /lib/aarch64-linux-gnu/libgobject-2.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgobject-2.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libgdk_pixbuf-2.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgdk_pixbuf-2.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libcairo.so.2...
(No debugging symbols found in /lib/aarch64-linux-gnu/libcairo.so.2)
Reading symbols from /lib/aarch64-linux-gnu/libgdk-x11-2.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgdk-x11-2.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libgtk-x11-2.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgtk-x11-2.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libffi.so.7...
(No debugging symbols found in /lib/aarch64-linux-gnu/libffi.so.7)
Reading symbols from /lib/aarch64-linux-gnu/libgio-2.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgio-2.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libpixman-1.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libpixman-1.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libfontconfig.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libfontconfig.so.1)
--Type <RET> for more, q to quit, c to continue without paging--RET
Reading symbols from /lib/aarch64-linux-gnu/libfreetype.so.6...
(No debugging symbols found in /lib/aarch64-linux-gnu/libfreetype.so.6)
Reading symbols from /lib/aarch64-linux-gnu/libpng16.so.16...
(No debugging symbols found in /lib/aarch64-linux-gnu/libpng16.so.16)
Reading symbols from /lib/aarch64-linux-gnu/libxcb-shm.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libxcb-shm.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libxcb.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libxcb.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libxcb-render.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libxcb-render.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libXrender.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXrender.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libX11.so.6...
(No debugging symbols found in /lib/aarch64-linux-gnu/libX11.so.6)
Reading symbols from /lib/aarch64-linux-gnu/libXext.so.6...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXext.so.6)
Reading symbols from /lib/aarch64-linux-gnu/libpangocairo-1.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libpangocairo-1.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libpango-1.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libpango-1.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libXinerama.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXinerama.so.1)
--Type <RET> for more, q to quit, c to continue without paging--RET
Reading symbols from /lib/aarch64-linux-gnu/libXi.so.6...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXi.so.6)
Reading symbols from /lib/aarch64-linux-gnu/libXrandr.so.2...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXrandr.so.2)
Reading symbols from /lib/aarch64-linux-gnu/libXcursor.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXcursor.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libXcomposite.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXcomposite.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libXdamage.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXdamage.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libXfixes.so.3...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXfixes.so.3)
Reading symbols from /lib/aarch64-linux-gnu/libatk-1.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libatk-1.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libpangoft2-1.0.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libpangoft2-1.0.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libmount.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libmount.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libselinux.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libselinux.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libresolv.so.2...
Reading symbols from /usr/lib/debug/.build-id/74/7fbf840a4ca98f307d3a2466a96ba15--Type <RET> for more, q to quit, c to continue without paging--RET
5798425.debug...
Reading symbols from /lib/aarch64-linux-gnu/libexpat.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libexpat.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libuuid.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libuuid.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libbrotlidec.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libbrotlidec.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libXau.so.6...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXau.so.6)
Reading symbols from /lib/aarch64-linux-gnu/libXdmcp.so.6...
(No debugging symbols found in /lib/aarch64-linux-gnu/libXdmcp.so.6)
Reading symbols from /lib/aarch64-linux-gnu/libfribidi.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libfribidi.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libthai.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libthai.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libharfbuzz.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libharfbuzz.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libblkid.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libblkid.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libpcre2-8.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libpcre2-8.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libbrotlicommon.so.1...
--Type <RET> for more, q to quit, c to continue without paging--RET
(No debugging symbols found in /lib/aarch64-linux-gnu/libbrotlicommon.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libbsd.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libbsd.so.0)
Reading symbols from /lib/aarch64-linux-gnu/libdatrie.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libdatrie.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libgraphite2.so.3...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgraphite2.so.3)
Reading symbols from /lib/aarch64-linux-gnu/libmd.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libmd.so.0)
Reading symbols from /usr/lib/aarch64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so...
(No debugging symbols found in /usr/lib/aarch64-linux-gnu/gtk-2.0/2.10.0/engines/libpixmap.so)
Reading symbols from /usr/lib/aarch64-linux-gnu/gtk-2.0/2.10.0/engines/libpixflat.so...
(No debugging symbols found in /usr/lib/aarch64-linux-gnu/gtk-2.0/2.10.0/engines/libpixflat.so)
Reading symbols from /usr/local/lib64/navit/font/libfont_freetype.so...
Reading symbols from /usr/local/lib64/navit/gui/libgui_internal.so...
Reading symbols from /usr/local/lib64/navit/traffic/libtraffic_null.so...
Reading symbols from /usr/local/lib64/navit/vehicle/libvehicle_gpsd_dbus.so...
Reading symbols from /lib/aarch64-linux-gnu/libdbus-glib-1.so.2...
--Type <RET> for more, q to quit, c to continue without paging--RET
(No debugging symbols found in /lib/aarch64-linux-gnu/libdbus-glib-1.so.2)
Reading symbols from /lib/aarch64-linux-gnu/libdbus-1.so.3...
(No debugging symbols found in /lib/aarch64-linux-gnu/libdbus-1.so.3)
Reading symbols from /lib/aarch64-linux-gnu/libsystemd.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libsystemd.so.0)
Reading symbols from /lib/aarch64-linux-gnu/librt.so.1...
Reading symbols from /usr/lib/debug/.build-id/77/4ba134055bb1a66a0d8edc55f1226673c52ac1.debug...
Reading symbols from /lib/aarch64-linux-gnu/liblzma.so.5...
(No debugging symbols found in /lib/aarch64-linux-gnu/liblzma.so.5)
Reading symbols from /lib/aarch64-linux-gnu/libzstd.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libzstd.so.1)
Reading symbols from /lib/aarch64-linux-gnu/liblz4.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/liblz4.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libgcrypt.so.20...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgcrypt.so.20)
Reading symbols from /lib/aarch64-linux-gnu/libgpg-error.so.0...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgpg-error.so.0)
Reading symbols from /usr/local/lib64/navit/vehicle/libvehicle_gpsd.so...
Reading symbols from /lib/aarch64-linux-gnu/libgps.so.28...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgps.so.28)
Reading symbols from /lib/aarch64-linux-gnu/libstdc++.so.6...
--Type <RET> for more, q to quit, c to continue without paging--RET
(No debugging symbols found in /lib/aarch64-linux-gnu/libstdc++.so.6)
Reading symbols from /lib/aarch64-linux-gnu/libgcc_s.so.1...
(No debugging symbols found in /lib/aarch64-linux-gnu/libgcc_s.so.1)
Reading symbols from /lib/aarch64-linux-gnu/libnss_files.so.2...
Reading symbols from /usr/lib/debug/.build-id/b6/3a2ea1135e2a230a27398e81cbcd4690446fda.debug...
Reading symbols from /usr/local/lib64/navit/speech/libspeech_cmdline.so...
Reading symbols from /usr/local/lib64/navit/map/libmap_binfile.so...
Reading symbols from /usr/lib/aarch64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so...
(No debugging symbols found in /usr/lib/aarch64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-png.so)
Reading symbols from /usr/lib/aarch64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so...
(No debugging symbols found in /usr/lib/aarch64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so)
Reading symbols from /lib/aarch64-linux-gnu/librsvg-2.so.2...
(No debugging symbols found in /lib/aarch64-linux-gnu/librsvg-2.so.2)
Reading symbols from /lib/aarch64-linux-gnu/libcairo-gobject.so.2...
(No debugging symbols found in /lib/aarch64-linux-gnu/libcairo-gobject.so.2)
Reading symbols from /lib/aarch64-linux-gnu/libxml2.so.2...
(No debugging symbols found in /lib/aarch64-linux-gnu/libxml2.so.2)
--Type <RET> for more, q to quit, c to continue without paging--RET
Reading symbols from /lib/aarch64-linux-gnu/libicuuc.so.67...
(No debugging symbols found in /lib/aarch64-linux-gnu/libicuuc.so.67)
Reading symbols from /lib/aarch64-linux-gnu/libicudata.so.67...
(No debugging symbols found in /lib/aarch64-linux-gnu/libicudata.so.67)
0x0000007f90d2f730 in __GI___wait4 (pid=2176, 
    stat_loc=stat_loc@entry=0x7fc4d49ae0, options=options@entry=0, 
    usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
27	../sysdeps/unix/sysv/linux/wait4.c: Bestand of map bestaat niet.
#0  0x0000007f90d2f730 in __GI___wait4
    (pid=2176, stat_loc=stat_loc@entry=0x7fc4d49ae0, options=options@entry=0, usage=usage@entry=0x0) at ../sysdeps/unix/sysv/linux/wait4.c:27
#1  0x0000007f90d2f6d8 in __GI___waitpid
    (pid=<optimized out>, stat_loc=stat_loc@entry=0x7fc4d49ae0, options=options@entry=0) at waitpid.c:38
#2  0x0000007f90ccb510 in do_system
    (line=line@entry=0x7fc4d49e58 "gdb -ex bt -ex detach -ex quit navit 1425")
    at ../sysdeps/posix/system.c:172
#3  0x0000007f90ccb898 in __libc_system
    (line=line@entry=0x7fc4d49e58 "gdb -ex bt -ex detach -ex quit navit 1425")
    at ../sysdeps/posix/system.c:204
#4  0x000000557aac2dac in sigsegv (sig=<optimized out>)
    at /home/pi/navit-code/navit/debug.c:82
#5  0x0000007f910a7788 in <signal handler called> ()
--Type <RET> for more, q to quit, c to continue without paging--RET
#6  0x000000557aafaa0c in destination_equal
    (ignore_descriptions=1, dest2=<optimized out>, dest1=0x558397ba50)
    at /home/pi/navit-code/navit/bookmarks.c:683
#7  find_destination_in_list
    (dest_to_remove=0x558397ba50, former_destinations=<optimized out>, remove_found=0) at /home/pi/navit-code/navit/bookmarks.c:701
#8  0x000000557aafbba0 in bookmarks_append_destinations
    (former_destination_map=0x55836e52d0, former_destination_file=0x5583a95b60 "/home/pi/.navit/destination.txt", c=0x5583a920a8, count=1, type=type_former_destination, description=0x558386fb90 "57, Adrien de Gerlachestraat", limit=250)
    at /home/pi/navit-code/navit/bookmarks.c:798
#9  0x000000557aad76ec in navit_set_destination
    (this_=0x5583463450, c=0x5583a920a8, description=0x558386fb90 "57, Adrien de Gerlachestraat", async=1) at /home/pi/navit-code/navit/navit.c:1635
#10 0x0000007f8f455490 in gui_internal_cmd_set_destination
    (this=0x55835072a0, wm=0x5583a92020, data=0x558386fb90)
    at /home/pi/navit-code/navit/gui/internal/gui_internal.c:554
#11 0x0000007f8f45b5b0 in gui_internal_call_highlighted (this=0x55835072a0)
    at /home/pi/navit-code/navit/gui/internal/gui_internal.c:398
#12 gui_internal_button
    (data=0x55835072a0, pressed=0, button=1, p=0x7fc4d4b518)
    at /home/pi/navit-code/navit/gui/internal/gui_internal.c:2503
--Type <RET> for more, q to quit, c to continue without paging--RET
#13 0x000000557aabc1e8 in callback_list_call_attr
    (l=<optimized out>, type=attr_button, pcount=3, p=0x7fc4d4b460)
    at /home/pi/navit-code/navit/callback.c:213
#14 0x000000557aabc2a0 in callback_list_call_attr_args
    (cbl=<optimized out>, type=<optimized out>, count=count@entry=3)
    at /home/pi/navit-code/navit/callback.c:227
#15 0x0000007f90b49a7c in button_release
    (widget=<optimized out>, event=0x558345e040, user_data=0x55835424e0)
    at /home/pi/navit-code/navit/graphics/gtk_drawing_area/graphics_gtk_drawing_area.c:699
#16 0x0000007f9055e0a4 in  () at /lib/aarch64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x0000007f90ad5018 in g_closure_invoke ()
    at /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#18 0x0000007f90ae89e4 in  () at /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#19 0x0000007f90aee580 in g_signal_emit_valist ()
    at /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#20 0x0000007f90aeee90 in g_signal_emit ()
    at /lib/aarch64-linux-gnu/libgobject-2.0.so.0
#21 0x0000007f9068b1d0 in  () at /lib/aarch64-linux-gnu/libgtk-x11-2.0.so.0
#22 0x0000007f9055c43c in gtk_propagate_event ()
    at /lib/aarch64-linux-gnu/libgtk-x11-2.0.so.0
#23 0x0000007f9055c924 in gtk_main_do_event ()
--Type <RET> for more, q to quit, c to continue without paging--RET
    at /lib/aarch64-linux-gnu/libgtk-x11-2.0.so.0
#24 0x0000007f908fb610 in  () at /lib/aarch64-linux-gnu/libgdk-x11-2.0.so.0
#25 0x0000007f90f59bc8 in g_main_context_dispatch ()
    at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#26 0x0000007f90f59e5c in  () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#27 0x0000007f90f5a1b0 in g_main_loop_run ()
    at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#28 0x000000557aaa1fa0 in main_real
    (argc=<optimized out>, argv=<optimized out>)
    at /home/pi/navit-code/navit/start_real.c:231
#29 0x0000007f90cabe18 in __libc_start_main (main=
    0x557aaa1ae0 <main>, argc=1, argv=0x7fc4d4ce08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=<optimized out>)
    at ../csu/libc-start.c:308
#30 0x000000557aaa1b18 in _start ()
Detaching from program: /usr/local/bin/navit, process 1425
[Inferior 1 (process 1425) detached]
calling gdb returned 0

@OLFDB
Copy link
Contributor

OLFDB commented Feb 12, 2023

Delete the bookmarks.txt file in .navit directory (where you placed your navit.xml) and try again.

@Taxicletter
Copy link

Again, no luck. I tried a different address each time, to be sure it wasn't using previous data.

The xml file:

<?xml version="1.0" encoding="UTF-8"?><!--
	For configuration options used in this file, please read
	http://wiki.navit-project.org/index.php/Configuration
	Do not edit /usr/share/navit/navit.xml or /etc/navit/navit.xml :
	changes would be lost on upgrade. Rather copy it to ~/.navit/.
-->
<!DOCTYPE config
  SYSTEM "navit.dtd">
<config xmlns:xi="http://www.w3.org/2001/XInclude">
	<plugins>
		<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}lib*.so" ondemand="yes"/>
		<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libbinding_dbus.so" active="no"/>
		<plugin path="$NAVIT_LIBDIR/*/${NAVIT_LIBPREFIX}libgraphics_null.so" active="no"/>
	</plugins>

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

	<!--
	center= defines which map location Navit will show after first start.
	It will only be used for the first start; subsequent starts will remember the
	last position (in center.txt).
	Center coordinates format: "Long Lat" in decimal degrees (WGS 84).
	For other formats see http://wiki.navit-project.org/index.php/Coordinate_format.
	-->
	<navit center="11.5666 48.1333" zoom="256" tracking="1" orientation="-1" recent_dest="250" drag_bitmap="0" default_layout="Car">
		<!-- Use one of gtk_drawing_area, qt_qpainter or sdl. On windows systems, use win32 -->
		<graphics type="gtk_drawing_area"/>

		<!--
		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 enabled="no" type="compass"/>
		<osd enabled="no" type="navigation_next_turn"/>

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

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

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

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

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

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

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

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

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

		<vehicleprofile name="car_avoid_tolls" flags="0x4000000" flags_forward_mask="0x4000402" flags_reverse_mask="0x4000001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
			<roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10"/>
			<roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="30"/>
			<roadprofile item_types="street_3_city" speed="40" route_weight="40"/>
			<roadprofile item_types="street_4_city" speed="50" route_weight="50"/>
			<roadprofile item_types="highway_city" speed="80" route_weight="80"/>
			<roadprofile item_types="street_1_land" speed="60" route_weight="60"/>
			<roadprofile item_types="street_2_land" speed="65" route_weight="65"/>
			<roadprofile item_types="street_3_land" speed="70" route_weight="70"/>
			<roadprofile item_types="street_4_land" speed="80" route_weight="80"/>
			<roadprofile item_types="street_n_lanes" speed="120" route_weight="120"/>
			<roadprofile item_types="highway_land" speed="120" route_weight="120"/>
			<roadprofile item_types="ramp" speed="40" route_weight="40"/>
			<!--roundabout does not apply to OSMaps -->
			<roadprofile item_types="roundabout" speed="10" route_weight="10"/>
			<roadprofile item_types="ferry" speed="40" route_weight="40"/>
		</vehicleprofile>
		<vehicleprofile name="car_pedantic" route_depth="18:25%,18:40000" flags="0x4000000" flags_forward_mask="0x4000002" flags_reverse_mask="0x4000001" maxspeed_handling="0" route_mode="0" static_speed="5" static_distance="25">
			<roadprofile item_types="street_0,street_1_city,living_street,street_service,track_gravelled,track_unpaved,street_parking_lane" speed="10" route_weight="10"/>
			<roadprofile item_types="street_2_city,track_paved" speed="30" route_weight="30"/>
			<roadprofile item_types="street_3_city" speed="40" route_weight="40"/>
			<roadprofile item_types="street_4_city" speed="50" route_weight="50"/>
			<roadprofile item_types="highway_city" speed="80" route_weight="80"/>
			<roadprofile item_types="street_1_land" speed="60" route_weight="60"/>
			<roadprofile item_types="street_2_land" speed="65" route_weight="65"/>
			<roadprofile item_types="street_3_land" speed="70" route_weight="70"/>
			<roadprofile item_types="street_4_land" speed="80" route_weight="80"/>
			<roadprofile item_types="street_n_lanes" speed="120" route_weight="120"/>
			<roadprofile item_types="highway_land" speed="120" route_weight="120"/>
			<roadprofile item_types="ramp" speed="40" route_weight="40"/>
			<!--roundabout does not apply to OSMaps -->
			<roadprofile item_types="roundabout" speed="10" route_weight="10"/>
			<roadprofile item_types="ferry" speed="40" route_weight="40"/>
		</vehicleprofile>
		<vehicleprofile name="bike" route_depth="18:25%,18:40000" flags="0x40000000" flags_forward_mask="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="echo 'Fix the speech tag in navit.xml to let navit say:' '%s'" cps="15"/>
		<!--
		Instead of using a speech synthesizer, navit can also play pre-recorded samples for each word.
		See http://wiki.navit-project.org/index.php/Configuration for details.

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

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

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

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

		<!-- Mapset template for OpenStreetMap -->
		<mapset enabled="yes">
			<map type="binfile" enabled="yes" data="/home/pi/Maps/BeNeLux.bin"/>
		</mapset>

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

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

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

@OLFDB
Copy link
Contributor

OLFDB commented Feb 12, 2023

The navit.xml is fine. Try to delete all .txt files in /home/pi/.navit/ directory.

@Taxicletter
Copy link

Taxicletter commented Feb 12, 2023

That worked!
I see the steps of the route, no crashing or freezing of Navit.
Don't see the route on the map, but I'll have to check out things more, before I know that's an error.

EDIT: the route is on the map, by means of arrows on the streets.
EDIT 2: if I set an address as destination, it finds that address and shows that on the map, but in the description it says "null null" and if I select to show the route on the map, only the destination is shown. I test is more tomorrow or later.

@OLFDB
Copy link
Contributor

OLFDB commented Feb 13, 2023

The map settings should look like this. Route has to enabled.

Bildschirm­foto 2023-02-13 um 18 22 50

@Taxicletter
Copy link

Yes, I have those settings. Navit gives a route, I can see it on the map and find the steps in the configuration. It doesn't show on-screen navigation. This way it's unusable as navigation-app. I prefer online directions, but I'll try with the speach-option (https://ozzmaker.com/navigating-navit-raspberry-pi/)

I downloaded espeak and changed the config file:
<speech type="cmdline" data="espeak '%s'" cps="15"/>

Navit01

@Taxicletter
Copy link

Sometimes the map doesn't show, but when I go in the settings and then go back to the map, it shows correct.
If I don't have a GPS-signal, it shows the destination on the map instead of the route. In the description, it says then "null null" between brackets.

Navit02

Navit03

@robzane
Copy link
Author

robzane commented Apr 20, 2023

do You know if navit Ubuntu package now works or the maintainer is still drunk?

@Davem734
Copy link

Davem734 commented May 5, 2023

It still does not work. See my final post, made on 230503, that shows step-by-step what I did to get it working on Ubuntu 22.04:
https://github.com/navit-gps/navit/issues/1228

@robzane
Copy link
Author

robzane commented Dec 24, 2023

now, is navit package for ubuntu working or not?

@ManyanaNT
Copy link

Robzane I feel your pain....after wasting hours of my precious time trying to make this program work on my debain laptop, I found it easier to delete the program and use paper maps and a magnetic compass. What a joke.....

@OLFDB
Copy link
Contributor

OLFDB commented Dec 26, 2023

Still files missing. I just tested on a fresh install Ubuntu 22.04.2.

Create directory ".navit" in your user folder.

Extract attached Archiv.zip and copy the files inside .navit folder.

Download a mapset matching your location from https://github.com/navit-gps/gh-actions-mapserver/releases/latest and put it inside .navit folder.

Open the file navit.xml from .navit folder and search for:

<mapset enabled="yes">
			<map type="binfile" enabled="yes" data="/home/parallels/.navit/europe-germany-brandenburg-2023-12-25.bin"/>
		</mapset>

replace europe-germany-brandenburg-2023-12-25.bin with the name of the mapset file you loaded.

Make sure GPSD is working.

For speech to wotk install espeak-ng.

Search for

<speech type="cmdline" data="/home/<yourusername>/.navit/speech.sh %s" />

and replace <yourusername> with your username.

sudo apt-get install espeak-ng
sudo apt-get install mbrola*

You can select and install your mbrola voice only, if needed. Select the voice inside speech.sh.

Archiv.zip

@robzane
Copy link
Author

robzane commented Dec 26, 2023

Thank You

Navit is a beautiful program, it is a pity that there isn't a working package for Ubuntu, I wrote to the maintainer but he does not reply

@jkoan jkoan closed this as completed Feb 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants
@jkoan @OLFDB @robzane @Taxicletter @Davem734 @ManyanaNT and others