OceanMask function

Mask of world oceans

Mask of world oceans

This dataset contains a polygon SpatVector (from terra). It can be used to mask large bodies of water. data

Format

A SpatVector object

Source

See example for details on how we created the dataset.

Examples

plot(OceanMask, col = "blue") ## How did we create this file? ## Uncomment the following to create the file as we did # if (require(terra)) { # worldlimit <- vect(ext(CountryBorders)) # crs(worldlimit) <- crs(CountryBorders) # OceanMask <- worldlimit - CountryBorders # #saveRDS(OceanMask, file = "IsoriX/inst/extdata/OceanMask.rds", compress = "xz") # }

See Also

  • CountryBorders for another polygon used to embellish the plots