[Gpsbabel-code] bug with reverse filter and tracks
Brought to you by:
robertl
From: tsteven4 <tst...@gm...> - 2012-05-03 13:59:07
|
There is a bug with the reverse filter when applied to tracks. It effects output formats kml and gpx, causing invalid xml to be produced due to mismatched tags. This results because wpt_flags.new_trkseg is not updated when the track is reversed. The new_trkseg flag should be set at, and only at, the start of each track segment, but after reversal it is set only at the end of each track segment (which was the start before reversal). I am thinking about a fix but I don't have anything yet. |