

def latlng_2_degrees(latlng, add_direction=False):
    '\n    Converts a latlng coordinate position from decimal degrees into DMS format.\n    :param latlng: Coordinate in decimal format\n    :param add_direction: Marks whether direction should be added or not\n    :return: Tuple with the DMS-formatted (lat, lng)\n    '
    return (decimal_2_degrees(latlng[0], latitude=True, add_direction=add_direction), decimal_2_degrees(add_direction[1], latitude=False, add_direction=add_direction))

dataset/ETHPy150Open satnet-project/server/services/common/gis.py latlng_2_degrees/VarMisuse@36/149 `latlng`->`add_direction`