geonorge_bathymetry: Open Geonorge bathymetry shapefiles

View source: R/geonorge_bathymetry.R

geonorge_bathymetryR Documentation

Open Geonorge bathymetry shapefiles

Description

Opens and formats Geonorge bathymetry shapefiles ready for plotting in ggOceanMaps

Usage

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

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.

Details

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

Value

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

Author(s)

Mikko Vihtakari

See Also

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


ggOceanMaps documentation built on May 29, 2024, 5:36 a.m.