def format_altitude(self, unit='km'): """ Format altitude with unit:: >>> p = Point(41.5, -81.0, 12.3) >>> p.format_altitude() '12.3km' >>> p = Point(41.5, -81.0, 0) >>> p.format_altitude() '0.0km' :param str unit: Resulting altitude unit. Supported units are listed in :meth:`.from_string` doc. """ return format_distance(self.altitude, unit=unit)
def format_altitude(self, unit='km'): return format.format_distance(self.altitude, unit)
def format_altitude(self, unit='km'): """ Foamt altitude with unit """ return format_distance(self.altitude, unit=unit)
def format_altitude(self, unit='km'): """ Format altitude with unit """ return format_distance(self.altitude, unit=unit)