returns world coastline at specified scale
Usage
ne_coastline(scale = 110, returnclass = c("sf", "sv"))
Value
An object of class `sf` for simple feature (from `sf`, the default) or `SpatVector` (from `terra`).
See also
ne_load
, pre-downloaded data are available using
ne_countries
, ne_states
. Other geographic data
are available in the raster package : getData
.
Examples
if (requireNamespace("rnaturalearthdata")) {
coast <- ne_coastline()
plot(coast)
}
#> Loading required namespace: rnaturalearthdata