Doc for calculateFromGPX