NavIT

Rating: 
4.923075
Your rating: None Average: 4.9 (13 votes)

Navit is a open source (GPL) car navigation system with routing engine.

It's modular design is capable of using vector maps of various formats for routing and rendering of the displayed map. It's even possible to use multiple maps at a time.

The user interface is designed to work well with touch screen displays. Points of Interest of various formats are displayed on the map.

The current vehicle position is read from gps

The routing engine not only calculates an optimal route to your destination, but also generates directions and even speaks to you.

Navit currently speaks over 70 languages!

You can help translating via our web based translation page : http://translations.launchpad.net/navit/trunk/+pots/navit

For help or more information, please refer to the wiki : http://wiki.navit-project.org

Maps:

The best navigation system is useless without maps. While others are known to work too, the simplest solution is to use OpenStreetMaps by downloading prepared map from the navit planet extractor.

This release is preconfigured to expect a map file at /home/nemo/Documents/map.navit.bin

Older releases up to verion 0.5.6-1 were preconfigured to expect a map file at /home/nemo/Maps/map.navit.bin instead. Move map to newer locatuin if upgrading.

Routing algorithm

NavIt uses a Dijkstra algorithm for routing. The routing starts at the destination by assigning a value to each point directly connected to destination point. The value represents the estimated time needed to pass this distance.

Now the point with the lowest value is choosen using the Fibonacci heap and a value is assigned to connected points whos are unevaluated or whos current value ist greater than the new one.

The search is repeated until the origin is found.

Once the origin is reached, all that needs to be done is to follow the points with the lowest values to the destination.

User configuration

Navit can be fully customized by copying and editing some xml files. Up to version 0.6.6-1, the user configuration directory was configured to be /home/nemo/.navit/ . Due to sandboxing requirements this was changed to be /home/nemo/.config/org.navitproject/navit . The default configuration is located under /usr/share/harbour-navit/ for all versions. Simply copy over the .xml files and start customizing.

Screenshots: 
Application versions: 
AttachmentSizeDate
File harbour-navit-0.5.1-2.armv7hl.rpm4.33 MB08/05/2017 - 14:14
File harbour-navit-0.5.1-2.i586.rpm4.36 MB08/05/2017 - 14:22
File harbour-navit-0.5.1-3.armv7hl.rpm4.92 MB21/06/2017 - 23:50
File harbour-navit-0.5.1-3.i586.rpm4.95 MB21/06/2017 - 23:50
File harbour-navit-0.5.3-1.armv7hl.rpm5.43 MB02/10/2018 - 01:04
File harbour-navit-0.5.3-1.i586.rpm5.46 MB02/10/2018 - 01:04
File harbour-navit-0.5.6-1.armv7hl.rpm5.47 MB29/04/2021 - 17:15
File harbour-navit-0.5.6-2.aarch64.rpm5.49 MB24/05/2022 - 16:50
File harbour-navit-0.5.6-2.armv7hl.rpm5.47 MB24/05/2022 - 16:50
Changelog: 

Hello Navitters,

Great news: Navit 0.5.6-2 is out now. Please read this changelog.

  • Minimum required version is Sailfish 3.4.0.24. Should be good for Jolla1
  • Enable sandboxing on Sailfish 4.4
  • Default map location moved from /home/nemo/Maps/map.navit.bin to /home/nemo/Documents/map.navit.bin due to sandboxing requirements. Move maps if required.
  • User configuration moved from /home/nemo/.navit to /home/nemo/.config/org.navitproject/navit due to sandboxing requirements. Ensure to move custom configuration and bookmarks to new location after update if required.
  • aarch64 support (completely untested due to lack of device. Any donors?)

If you want to know about other changes see the Changelog at: https://github.com/navit-gps/navit/blob/v0.5.6/CHANGELOG.md

For the full list of commits, see: v0.5.5...v0.5.6

Please report issues at https://github.com/navit-gps/navit/issues/new
The documentation can be found at http://wiki.navit-project.org/ and https://navit.readthedocs.io/en/trunk/index.html

To get the latest builds, see: http://download.navit-project.org/

Happy routing!

Comments

paolomi's picture

I'm testing navit for some days, it's beautiful, many thanks for having ported it to sailfish os! I've 2 questions:

- how to save settings? now i change settings, then i close navit, but when I run navit again, there are always the default settings. It doesn't remember my settings.

- how to switch portrait / landscape?

Many thanks :)

ps: there is a bug with the button "Quit". If i run navit from command line, the button "quit" works properly, but if I run navit tapping the icon, the button "quit" doesn't work and i have to quit the app with the swipe (top-down).

Bye:)

metalstrolch's picture

NavIT right now is just a QT application. It doesn't cope for many Sailfish specialities yet.

