DescriptionBecause the Track/Segment logic will wait 20 minutes before starting a new segment, exports of a valid segment (i.e. one which contains periods where the vehicle was moving) will always have 20 minutes of entries containing 0mph at the end.
Need to adjust the DBtoGPX logic to account for this.
Activity
2013-12-27 02:20:01
2013-12-27 02:21:45
We now check for the maximum timestamp within a segment that has a speed > 0. After adding each trackpoint to the XML we check whether the current trackpoints timestamp is greater than the max moving. If it is, we break out of the loop.
Should mean we get a single trailing 0mph per segment.
2013-12-27 02:21:55
2013-12-27 02:21:55