gpx
gpx copied to clipboard
Fix ArgumentError: comparison of Time with nil failed
I have a GPX file with mixed tracking points, as some of them have a time node and others do not. If the first tracking point of a segment does not have a time node it gets set as the earliest_point. But when a point gets added, that does have a time node attached to it, an ArgumentError is raised because the time of the first tracking point is nil.