Read GPS logs from QStarz data logger

Using MTKBabel:

mtkbabel -s 115200 -f gpsdata -t -w -p /dev/ttyUSB0

will write a binary file gpsdata.bin, and 2 files: gpsdata_wpt.gpx with waypoints, and gpsdata_trk.gpx with tracks. Use -c instead of -t -w for a single file with both tracks and waypoints.

To empty the memory:

mtkbabel -s 115200 -E -p /dev/ttyUSB0

Then use gpicsync to create a kml with pictures (ready for the web).

Also, it is possible to convert the binary file to csv with gpsbabel:

gpsbabel -i mtk-bin,csv=extra.csv -f gpsdata.bin -o unicsv -F result.csv

Split a GPX file into tracks » « Simple webserver in python