tkrajina / gpxpy

gpx-py is a python GPX parser. GPX (GPS eXchange Format) is an XML based file format for GPS tracks.
Apache License 2.0
987 stars 223 forks source link

Error in track segment elevation extremes calculation #34

Closed titsworth closed 10 years ago

titsworth commented 10 years ago

When calculating the elevation extremes for a track segment, the min/max return values are reversed, resulting in a bad min/max at the segment level. (This is masked at the track level since the segment mins/maxes are thrown into a common list and min/max is recalculated)

titsworth commented 10 years ago

Added pull request: https://github.com/tkrajina/gpxpy/pull/35. Closed this issue