def simplify(self, max_distance=None):
        for track in self.tracks:
            track.simplify(max_distance=max_distance)
Simplify using the Ramer-Douglas-Peucker algorithm: http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm
dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/gpx.py/GPX.simplify