if (FALSE) {
library(sf)
area <- sf::st_as_sf(sf::st_sfc(
sf::st_polygon(list(cbind(
c(4498482, 4498482, 4499991, 4499991, 4498482),
c(2668272, 2669343, 2669343, 2668272, 2668272)
))),
crs = 3035
))
plot_windfarmGA(resulthex, area)
plot_windfarmGA(resultrect, area, which_plot = "progress")
}
Run the code above in your browser using DataLab