def get_bounding_box(dataframe, dataIdentifier):
    """Returns the rectangle in a format (min_lat, max_lat, min_lon, max_lon) 
    which bounds all the points of the ´dataframe´.

    Parameters
    ----------
    dataframe : pandas.DataFrame
        the dataframe with the data
    dataIdentifier : DataIdentifier
        the identifier of the dataframe to be used
    """
    b_box = (getattr(dataframe, dataIdentifier.latitude).min(), 
            getattr(dataframe, dataIdentifier.latitude).max(), 
            getattr(dataframe, dataIdentifier.longitude).min(), 
            getattr(dataframe, dataIdentifier.longitude).max())
    return b_box