Skip to contents

Creates a map of offshore renewable development polygons and overlays coastlines for geographical context.

Usage

plot_ORDpoly(ORDpoly, title = "Coastline and ORD footprints")

Arguments

ORDpoly

An sf polygon object containing one or more offshore renewable development footprints, such as the object returned by get_example_ORDpoly().

title

Character string giving the plot title. Defaults to "Coastline and ORD footprints".

Value

A ggplot2::ggplot() object showing the offshore renewable development footprints and coastline.

Details

The plotting extent is calculated by transforming the ORD polygons to EPSG:3035, applying a 50-km buffer around their combined bounding box, and transforming the resulting extent to the coordinate reference system of the coastline data.

Coastlines are displayed in red and ORD footprints are displayed in blue.

Examples

# Load and plot the standard example ORD polygons
ORDpoly <- get_example_ORDpoly()
plot_ORDpoly(ORDpoly)


# Load and plot the density-dependence example
ORDpoly_dd <- get_example_ORDpoly("dd")
plot_ORDpoly(ORDpoly_dd)