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
  Mobian Bulleyes aberrio 0 80 12-16-2024, 08:27 AM
Last Post: aberrio
  Mobian, Suspend, and Audio Playback biketool 0 128 12-11-2024, 12:56 AM
Last Post: biketool
  Upgrade to Mobian (Trixie) Staging biketool 12 695 12-06-2024, 05:46 PM
Last Post: vusra
  how to update mobian over tor vusra 14 9,483 12-04-2024, 07:01 PM
Last Post: vusra
  bookworm vs trixie discussion for mobian in pinephone regular. zetabeta 41 9,481 11-27-2024, 10:39 AM
Last Post: fernando_c_m
  atinout binaries for mobian/debian? NeutralGrey 4 1,526 10-31-2024, 04:16 AM
Last Post: astylethargic
  Mobian-Kicksecure? 3460p 0 922 05-26-2024, 02:09 PM
Last Post: 3460p
  Mobian repository status henrythemouse 16 12,450 04-10-2024, 10:02 AM
Last Post: diederik
  cant verify mobian image at website gnugpg penguins_rule 0 972 03-18-2024, 08:54 PM
Last Post: penguins_rule
  mobian installed to eMMC - how to install tow-boot grump_fiddle_reinstall 6 4,131 11-22-2023, 11:46 AM
Last Post: aLoop100o

Forum Jump:


Users browsing this thread: 4 Guest(s)