I\'m trying to get the elevation values from a GPX file and add them to an array so I can do some calculations for total elevation gain for a route.
I have managed to get