Learn R Programming

CCAMLRGIS (version 3.0.7)

load_EEZs: Load Exclusive Economic Zones

Description

Download the up-to-date spatial layer from the online CCAMLRGIS and load it to your environment. See examples for offline use. All layers use the Lambert azimuthal equal-area projection (EPSG:6932; CRS:+proj=laea +lat_0=-90 +lon_0=0 +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs)

Usage

load_EEZs()

Arguments

See Also

load_ASDs, load_SSRUs, load_RBs, load_SSMUs, load_MAs, load_Coastline, load_MPAs.

Examples

Run this code
# NOT RUN {
 
# }
# NOT RUN {
#When online:
EEZs=load_EEZs()
plot(EEZs)

#If going offline in the future: load and save as RData when online,
# then reload RData when offline:
MPAs=load_MPAs()
EEZs=load_EEZs()
save(list=c('MPAs','EEZs'), file = file.path(tempdir(), "CCAMLRLayers.RData"))
rm(MPAs,EEZs)
load(file.path(tempdir(), "CCAMLRLayers.RData"))

# }
# NOT RUN {
# }

Run the code above in your browser using DataLab