makeCoastBuffer: Make a coastline buffer

Description Usage Arguments Value

View source: R/makeCoastBuffer.R

Description

Make a line that is parallel to the world's coastlines at a specific distance. See vignette("Smooth Coastline Data") for how these data were created for the package.

Usage

1
2
3
4
5
6
makeCoastBuffer(
  d = 300,
  units = "km",
  crs.to.use = "wintri",
  remove.holes = TRUE
)

Arguments

d

distance from the coastline

units

what units the distance is in

crs.to.use

name of the projection. must be one that the sp package recognizes

remove.holes

TRUE/FALSE. If TRUE (default), the interior polygons are removed

Value

a list with a SpatialPolygons, SpatialLines and dataframe object


UW-Upwelling-Project/imageryML documentation built on Dec. 18, 2021, 6:11 p.m.