About the quit button: Sailfish OS expects all applications not to quit on their own. So Sailfish does expect the applications to have no quit button. They are to be killed by the window manager (by down swipe or long press). NavIT is still a normal application. So it's quit button does exactly what it should. It quits the application. Unfortunately Sailfish's window manager then keeps the window and relaunches the app if pressed into it. If run from the command line everything behaves as usual. Im looking into how to tell the window manager to quit it as well, but for me this is less important right now.

About settings saving: This is a little bit tricky. While NavIT saves many things immediately when they happen (for example the routing target) other things are saved only when navit is quit (the last shown area on the map) , and again other things are not saved ever. This is not only a problem for Navit on Sailfish, but for navit with internal GUI anywhere. The things saved on navit quit are unfortunately NOT saved when NavIT gets killed by Sailfish window manager. This is the reason for not removing the quit button :).

About landscape mode: Navit does not yet support screen rotating. Since this should not bee too tricky on Qt5 backends, I plan on implementing this. Stay tuned.

Btw. You can set the defaults of most options in the navit.xml configuration file. No GUI for that.

paolomi's picture

Many thanks for your detailed answer :)  Maybe the easier solution on sailfish os is to remove "quit" button and add "save settings" button. However, I'm not in a hurry, I think I'll edit navit.xml, thanks for the tip. :)

Caballlero's picture

Very  good  to see this app here.  Despite all the documentation to configure the map, I can not configure it yet the .xml file.   ??

metalstrolch's picture

No "need" to configure the map in the xml file. Just put your map to /home/nemo/Maps/map.navit.bin and it should work. You may need to create the  /home/nemo/Maps directory to do this.

Caballlero's picture

i did  /home/nemo/Maps/map.navit.bin, but not start up. note: i have ~/.navit empy.

metalstrolch's picture

My suggestion then is to run harbour-navit from the console and check the output for error messages. What device/version are you on?

Caballlero's picture

Jolla c

| SailfishOS 2.1.0.11 (Iijoki) (armv7hl) '--- [nemo@Sailfish ~]$ harbour-navit [D] unknown:0 - Using Wayland-EGL error:speech_qt5_espeak:bool qt5_espeak_init_espeak(speech_priv*, attr**):Sampl e rate is 22050 error:navit:xinclude:Unable to include /usr/share/harbour-navit/maps/*.xml error:map_binfile:map_binfile_open:Failed to load '/home/nemo/Maps/map.navit.bi n'|

metalstrolch's picture

Navit cannot load yor map.

Please check permissions of the map file. You can copy the sample map from /usr/share/harbour-navit/maps to ensure map is right. (sample shows munic, germany) Additional check /usr/share/harbour-navit/navit.xml for mapset tag. Looks as if youve got a typo here.

Caballlero's picture

the map have execution permit , i suspect my map is broken. I think that navit need update all maps.

paolomi's picture

@Caballero

download the map again! I've download 3 times, because the map wasn't fully downloaded and the server doesn't support resume (wget -c doesn't work), so you have to restart download. And check that is fully downloaded.

paolomi's picture

many thanks for navit! :)   is it really gtk+ user interface?

 

by the way, there is a little error in navit.xml:

/usr/share/navit/maps/osm_bbox_11.3,47.9,11.7,48.2.bin

should be

/usr/share/harbour-navit/maps/osm_bbox_11.3,47.9,11.7,48.2.bin

metalstrolch's picture

The Sailfish version is using NavIT's internal GUI on a QML Qt5 graphics backend. It does not have any dependencies to gtk+. In fact this version has only one dependency that is forbidden in Harbour: libfreetype.

Of course NavIT could have a GTK gui, but not for Sailfish.

Thanks for the hint about the config error. I'll fix that in the next release. At the moment the NavIT project is refurbishing the configuration in general, so stay tuned.

paolomi's picture

many thanks for the explanation :)

By the way, the page "interactive help" has been deleted, then fix the description above, remove "If you don't know where to start, we recommend you to read the Interactive Help : http://wiki.navit-project.org/index.php/Interactive_help "

MooCrumpus's picture

Does it match with OSM Scout Server's maps?

metalstrolch's picture

No, NavIT is not tile based and therefore not compatible to OSM Scout. But it does not need internet connection for routing either, NavIT uses mostly its own binary vector map format processed out of OSM data. You can download preprocessed maps from Navit Planet Extractor.

NavIT can use some other map formats as well. See NavIT home page

ferlanero's picture

Thank you for this release! In which folder do we have to place the downloaded maps to NavIT recognizes them? Thank you!

metalstrolch's picture

It is preconfigured for ~/Maps/map.navit.bin but you can change by copying /usr/share/harbour-navit/navit.xml into ~/.navit/ and adapting the mapset tags.

ferlanero's picture

Thank you very much! Works great in a OnePlus X Sailfish port! Thumbs up!

Pages