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

edp17's picture

I am getting that segmentation fault issue that ade reported and the workaround doesn't work. Device: community port Motog7Power (ocean) aarch64 - sfos4.6

NGC_Ollie's picture

Hi, are you still active here? Navit stopped starting on my device and IDK why. If anyone knows where to start I'd provide detailed information.

metalstrolch's picture

I've built latest navit using the latest Sailfish SDK 4.6.0.13 hopefully resolving the segfault. However I've run out of usable Sailfish devices right now since my Sony died. So I cannot test the thing any more. I myself are on UBTouch at the moment porting navit there. So gie it a try and report back.

ilovekiruna's picture

Hi @metalstrolch,

I assigned myself the ticket on our Github repository. I recently got a new SFOS phone and would try to fix the issue. Could you then upload the new version, in case I manage fixing it?

NGC_Ollie's picture

Dear Metastrolch, Thanks for your reply, I'm so sorry, I simply missed your comment. I really would like to test your build, but where can I get it? I didn't find it anywhere, could you please provide a link? And if you are unable to test, I might be able to do so if you have any test cases or so.

ade's picture

FYI: I see a SFOS 4.6 bug report here from 2 weeks ago: https://github.com/navit-gps/navit/issues/1268, including a hacky workaround for the issue.

Meminga's picture

Thanks a lot for the app. A profile without "Autobahn/Kraftfahrstraße" (probably "express way" in english) for smaller motorbikes or scooter would be cool.

NGC_Ollie's picture

Sorry to bother you again, we now have a different problem: it seems that navit lost access to its own folders or to the SD card. I'm unable to get my world map on my external storage working. I guess it is because of the sailjail, but I'm really just guessing since i can access those symlinks by command line and they are working. Also the file manager is unable to find those folders like "~/Maps", "~/.navit" or ".local/share/navit" since the introduction of sailjail. Maybe you can help here? Thanks a lot!

metalstrolch's picture

This is unfortunately a currently known issue. I'm investigating how to correctly make navit fit into the sandboxing requirements. Unless there is a new release available fixing this you can temporarily disable Sailfish sandbox for NavIT by adding the following lines to navit's desktop file:

[X-Sailjail]
Sandboxing=Disabled

Unfortunately this requires developer console right now.

metalstrolch's picture

Now fixed. Please read changelog.

NGC_Ollie's picture

Thanks a lot it is working like a charm! Keep up the good work!

zipotron's picture

Thanks a lot for bringing last update of Navit! Just wanted to ask, looking forward the X 10 II, that will use the arm64, could you publish a compilation for it? I am one those waiting for flash a X 10II. Thanks!

metalstrolch's picture

aarch64 version available now although completely untested due to no device.

nephros's picture

The link to maps in the app description redirects to some weird video site.

Thanks for the bump though, I haven't been aware of this app until now.

metalstrolch's picture

Changed the link to the map downloader despite it was not wong. Guess this is a temporary problem on the downloader setup. I don't run that site though. Now it should work again. Thanks for spotting.

NGC_Ollie's picture

Since we are talking about the map extractor: it is kinda broken. I used to download the whole planet to my SD card, but the latest planet (26.03.21 with 40,4GB) seems to be broken. If I use my old map from 14. Th July 2020, navit starts smoothly, if I use 210326 it gets stuck a few times (watchdog dialog) and i have no map. Download of any European map fails as well. Read issue 1112 on github for more details. Are there other sources for maps?

NGC_Ollie's picture

Hi. Is this still active? On my XA2 plus with SailfishOS 4.0.1.48 I'm unable to use bin-maps on my sd-card. A map inside ~/.navit/map.bin works. My ~/.navit/navit.xml:

<?xml version="1.0"?>

config>


When I used the command line, it was complaining about the syntax, but the version above was without errors. Any suggestions?

metalstrolch's picture

This is more or less still active, however there is no special "Sailfsh" version any more. It is developed as part of the usual Navir release cycle. See https://github.com/navit-gps/navit/releases
 

Unfortunately the xml file you posted got eaten by html filter of this site, but if Navit complains about syntax errors in xml file, then those most likely caused the map to not be there.

