Learn R Programming

⚠️There's a newer version (2.2.0) of this package.Take me there.

ggOceanMaps (version 1.3.4)

Plot Data on Oceanographic Maps using 'ggplot2'

Description

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 shapefiles stored in the 'ggOceanMapsData' package, geospatial packages for R to manipulate, and the 'ggspatial' package to help to plot these shapefiles. High-resolution shapefiles for detailed maps are stored on GitHub and downloaded automatically when needed.

Copy Link

Version

Install

install.packages('ggOceanMaps')

Monthly Downloads

615

Version

1.3.4

License

GPL-3

Maintainer

Mikko Vihtakari

Last Published

September 26th, 2022

Functions in ggOceanMaps (1.3.4)

convert_crs

convert_crs, system specific epsg code string formating for CRS.
auto_limits

Automatic limits for basemap
FS

Convert font sizes measured as points to ggplot font sizes
LS

Convert line sizes measured as points to ggplot line sizes
dd_to_deg

Convert decimal degree values to angular degrees
define_shapefiles

Define a shapefile to use in plotting from the limits argument
basemap

Create a ggplot2 basemap for plotting variables
fdir_sub_areas

Norwegian sub-areas (lokasjon) for commercial fishing
geonorge_bathymetry

Open Geonorge bathymetry shapefiles
basemap_data

Create basemapData object for basemap plotting
clip_shapefile

Clip a shapefile (SpatialPolygon) using a bounding area
deg_to_dd

Convert angular degrees to decimal degree values
getCores

Pick a suitable number of cores
dist2land

Calculate distance to the closest land for coordinates in a data frame
guess_coordinate_columns

Guess longitude and latitude columns in a data frame
is_decimal_limit

Test whether a limit argument is specified as decimal degrees.
reorder_layers

Move basemap land, glacier and grid layers on top of other ggplot layers
fdir_main_areas

Major fisheries areas (hovedomraade) of Norway
load_map_data

Load large shapefile objects
ggOceanMaps-package

Plot Data on Oceanographic Maps using ggplot2
quiet

Return function output quietly
round_any

Round to multiple of any number
select_element

Select an element of each vector from a list
vector_bathymetry

Create a polygon bathymetry from a raster bathymetry file
raster_bathymetry

Simplify a bathymetry raster ready for vectorization
theme_map

A ggplot2 theme for maps
transform_coord

Transform spatial coordinates to another projection
shapefile_list

A list of pre-made shapefiles for basemap
ices_areas

ICES Advisory Areas
map_cmd

Return map elements for basemap
qmap

Quick map