a little processing snippet to parse gpx data