Mask of world oceans
This dataset contains a polygon shapefile that can be used to mask large bodies of water.
A SpatialPolygons object
This SpatialPolygons is derived from the
CountryBorders. See example for details on how we created the
dataset.
CountryBorders for another polygon shapefile used to
embellish the plots
if(require(sp)) {
plot(OceanMask, col='blue')
}
## How did we create this file?
## Uncomment the following to create the file as we did
#if(require(raster) & require(rgeos)){
# worldlimit <- as(extent(CountryBorders), "SpatialPolygons")
# proj4string(worldlimit) <- crs(CountryBorders)
# OceanMask <- gDifference(worldlimit, CountryBorders)
# OceanMask
# save(OceanMask, file = "OceanMask.rda", compress = "xz")
#}Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.