def tuples_to_geojson(bounds):
    """
    Given bounding box in tuple format, returns GeoJSON polygon

    Input bounds: (lat(y) min, lat(y) max, long(x) min, long(x) max)
    """
    lat_min = bounds[0]
    lat_max = bounds[1]
    long_min = bounds[2]
    long_max = bounds[3]

    bounding_box = {}
    bounding_box["type"] = "Polygon"
    bounding_box["coordinates"]  =  [
        [lat_max, long_min], # NW
        [lat_max, long_max], # NE
        [lat_min, long_max], # SE
        [lat_min, long_min]  # SW
    ]

    return bounding_box