def csv_line_to_feature_parameters(row_mapping, row):
    """
    Given a row mapping and a csv row, returns the needed parameters for a geojson feature:
    lat, lng, title, description

    as a list.
    :param row_mapping:
    :param row:
    :return:
    """
    returned = list()
    returned.append(row[row_mapping["stop_lat"]])
    returned.append(row[row_mapping["stop_lon"]])
    returned.append(row[row_mapping["stop_name"]])
    returned.append(row[row_mapping["stop_desc"]])
    return returned