Opens and formats Geonorge bathymetry shapefiles ready for plotting in ggOceanMaps
geonorge_bathymetry(filepath, layer = NULL, verbose = FALSE, output.sf = FALSE)
An sf or sp
object containing the depth polygons. Uses same projection than bathy
(see CRS
).
Character string defining the path to the .gml
file. Must contain the file extension.
Character string defining the layer containing depth information. If NULL
assumed to be "dybdeareal".
Logical indicating whether information the reading process should be returned.
Logical indicating whether an sf
(TRUE
) or sp
polygon should be returned.
Mikko Vihtakari
You can download the bathymetry polygon shapefiles from Geonorge. Download the file in GLM
format.
Other create shapefiles:
clip_shapefile()
,
raster_bathymetry()
,
vector_bathymetry()