Turn by Turn alternative GPS app in Mobian
#8
@devrtz has got it. I used navit a fair bit ~10yrs ago, but not a lot since. I only ever tried the OSM-based maps which sometimes led to navigation oddities (ways not joined so they look fine when rendered, but can't be used as a route) but OSM data has improved a lot since then. Navit doesn't seem to have moved on much in the intervening years, but it's still highly configurable IF you're fine editing raw XML configs.

Copy /etc/navit/navit.xml into ~/.navit/ to get a custom config to edit. You'll be editing the raw XML file - I think there was once a 3rd party editor gui for navit configs but i never tried it. The first thing to edit is in the gui section so the display is a sensible size. I've used the fullscreen option, but it's also possible to define the window size. It should look like:

<gui type="internal" enabled="yes" fullscreen="1">

That will hide the top and bottom bars from phosh, but if you touch at the top or bottom of the screen they'll reappear so you can switch apps or whatever. You won't have any map to display yet, so you'll just see a sandy coloured background in the map view. Touch anywhere to get the controls (black background with an icon grid) if you want to experiment.

Next you need to define the maps to use, and download the map data. This is where I hit problems. You'll need a section of config something like:

<mapset enabled="yes">
<map type="binfile" enabled="yes" data="/home/mobian/.navit/maps/osm_england_midlands_20200702.bin"/>
</mapset>

See https://navit.readthedocs.io/en/latest/maps.html for details, including where to get the map data. The problem I've had is that it fails to read the map data, both on Mobian and an Ubuntu desktop. I've tried data both from the online extractor and copied from a working instance of Navit from f-droid, running on an android phone. If you want to chase the problem further you'll need to increase the debug level in the config. It gave a warning about 'eocl wrong' for the map file, which I think is a check on the zip file before extracting the data.

If you get the maps working please let us know how. Beyond that their wiki has examples for things like changing the rendering to look like the usual OSM one, night modes, changing what's on screen and used in the underlying calculations for different navigation profiles (car, cycle, pedestrian etc.) and more. I haven't checked yet whether I still have my old config archived.
  Reply


Messages In This Thread
RE: Turn by Turn alternative GPS app in Mobian - by wibble - 07-19-2020, 04:19 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  How to use QR codes on Mobian Sid(unstable) Pinephone Pro biketool 2 2,658 02-20-2026, 11:26 AM
Last Post: kirkaso
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 80 49,371 12-24-2025, 12:11 AM
Last Post: Kevin Kofler
  cryptocurrency on mobian/pinephone biketool 35 63,143 10-08-2025, 06:21 AM
Last Post: biketool
  Mobian MMS/SMS text problem bcnaz 16 30,474 09-15-2025, 02:42 AM
Last Post: georgegohl888
  XLibre for Mobian Hiraghm 0 2,391 06-29-2025, 12:38 PM
Last Post: Hiraghm
  Axolotl on PinePhone / Mobian arno_nuehm 223 293,721 06-25-2025, 01:19 PM
Last Post: anonymous
  VoIP account on mobian dialer j_s 0 2,160 06-15-2025, 04:19 PM
Last Post: j_s
  Mobian Pinephone Notification LED biketool 2 2,819 06-07-2025, 03:19 PM
Last Post: KC9UDX
  Vivaldi Web browser nearly native for Mobian biketool 3 3,366 05-06-2025, 02:19 AM
Last Post: biketool
  mobian calamares fail merom 2 3,238 04-29-2025, 02:10 PM
Last Post: mdk

Forum Jump:


Users browsing this thread: 1 Guest(s)