def generate_coordinate_list(min_coordinate, max_coordinate, num_box):
    """
    This function takes in a pair of coordinates (either from the latitude or longitude) and breaks the entire range
    into multiple intervals, whereby each interval is the size of one side of the query box. The coordinates marking
    each interval is then stored in a list and returned as an output.
    """
    query_range = max_coordinate - min_coordinate
    query_interval_length = query_range / num_box

    coordinate_list = []
    coordinate = min_coordinate
    for i in range(int(num_box) + 1):
        coordinate_list.append(coordinate)
        coordinate += query_interval_length

    return coordinate_list