View source: R/extract_gshhg.R
Functions to extract specified regions from the GSHHG dataset
This map region is centered on the Bering Sea. Coordinates are returned in the Lambert-Azimuthal Equal Area Bering Sea Projection (epsg:3571)
This map region covers the extent of Alaska. Coordinates are returned in the Alaska Albers Projection (epsg:3338)
This map region covers the US Arctic region centered on northern Alaska. The region extends into the Russian East Siberian Sea and the Eastern Beaufort Sea of Canada. Coordinates are returned in the Lambert-Azimuthal Equal Area Alaska Projection (epsg:3572).
This map region covers the entire North Pacific Ocean from Hawaii in the south to the Bering Sea in the north. Coordinates are returned in the PDC Mercator Projection (epsg:3832)
This map region covers the California current off of the west coast of the United States. The region extends from southern British Columbia, Canada to the Baja Peninsula of Mexico. Coordinates are returned in the California (Teale) Albers Projection (epsg:3310).
This map region covers the extent of Hawaii. Coordinates are returned in the WGS 84 / Pseudo-Mercator – Spherical Mercator (epsg:3857)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | extract_gshhg(
data,
resolution = "i",
epsg = NULL,
buffer = 5000,
simplify = FALSE,
warn = FALSE
)
bering(resolution = "i", epsg = 3571, simplify = FALSE)
alaska(resolution = "i", epsg = 3338, simplify = FALSE)
us_arctic(resolution = "i", epsg = 3572, simplify = FALSE)
npac(resolution = "i", epsg = 3832, simplify = FALSE)
calcur(resolution = "i", epsg = 3310, simplify = FALSE)
hawaii(resolution = "i", epsg = 3857, simplify = FALSE)
|
data |
an sf object that defines that area of interest |
resolution |
either "f", "h", "i", or "c" |
epsg |
integer indicating the numeric epsg value (e.g. 3571) |
buffer |
integer indicating a value in projected units to buffer data |
simplify |
TRUE/FALSE whether to call rmapshaper::ms_simplify |
warn |
TRUE/FALSE turn off projection warnings given by spatial functions. These warnings can generally be ignored. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.