Navit

From wikinotes

Highly configurable cross platform turn-by-turn GPS navigation app.
Mobile friendly layout.

Documentation

official docs https://navit.readthedocs.io/en/latest/configuration/index.html
config https://wiki.navit-project.org/index.php/Configuration
maps https://wiki.navit-project.org/index.php/Maps

Locations

~/.navit/navit.xml config
/usr/share/navit/navix.xml default config

Install

sudo pacman -S navit

Configuration

Enable GPS

See mmcli

Maps

Download a mapset

# Interactive
- visit: http://maps3.navit-project.org/
  - predefined area: North America > Canada
  - Get map!

# Automated (submit bounding-box)
wget -O map.osm "http://xapi.openstreetmap.org/api/0.6/map?bbox=11.4,48.7,11.6,48.9"

Configure a mapset


  • a mapset may refer to multiple files
  • only one mapset can be enabled at a time (but many can be configured)
  • by default, $NAVIT_SHAREDIR/maps/*.xml
<!-- ~/.navit/navit.xml -->
<mapset>
  <map type="binfile" enabled="yes" data="/path/to/your/map/osm_bbox.bin" />
</mapset>