There a some small things to improve:
1)
Since you choose the GSAK-notation, maybe also keep its CamelCased-tags, since otherwise this could be a potential problem if importing into other software:
2)
<gsak:lonbeforecorrect> is filled with Latitude instead of Longitude value by mistake
3)
A new (unnecessary) "Final" Additional waypoint is created during export
1)
Since you choose the GSAK-notation, maybe also keep its CamelCased-tags, since otherwise this could be a potential problem if importing into other software:
Code Select
<gsak:LatBeforeCorrect>47.123456</gsak:LatBeforeCorrect>
<gsak:LonBeforeCorrect>13.123456</gsak:LonBeforeCorrect>2)
<gsak:lonbeforecorrect> is filled with Latitude instead of Longitude value by mistake
3)
A new (unnecessary) "Final" Additional waypoint is created during export


