def capability_info(self,name=None):
        for r in self.resources:
            if (r.capability == name):
                return(r)
        return(None)
Simplify using the Ramer-Douglas-Peucker algorithm: http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm
dataset/ETHPy150Open resync/resync/resync/capability_list.py/CapabilityList.capability_info--crossover with--dataset/ETHPy150Open tkrajina/gpxpy/gpxpy/gpx.py/GPXTrack.simplify