Helper function to process data and prepare polygons using preexisting parallel lines.
prepare_polygons(
data,
coastline,
coast_parallels = NULL,
column_names = c("lat", "lon", "dc")
)
List of polygons for visualization.
Data frame with coordinates.
Data frame with coastline.
List of data frames with lines parallel to the coast.
Vector with column names in coast_parallels data frames.