How to get Navit working on Raspberry Pi with a USB GPS device

Eric P
2017-10-13 01:01

To install Navit and GPSD 

sudo apt-get install navit gpsd gpsd-clients python-gps -y

Copy to your home directory

cp /etc/navit/navit.xml ~/.navit/navit.xml
cd /home/pi/.navit

Get a map (using your browser)  (zoom and select the desired area and hit download)

Rename the downloaded file to something like Phoenix.bin and place it under  


Disable sample maps

<!-- If you dont want to use the sample map, either set enabled="no" in the next line or remove the xml file from the maps directory -->
<mapset enabled="no">
<xi:include href="$NAVIT_SHAREDIR/maps/*.xml"/>

Enable your Map

<!-- Mapset template for openstreetmaps -->
<mapset enabled="yes">
<map type="binfile" enabled="yes" data="/home/pi/.navit/Phoenix.bin"/>

To get a USB GPS working 
Works for Navit and other GIS software, such as kismet and others.

sudo nano /etc/default/gpsd

# Use USB hotplugging to add new USB devices automatically to the daemon
# Devices gpsd should collect to at boot time.
# They need to be read/writeable, either by user gpsd or the group dialout.
# Other options you want to pass to gpsd


Tags: GPS, GPSD, Navigation, Navit, Raspberry Pi, Raspi
Average rating: 0 (0 Votes)

You cannot comment on this entry