If in doubt remove the entire ~/.navit directory. 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. This is the default config in the rpm's for now.

metalstrolch's picture

Preferred solution to get the map on a sd card is to make /home/nemo/Maps/map.navit.bin a symlink to location on sd card. Navit cannot search for maps right now really.

NGC_Ollie's picture

Wow, twice thanks to you! Symlink was working out of the box with my running 0.5.3, nice. Then I did the upgrade of your package to 0.5.6. Runs smoothly and uses my map. Double win within a few hours. Top developer, would buy again (XML sucks anyways)

olf's picture

Thank you very much @metastrolch for continuously maintaining, contributing to and packaging the SailfishOS port of NavIt.

As updating NavIt 0.5.1-3 to 0.5.3-0 fails on my device, I filed NavIt issue #654.

Hopefully filing SFOS-specific issues at NavIt's Github-based issue tracker was your intention, it took me a little while to understand that no separate Source Code repository (and issue tracker) for NavIt for SFOS exists.
Hence I believe it would be helpful to clearly denote in the description of NavIt on this OpenRepos page (above), where issues ought to be filed, and to provide a web-link to that location (e.g. https://github.com/navit-gps/navit/issues ).

metalstrolch's picture

Fixed with 0.5.3-1

olf's picture

Thanks!

gaelic's picture

As Navit has not seen updates since 2015, are you considering changing the routing backend maybe to http://www.routino.org? Benefits: it supports different ways of travel like foot, bike, car.

metalstrolch's picture

???

 

NavIT is actively developed ever since, and can route for different Vehicles including pedestrian. So there is no need to replace its backend. What makes you think its outdated?

247's picture

hi there...a question and a little thing i would like to change... :)

the thing i would like to change is the keyboard...a qwerty qould be a lot better than an abcd etc etc

now for the question...i wanted to store the maps on the sd card and tried to edit the xml for doing that, but i cannot find the location where i can change the path...any help on this?

by the way do you plan to give the app a more sailfish look?

metalstrolch's picture

The internal keyboard layout is due to hardware with rotary encoders or just arrow buttons. But there are plans to use Sailfish native Keyboard instead. But this may take some time.

To 1: navit planet extractor maps are automatically created out of openstreetmap data. So feel free to enhance your city in openstreetmap. For other map options have a look at http://wiki.navit-project.org/index.php/Maps , but there are no really good alternatives to openstreetmap at the moment.

To 2: The "default" configuration is at /usr/share/harbour-navit/navit.xml Needs "root" rights to modify. But you can copy it to ~/.navit/navit.xml and adapt changes there. This overrides the default settings completely. Then your changes are not lost if you update navit later on.

Alter the "mapset" tag in navit.xml. Search for map.navit.bin in navit.xml to find it. Be careful with adding multiple maps at a time. Although NavIT supports this, this can break routing if the maps don't fit to each other.

Or the better and simpler solution: Symlink the map from where ever you want it to be to ~/Maps/map.navit.bin instead of just copying it there. This requires no change in configuration at all and is my preferred way in doing this.

To3. I myselve not. But someone else is working on a QML GUI which then may be adapted to Sailfish Silica easily. Unfortunately Sailfish Silica is compatible to nothing, and the focus is on portable QML. 

247's picture

thanks for your fast reply...i'll update my questions since i solved some of them...now the app is correctly showing all the streets...maybe it was a corrupted download so downloaded maps again and now is working...

as for the xml file...i know but i can't find how to point navIT to search for maps in the sd card...i can't find any path to change in the xml file

hope anyway the new interface will be simpler to use :)

keep up the good work anyway :)

metalstrolch's picture

Navit cannot search for maps. All maps need to be enabled in navit.xml. See "mapset" tag.

DrYak's picture

Thank you very much for this port !

I used to enjoy Navit back on my Palm/HP Pre smartphones (also full GNU/Linux like Jolla, but HTML-based instead of QML).

I was hoping to find some free time to do a recompile myself but you beat me to it. :-P

Thank you again for your work !

Pages