GeoDB::Modify::Track.3pm

Langue: en

Version: 2008-11-19 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

Track - Adds data to the found waypoints based on information from a track

DESCRIPTION

START HELP

The track plugin lets you compare a list of waypoints found in a search against the data in a gpx track file. Specifically, it:

  - adds the following attribute fields to the waypoint's attribuets
    (not permenantly; use --save to save them):
 
    trkptdate    -  The date of the track point nearest the cache
    trkpttime    -  The time of the track point nearest the cache
    trkptnum     -  The number of the track point nearest the cache
    trkptname    -  The name of the track the point is in
 
    trkptdist    -  Distance in feet from the cache to the nearest track point
    trkptnum     -  The Nth track point counter into the track point data
    trkptepoch   -  Seconds since 1970 of the trackpoint closest to the cache
    trkptstart   -  Start time of the search (got closer than config distance)
    rtkptend     -  End time of the search
    rtkptnearby  -  Amount of time spent searching (= end - start)
 
  - optionally sorts the resulting waypoints by time visited if the
    sort option is set.
 
 

Using this and the track search plugin you can take a track GPX file downloaded from a GPS and list all the caches you came near in the order you went to them along with the time stamp when you visited it. As an example, this is the results of a trip I took one day:

   > geoqo -s 'track:track.gpx' -m 'track:track.gpx' -d list:'%{7.7:ident} %{attr:trkpttime}  %{urlname}'
   
   GC10J27 10:55:22  This one is Golden
   GCPC2R  11:16:53  "THE ISLAND"
   GCYCGE  13:02:07  Legacy Trail #1 - River BBQ
   GCD8A1  13:10:55  Under Lock & Key
   GC5CBC  13:52:32  Let the Games Begin
   GCPR6E  14:11:27  YFcache10
   GCWR36  14:31:10  Granite Rock
   GCK8YR  14:54:07  The Cache in The Middle of The Freeway
   GCYYXV  16:02:05  Cisco Grove TB Stop
   GC10Q0Q 16:02:41  Hard Rock Exchange #2
   GCW1C3  16:27:08  Crack with a View
   GCG38E  16:45:33  The Solar System - Pluto
 
 

To get track data from the gps, use gpsbabel:

   gpsbabel -t -i garmin -f usb: -o gpx -F track.gpx
 
 

END HELP

AUTHOR

Wes Hardaker (AKA Yamar) <hardaker ATAT users.sourceforge.net>