

  {extends file="main.tpl"}
    <!DOCTYPE head PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><head xmlns="http://www.w3.org/1999/xhtml">
  {block name=title}GPSBabel development:Garmin Training Center (.tcx) (gtrnctr){/block}
  {block name=body}{literal}
                       
  <div xmlns="http://www.w3.org/1999/xhtml" class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Garmin Training Center (.tcx) (gtrnctr)</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="fmt_garmin.html">Prev</a> </td><th width="60%" align="center">Chapter 3. The Formats</th><td width="20%" align="right"> <a accesskey="n" href="fmt_gtrnctr1.html">Next</a></td></tr></table><hr /></div><div xmlns="http://www.w3.org/1999/xhtml" class="section"><div class="titlepage"><div><div><h2 class="title" ><a id="fmt_gtrnctr"></a>Garmin Training Center (.tcx) (gtrnctr)</h2></div></div></div><p class="fmtcapshdr">
    This format can...
    </p><div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; "><li class="listitem"><p class="fmtcapsitem">
          read waypoints
        </p></li><li class="listitem"><p class="fmtcapsitem">
          read and write tracks
        </p></li></ul></div><p>This format has the following options: <a class="link" href="fmt_gtrnctr.html#fmt_gtrnctr_o_course" title="course option">course</a>, <a class="link" href="fmt_gtrnctr.html#fmt_gtrnctr_o_sport" title="sport option">sport</a>, <a class="link" href="fmt_gtrnctr.html#fmt_gtrnctr_o_course" title="course option">course</a>, <a class="link" href="fmt_gtrnctr.html#fmt_gtrnctr_o_sport" title="sport option">sport</a> .</p><p>
GPSBabel supports reading and writing of tracks in the .tcx 
format used by <span class="productname">Garmin Training Center</span>™ (GTC). GTC is the successor 
to Garmin's <span class="productname">Logbook</span>™ program for their workout units.  It is a 
free upgrade.
</p><p>
GPSBabel can read GTC v1 and v2 files, and can write v2 files. 
v2 files are most likely to have a .tcx extension. v1 files
typically have a .hst or .crs extension, depending on whether they
are in the "history" or "course" format.
</p><p>
There is a fundamental mismatch between this format and most of
what we support.  GPSBabel deals in waypoints, tracks, and routes.
While we do record things like heart rate and temperature when we know
it, the fundamentals of Training Center are different.  It deals in
concepts like laps and calories, which are rather alien to GPSBabel 
and most of the formats we support.  As such, while we can describe
the tracks pretty accurately, things like calories and heart zone
tracking are not supported. Some of the auxiliary data, such as
heart rate (not zone), cadence, and bicycling power are supported.
</p><p>
One of the most useful things you can do with this format is to send 
.tcx files found on the web or elsewhere to any supported GPS 
unit. You will probably want to include the transform (rte=trk) 
and simplify filters in this process. For example,
</p><p><strong class="userinput"><code>
gpsbabel -i gtrnctr -f somefile.tcx -x simplify,count=50 
-x transform,rte=trk -r -o garmin -F usb:
</code></strong></p><p>
where you select the count not to exceed the number of available
waypoints for routing on your device.
</p><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_gtrnctr_o_course"></a><code class="option">course</code> option</h3></div></div></div><p>
      Write course rather than history, default yes.
    </p><p>
  This flag defaults to true; it must be turned off (course=0) if you want history instead of courses.
</p></div><div class="section"><div class="titlepage"><div><div><h3 class="title"><a id="fmt_gtrnctr_o_sport"></a><code class="option">sport</code> option</h3></div></div></div><p>
      Sport: Biking (deflt), Running, MultiSport, Other.
    </p><p>
  Specify which sport is associated with this activity.  Valid values are Biking, Running, MultiSport, and Other.
</p></div></div><div xmlns="http://www.w3.org/1999/xhtml" class="navfooter"><hr /><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="fmt_garmin.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="The_Formats.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="fmt_gtrnctr1.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Garmin serial/USB protocol (garmin) </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> Garmin Training Center (.xml) (gtrnctr)</td></tr></table></div>
  
      {/literal}{/block}
  