User:Marchk/Ubuntu
From OpenStreetMap Wiki
Software that works with Ubuntu Linux can be found here: english / deutsch. This site contains all scripts I use with Ubuntu.
GPSBabel
Depending on your release you'll have to use /dev/ttyUSB0 instead of usb:.
| command | description |
|---|---|
| gpsbabel -D9 -w -i garmin -f usb: -o gpx -F WP.gpx | Import waypoints |
| gpsbabel -D9 -t -i garmin -f usb: -o gpx -F TP.gpx | Import track. |
| gpsbabel -i gpx -f NAME.gpx -o garmin -F usb: | Send NAME.gpx to your GPS. |
| gpsbabel -t -i garmin -f usb: -o kml,points=0,line_color=ff0000ff -F Track.kml | Import track and convert it into KML. |
| gpsbabel -w -i tomtom -f "NAME.ov2" -o gpx -F "NAME.gpx" | TomTom POI -> GPX XML |
| gpsbabel -w -i tomtom -f "NAME.ov2" -o garmin_gpi -F "NAME.gpi" | TomTom POI -> GARMIN POI |
gpsd
Using gpsd with Ubuntu:
sudo modprobe garmin_gps sudo mount -t usbfs usbfs /proc/bus/usb gpsd -nND2 /dev/ttyUSB0 xgps
autorun.inf
If you want to display an icon when you plugin your device just copy an icon (48x48 px.) e.g. nuvi_drive.ico in folder /Garmin on your microSD™ and create a file named autorun.inf with the following content in it's rootdirectory:
[autorun] icon=Garmin\nuvi_drive.ico action=Garmin eTrex Legend HCx label=Garmin eTrex Legend HCx