A package compiling shapefiles from the German North Sea.
The goal is provide easy access to shapefiles of the North Sea.
This package contains shapefiles from the German North
Sea:
Shapefiles are provided in CRS 3035 and can be transformed to CRS 4326.
# install.packages("devtools")
devtools::install_github("MiriamLL/GermanNorthSea")
library(GermanNorthSea)
To download the original data go to: DIVA-GIS
Select the country and Administrative areas.
Germany<-GermanNorthSea::Germany
German_land<-GermanNorthSea::German_land
To download the original data go to EMODnet>Select wind farms in the map.
Select Other Forms of Area Management/Designation>Click on the download icon on Exclusive Economic Zone.
Select Download Data, Select the country, and the Sector, and the Link should be ready to download.
German_EEZ<-GermanNorthSea::German_EEZ
German_coast<-GermanNorthSea::German_coast
To download the original data go to ICES rectangles
Click
on Quick Downloads> select ICES Statistical
Rectangles.
German_ICES<-GermanNorthSea::German_ICES
ggplot2::ggplot(German_ICES)+
ggplot2::geom_sf(data = German_ICES, colour = "#3d6d22", fill= '#3d6d22',alpha=0.2, lwd = 1)+
ggplot2::geom_sf_text(ggplot2::aes(label =ICESNAME),size=3,family="sans")+
ggplot2::coord_sf(xlim = c(3790000,4250000), ylim = c(3350000,3680000),
label_axes = list(top = "E", left = "N", bottom = 'E', right='N'))
To download the original data go to GeoSeaPortal
The zip contains several shapefiles including NatureConservation
German_natura<-GermanNorthSea::German_natura
Other option for Natura 2000 shapefiles is Europen Environment Agency
This file contains a more complete data from the natura 2000 sites.
For using the SCA (Special Conservation Areas) in Germany.
German_SCA<-GermanNorthSea::German_SCA
ggplot2::ggplot()+
ggplot2::geom_sf(data = German_natura, colour = "#3d6d22", fill= '#3d6d22',alpha=0.2, lwd = 1)+
ggplot2::geom_sf(data = German_SCA, colour = "#3d6d22", fill= '#3d6d22',alpha=0.2, lwd = 1)+
ggplot2::coord_sf(xlim = c(3790000,4250000), ylim = c(3350000,3680000),
label_axes = list(top = "E", left = "N", bottom = 'E', right='N'))
To download the original data go to GeoSeaPortal The zip contains several shapefiles including Shipping
German_Shipping<-GermanNorthSea::German_Shipping
To download the original data go to GeoSeaPortal. The zip contains several shapefiles including ‘OffshoreWindEnergy’
German_OWF<-GermanNorthSea::German_OWF
To download the original data go to EMODnet. Select human activities
OWF_EMODnet<-GermanNorthSea::OWF_EMODnet
To visualize the maps use ggplot and ggspatial.
German_land<-GermanNorthSea::German_land
German_EEZ<-GermanNorthSea::German_EEZ
German_coast<-GermanNorthSea::German_coast
ggplot() +
geom_sf(data = German_EEZ, colour = "red", fill= NA,alpha=0.9, lwd = 0.5)+
geom_sf(data = German_coast, colour = "red", fill= NA,alpha=0.9, lwd = 0.5,linetype="dashed")+
geom_sf(data = German_land, colour = 'black', fill = '#ffffbe')+
annotation_north_arrow(location ="bl", which_north = "true",
pad_x = unit(0.05, "in"),
pad_y = unit(0.05, "in"),
style = north_arrow_fancy_orienteering)+
theme(
legend.spacing.y = unit(0.05, 'cm'),
legend.text=element_text(size=10),
legend.background = element_rect(fill='transparent',colour ="transparent"),
legend.box.background = element_rect(fill='transparent',colour ="transparent"),
legend.key = element_rect(fill = "transparent", colour = "transparent"),
panel.background = element_rect(fill = '#bde0fe'))+
xlab('Longitude')+ylab('Latitude')+
theme(panel.border = element_rect(colour = "black", fill=NA, size=1.5))+
coord_sf(xlim = c(3900000,4250000), ylim = c(3350000,3680000),
label_axes = list(top = "E", left = "N", bottom = 'E', right='N'))
German_ICES<-GermanNorthSea::German_ICES
ggplot(ICES_rectangles)+
geom_sf(data = ICES_rectangles, colour = "#14213d", fill= NA, alpha=0.2, lwd = 0.1)+
geom_sf_text(aes(label=ICESNAME),size=3,family="sans")+
geom_sf(data = German_EEZ, colour = "red", fill= NA,alpha=0.9, lwd = 0.5)+
geom_sf(data = German_coast, colour = "red", fill= NA,alpha=0.9, lwd = 0.5,linetype="dashed")+
geom_sf(data = German_land, colour = 'black', fill = '#ffffbe')+
annotation_north_arrow(location ="bl", which_north = "true",
pad_x = unit(0.05, "in"),
pad_y = unit(0.05, "in"),
style = north_arrow_fancy_orienteering)+
theme(
legend.spacing.y = unit(0.05, 'cm'),
legend.text=element_text(size=10),
legend.background = element_rect(fill='transparent',colour ="transparent"),
legend.box.background = element_rect(fill='transparent',colour ="transparent"),
legend.key = element_rect(fill = "transparent", colour = "transparent"),
panel.background = element_rect(fill = '#bde0fe'))+
xlab('Longitude')+ylab('Latitude')+
theme(panel.border = element_rect(colour = "black", fill=NA, size=1.5))+
coord_sf(xlim = c(3900000,4250000), ylim = c(3350000,3680000),
label_axes = list(top = "E", left = "N", bottom = 'E', right='N'))
German_natura<-GermanNorthSea::German_natura
German_natura$Abbreviations<-c('SOR','BR','DB')
ggplot(German_natura) +
geom_sf(data = German_EEZ, colour = "red", fill= NA,alpha=0.9, lwd = 0.5)+
geom_sf(data = German_coast, colour = "red", fill= NA,alpha=0.9, lwd = 0.5,linetype="dashed")+
geom_sf(data = German_land, colour = 'black', fill = '#ffffbe')+
geom_sf(data = German_natura, colour = "#3d6d22", fill= '#3d6d22',alpha=0.2, lwd = 0.5)+
geom_sf_text(aes(label=Abbreviations),size=3,family="sans")+
annotation_north_arrow(location ="bl", which_north = "true",
pad_x = unit(0.05, "in"),
pad_y = unit(0.05, "in"),
style = north_arrow_fancy_orienteering)+
theme(
legend.spacing.y = unit(0.05, 'cm'),
legend.text=element_text(size=10),
legend.background = element_rect(fill='transparent',colour ="transparent"),
legend.box.background = element_rect(fill='transparent',colour ="transparent"),
legend.key = element_rect(fill = "transparent", colour = "transparent"),
panel.background = element_rect(fill = '#bde0fe'))+
xlab('Longitude')+ylab('Latitude')+
theme(panel.border = element_rect(colour = "black", fill=NA, size=1.5))+
coord_sf(xlim = c(3900000,4250000), ylim = c(3350000,3680000),
label_axes = list(top = "E", left = "N", bottom = 'E', right='N'))
OWF_EMODnet<-GermanNorthSea::OWF_EMODnet
ggplot(OWF_EMODnet)+
geom_sf(data = German_EEZ,colour = "red", fill= NA,alpha=0.9, lwd = 0.5)+
geom_sf(data = German_coast,colour = "red", fill= '#bde0fe',alpha=0.9, lwd = 0.5,linetype="dashed")+
geom_sf(data = German_land, colour = 'black', fill = '#ffffbe')+
geom_sf(data = German_natura, colour = "#3d6d22", fill= '#3d6d22',alpha=0.2, lwd = 0.5)+
geom_sf(data = OWF_EMODnet, aes(fill= STATUS), colour = "grey",alpha=0.9, size=0.5)+
scale_fill_manual(values = c("yellow", "blue", "green"))+
coord_sf(xlim = c(3790000,4250000), ylim = c(3350000,3680000),
label_axes = list(top = "E", left = "N", bottom = 'E', right='N'))+
theme(legend.position = 'bottom')
German_Shipping<-GermanNorthSea::German_Shipping
ggplot(German_Shipping)+
geom_sf(data = German_EEZ,colour = "red", fill= NA,alpha=0.9, lwd = 0.5)+
geom_sf(data = German_coast,colour = "red", fill= '#bde0fe',alpha=0.9, lwd = 0.5,linetype="dashed")+
geom_sf(data = German_land, colour = 'black', fill = '#ffffbe')+
geom_sf(data = German_natura, colour = "#3d6d22", fill= '#3d6d22',alpha=0.2, lwd = 0.5)+
geom_sf(data = German_Shipping, aes(fill= Type), colour = "grey",alpha=0.9, size=0.5)+
scale_fill_manual(values = c("blue", "deepskyblue", "turquoise"))+
coord_sf(xlim = c(3790000,4250000), ylim = c(3350000,3680000),
label_axes = list(top = "E", left = "N", bottom = 'E', right='N'))+
theme(legend.position = 'bottom')
For using other CRS, you can use the function st_transform from the package sf.
German_EEZ<-st_transform(German_EEZ, 4326)
German_coast<-st_transform(German_coast, 4326)
German_land<-st_transform(German_land, 4326)
German_natura<-st_transform(German_natura, 4326)
ggplot()+
geom_sf(data = German_EEZ, colour = "red", fill= NA,alpha=0.9, lwd = 0.5)+
geom_sf(data = German_coast, colour = "red", fill= NA,alpha=0.9, lwd = 0.5,linetype="dashed")+
geom_sf(data = German_land, colour = 'black', fill = '#ffffbe')+
geom_sf(data = German_natura, colour = "#3d6d22", fill= '#3d6d22',alpha=0.2, lwd = 0.5)+
ggspatial::annotation_north_arrow(location ="bl", which_north = "true",
pad_x = unit(0.05, "in"),
pad_y = unit(0.05, "in"),
style = north_arrow_fancy_orienteering)+
theme(
legend.spacing.y = unit(0.05, 'cm'),
legend.text=element_text(size=10),
legend.background = element_rect(fill='transparent',colour ="transparent"),
legend.box.background = element_rect(fill='transparent',colour ="transparent"),
legend.key = element_rect(fill = "transparent", colour = "transparent"),
panel.background = element_rect(fill = '#bde0fe'))+
xlab('Longitude')+ylab('Latitude')+
theme(panel.border = element_rect(colour = "black", fill=NA, size=1.5))+
coord_sf(xlim = c(3,9), ylim = c(53,56),
label_axes = list(top = "E", left = "N", bottom = 'E', right='N'))
For referencing the shapefiles please use the original resources and links provided in this post.