Geocaching, Garmin and Linux
I’m a Geocacher and I’ve bought a new toy, the Garmin Vista HCx. This device has a special function for Geocaching. You have to upload these files directly to the device. It isn’t possible to store them on the microSD.
On the geocaching.com you have an option to send the coordinates directly to the GPS. It downloads a web browser plugin from Garmin. To send the files (.loc or .gps) to the device on Linux there is a nice tool called gpsbabel. You can use it to send your files to the GPS. However the device supports only traditional caches 🙁
So a simple script named “sendCache” is:
gpsbabel -i gpx -f $1 -o garmin -F usb:
You have to remove the kernel module which is loaded automatically:
Or blacklist it in /etc/modprobe.d/blacklist. Simply add ‘blacklist garmin_gps’.
To get the permissions to work with gpsbabel as a user, you have to install a hal fdi file. Copy 80-gps.fdi to ‘/usr/share/hal/fdi/information/20thirdparty’. This will set acl rules for write access to the user if you attach it.
I own the same device for the same purpose. I am using the OpenStreetMap maps. Very easy to copy on the micro-sd card. I usually take the germany map (~350mb) and update it every ~4 weeks.
I have 3 maps on my microSD, Europe, Germany and a hiking map for Franken ( http://opentiles.com/nop ). If I need to change a map I put the microSD in my N810 and rename the map 🙂