Beispiel #1
0
 def get_total_gain(self, unit="m"):
     '''Return min elevation. Default unit: m.'''
     return length_conv(self.total_gain, unit)
Beispiel #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)
Beispiel #3
0
 def get_min_elev(self, unit="m"):
     '''Return min elevation. Default unit: m.'''
     return length_conv(self.min_elev, unit)
Beispiel #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)
Beispiel #5
0
 def get_total_gain(self, unit="m"):
     '''Return min elevation. Default unit: m.'''
     return length_conv(self.total_gain, unit)
Beispiel #6
0
 def get_min_elev(self, unit="m"):
     '''Return min elevation. Default unit: m.'''
     return length_conv(self.min_elev, unit)
Beispiel #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)
Beispiel #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)