Encode fit from gpx