/* gpxlength -- calculate total length of a track * * Parse a GPX file, calculate the total length of the track(s), and * print information about the track. * * The calculation assumes the points along the track are close enough * together that the curvature of the earth can be ignored. On the * other hand, the elevation information in the track points *is* * used. * * Todo: heuristics to compensate noise, such as large movements with * low precision, random movements around a point... * * Todo: handle without a