Debian Codegraph @

xmldoc/filters/options/track-faketime.xml

raw
1 <para>
2 This option assigns a time value to each trackpoint.
3 </para>
4 <para>
5 The value of this option must be in the form of fYYYYMMDDHHMMSS+SS.
6 </para>
7 <para>
8 The parameter f (force) is optional and means that the time value of each trackpoint is replaced.
9 If f is not specified, the time value of each trackpoint is only replaced when the trackpoint contains no time value.
10 </para>
11 <para>
12 YYYYMMDDHHMMSS is the pattern for the timestamp and is required.
13 </para>
14 <para>
15 The plus sign is the delimiter between the timestamp and the step time in seconds.
16 The first trackpoint receives the time value of the timestamp and
17 each following trackpoint receives the timestamp incremented by the step time.
18 The specification of the steptime is optional.
19 </para>
20 <para>
21 The parameter was added because some software products (e.g. garmin training center)
22 require a time value for each trackpoint.
23 </para>
24 <example xml:id="ex_track_faketime1">
25 <title>Replace time values of a track</title>
26 <para>
27 Replace all time values with new time values.
28 Start at the 5 th of July, 2010 at 8 PM and
29 increment 2 seconds between each trackpoint:
30 </para>
31 <para><userinput>gpsbabel -i kml -f in.kml -x track,faketime=f20100705200000+2 -o gtrnctr -F out.tcx</userinput></para>
32 </example>
33 <example xml:id="ex_track_faketime2">
34 <title>Add time values to a track</title>
35 <para>
36 Add a time value to a trackpoint, if the trackpoint contains no time value.
37 Start at the 6 th of May, 2010 at 6 AM and
38 increment 5 seconds between each trackpoint:
39 </para>
40 <para><userinput>gpsbabel -i kml -f in.kml -x track,faketime=20100506060000+5 -o gtrnctr -F out.tcx</userinput></para>
41 </example>