[2024-feb-29] Sad news: Eric Layton aka Nocturnal Slacker aka vtel57 passed away on Feb 26th, shortly after hospitalization. He was one of our Wiki's most prominent admins. He will be missed.

Welcome to the Slackware Documentation Project

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
howtos:hardware:gps_devices [2012/11/09 13:54 (UTC)] – [Sources] markushhowtos:hardware:gps_devices [2022/04/10 17:33 (UTC)] (current) – [Sources] pceres
Line 1: Line 1:
 <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). --> <!-- Add your text below. We strongly advise to start with a Headline (see button bar above). -->
 +<!-- Reviewed 2012-01-09 by Hazel -->
 ====== GPS-devices ====== ====== GPS-devices ======
  
 ===== Overview ===== ===== Overview =====
  
-GPS stands for **G**lobal **P**ositioning **S**ystem. GPS devices (also referred to as GPS receivers) provide the user with his/her geographic coordinates. +GPS stands for **G**lobal **P**ositioning **S**ystem. GPS devices (also referred to as GPS receivers) provide the user with his/her geographic coordinates. GPS sport watches allow to save and export tracks, that is collections of geo-localized points describing the run or any movement that was done
-I'm using a Garmin Etrex Legend HCx, my expriences in this howto refer to this device, but it should also work at least for any Garmin GPS receiver.+This howto is based on experiences on Garmin Etrex Legend HCx (GPS device) andon Slackware 15.0, on a Garmin Forerunner 205 (GPS sport watch); but it should also work at least for any Garmin GPS receiver.
  
 ===== Software ===== ===== Software =====
  
-I'm mostly using gpsbabelthis command line tool can retrieve and send data from/to a GPS device. \\+I'm mostly using gpsbabelthis command line tool can retrieve and send data from/to a GPS device. \\
 There's also qlandkartegt which can deal with the data provided by the GPS receiver.  \\ There's also qlandkartegt which can deal with the data provided by the GPS receiver.  \\
 Both are available via [[http://www.slackbuilds.org|SlackBuilds.org]] Both are available via [[http://www.slackbuilds.org|SlackBuilds.org]]
Line 15: Line 16:
 ===== Connecting the Device ===== ===== Connecting the Device =====
  
-When a GPS device is connected to the computer, it becomes recognized as a USB device by udev and the module garmin_gps is loaded. In most cases the module will not work for us. Fortunately gpsbabel comes with its own drivers so the module garmin_gps is not needed. On my computer I've blacklisted it in /etc/modprobe.d/blacklist.conf+When a GPS device is connected to the computer, it becomes recognized as a USB device by udev and the module garmin_gps is loaded. In most cases the module will not work for us. Fortunately gpsbabel comes with its own drivers so the module garmin_gps is not needed. One can blacklist it by adding in /etc/modprobe.d/blacklist.conf the line <code>blacklist garmin_gps</code>
  
 ===== udev-rules ===== ===== udev-rules =====
Line 27: Line 28:
 As an example here is the code which transfers a gpx waypoint file to a Garmin GPS device. As an example here is the code which transfers a gpx waypoint file to a Garmin GPS device.
 <code>gpsbabel -i gpx -f $file -o garmin -F usb:</code> <code>gpsbabel -i gpx -f $file -o garmin -F usb:</code>
 +
 +===== Exporting Data from the Device =====
 +
 +In case of a GPS sport watch, the most important operation is extracting tracks from the device, usually in a gpx format.
 +Here is an example to extract all the tracks saved in the device to a single gpx file (using GPX format version 1.1):
 +<code>gpsbabel -t -i garmin -f usb: -o gpx,gpxver=1.1 -F $FILEOUT</code>
 +To extract to file $FILEOUT a single gpx track with name $TRACKNAME from a global gpx file $FILEIN containing all tracks:
 +<code>gpsbabel -i gpx -t -f $FILEIN -x track,name=${TRACKNAME} -o gpx,gpxver=1.1 -F $FILEOUT</code>
 +The extracted gpx track can then be further processed by other sw, such as ZombieTrackerGPS, or uploaded on Garmin Connect website (GPX format version 1.1 is mandatory)  
  
 ===== Further Reading ===== ===== Further Reading =====
Line 32: Line 42:
 The website for [[http://www.gpsbabel.org/|gpsbabel]] \\ The website for [[http://www.gpsbabel.org/|gpsbabel]] \\
 The website for [[http://www.qlandkarte.org/|qlandkartegt]] \\ The website for [[http://www.qlandkarte.org/|qlandkartegt]] \\
 +The website for [[https://www.zombietrackergps.net/ztgps/|ZombieTrackerGPS]] \\
 The [[http://www.openstreetmap.org/|openstreetmap project]] The [[http://www.openstreetmap.org/|openstreetmap project]]
  
Line 39: Line 50:
 <!-- * Original source: [[http://some.website.org/some/page.html]] --> <!-- * Original source: [[http://some.website.org/some/page.html]] -->
 <!-- Authors are allowed to give credit to themselves! --> <!-- Authors are allowed to give credit to themselves! -->
-* Originally written by [[wiki:user:markush | Markus Hutmacher]] +  * Originally written by [[wiki:user:markush | Markus Hutmacher]] \\ 
 +  * Contributions by [[wiki:user:pceres | Pasquale Ceres]]
 <!-- * Contributions by [[wiki:user:yyy | User Y]] --> <!-- * Contributions by [[wiki:user:yyy | User Y]] -->
  
 <!-- Please do not modify anything below, except adding new tags.--> <!-- Please do not modify anything below, except adding new tags.-->
 <!-- You must remove the tag-word "template" below before saving your new page --> <!-- You must remove the tag-word "template" below before saving your new page -->
-{{tag>howtos template}}+{{tag>howtos gps, gpsd, gpsbabel}}
 howtos:hardware:gps_devices ()