I recently got a BGT-31 GPS device from www.storagedepot.co.uk in order to map out Derby for the OpenStreetMap project. It arrived today and the first thing I needed to get working was the downloading of waypoints and track points from the device.

After some googling, the best way was to download a perl script from splitbrain.org called navilink.pl

You’ll probably need Device::SerialPort for perl as well. Ubuntu has a package for this which you can install by running this command:

apt-get install libdevice-serialport-perl

Then, after connecting the BGT-31 USB lead and setting it into NAVILINK mode, you can download your waypoints with:

./navilink.pl getwp

and trackpoints with:

./navilink.pl gettp

Once I’ve had time to map out a road I’ll be writing about using this device with the OpenStreetMap project