Learn R Programming

ggOceanMaps (version 2.2.0)

geonorge_bathymetry: Open Geonorge bathymetry shapefiles

Description

Opens and formats Geonorge bathymetry shapefiles ready for plotting in ggOceanMaps

Usage

geonorge_bathymetry(filepath, layer = NULL, verbose = FALSE)

Value

An sf object containing the depth polygons. Uses same projection than bathy (see CRS).

Arguments

filepath

Character string defining the path to the .gml file. Must contain the file extension.

layer

Character string defining the layer containing depth information. If NULL assumed to be "dybdeareal".

verbose

Logical indicating whether information the reading process should be returned.

Author

Mikko Vihtakari

Details

You can download the bathymetry polygon shapefiles from Geonorge. Download the file in GLM format.

See Also

Other create shapefiles: clip_shapefile(), raster_bathymetry(), vector_bathymetry()