Plot Data on Oceanographic Maps using 'ggplot2'
Automatic limits for basemap
Create basemapData object for basemap plotting
Create a ggplot2 basemap for plotting variables
Clip a shapefile using a bounding area
Create clip boundary from decimal degree limits
Convert decimal degree values to angular degrees
Define bathymetry style for basemap
Define a shapefile to use in plotting from the limits argument
Convert angular degrees to decimal degree values
Calculate distance to the closest land for coordinates
Major fisheries areas (hovedomraade) of Norway
Norwegian sub-areas (lokasjon) for commercial fishing
Convert font sizes measured as points to ggplot font sizes
Open Geonorge bathymetry shapefiles
Extract depth for coordinates from a raster bathymetry dataset
Plot Data on Oceanographic Maps using ggplot2
Guess longitude and latitude columns in a data frame
Test whether a limit argument is specified as decimal degrees.
Load large shapefile objects
Convert line sizes measured as points to ggplot line sizes
Return map elements for basemap
Quick map
Return function output quietly
Simplify a bathymetry raster ready for vectorization
Move basemap land, glacier and grid layers on top of other ggplot la...
Rotate CRS
Round to multiple of any number
Select an element of each vector from a list
A list of pre-made shapefiles for basemap
A ggplot2 theme for maps
Transform spatial coordinates to another projection
Create a polygon bathymetry from a raster bathymetry file
Allows plotting data on bathymetric maps using 'ggplot2'. Plotting oceanographic spatial data is made as simple as feasible, but also flexible for custom modifications. Data that contain geographic information from anywhere around the globe can be plotted on maps generated by the basemap() or qmap() functions using 'ggplot2' layers separated by the '+' operator. The package uses spatial shape- ('sf') and raster ('stars') files, geospatial packages for R to manipulate, and the 'ggplot2' package to plot these files. The package ships with low-resolution spatial data files and higher resolution files for detailed maps are stored in the 'ggOceanMapsLargeData' repository on GitHub and downloaded automatically when needed.
Useful links