Example #1
0
 def get_total_gain(self, unit="m"):
     '''Return min elevation. Default unit: m.'''
     return length_conv(self.total_gain, unit)
Example #2
0
 def get_max_elev(self, unit="m"):
     '''Return max elevation in specified unit. Default unit: m.'''
     return length_conv(self.max_elev, unit)
Example #3
0
 def get_min_elev(self, unit="m"):
     '''Return min elevation. Default unit: m.'''
     return length_conv(self.min_elev, unit)
Example #4
0
 def get_total_dist(self, unit="m"):
     '''Return distance in the specified unit. Default unit: meters.
     Other available units are km, m, mi, nmi, ft, yd, in.'''
     return length_conv(self.total_dist, unit)
Example #5
0
 def get_total_gain(self, unit="m"):
     '''Return min elevation. Default unit: m.'''
     return length_conv(self.total_gain, unit)
Example #6
0
 def get_min_elev(self, unit="m"):
     '''Return min elevation. Default unit: m.'''
     return length_conv(self.min_elev, unit)
Example #7
0
 def get_max_elev(self, unit="m"):
     '''Return max elevation in specified unit. Default unit: m.'''
     return length_conv(self.max_elev, unit)
Example #8
0
 def get_total_dist(self, unit="m"):
     '''Return distance in the specified unit. Default unit: meters.
     Other available units are km, m, mi, nmi, ft, yd, in.'''
     return length_conv(self.total_dist, unit)