Prerequisites on the Raspberry PI
sudo apt-get install gpsd
sudo apt-get install gpsd-clients
sudo dpkg-reconfigure gpsd
The device will likely appear at /dev/gps0
stty -F /dev/ttyUSB0 ispeed 4800 && cat </dev/ttyUSB0
gpsd /dev/gps0 -b -n
To pipe GPS JSON data out:
gpspipe -w > gpsdata.json
A CUI view can be obtained using:
cgps
References
http://www.catb.org/gpsd/installation.html
https://github.com/mapnik/mapnik
https://github.com/openstreetmap/osmosis