[OSM-talk] OT: gpsbabel frontend

Robert Hart Robert.Hart at BuroHappold.com
Fri Nov 24 00:38:53 GMT 2006


> I wonder if gpsbabel was used by some people on this list (I guess, 
> surely you do :) . A small survey: Do you use it? On which machine? Do 
> you use a frontend? Which one? Are you missing something in it? Is it 
> to complicated, or does it lack flexibility?


Yes, I use gpsbabel on a debian unstable box. I use a "frontend" that consists of a small shell script, that checks if the camera is plugged in, and if so copies the images to a folder in my gps directory. It is simple because it lacks any flexibility at all ;-)

#!/bin/sh

DATE=`date +%Y%m%d`
gpsbabel -i garmin -o gpx /dev/ttyS0 ~/gps/${DATE}w.gpx
gpsbabel -t -i garmin -o gpx /dev/ttyS0 ~/gps/${DATE}t.gpx

if `grep -q sda1 /proc/partitions` ; then
    mount /mnt/camera
    mkdir -p ~/gps/${DATE}
    cp -a /mnt/camera/*/*/*.[Jj][pP]*[gG] ~/gps/${DATE}/
    umount /mnt/camera
fi



This message has been scanned for viruses by MailControl - www.mailcontrol.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk/attachments/20061124/3afc1901/attachment.html>


More information about the talk mailing list