Rationalise adding of data points to GPX file