convertEEZCountries: Convert Exclusive Economic Zones countries shapefile

Description Usage Arguments Details Value References Examples

View source: R/convertEEZCountries.R

Description

A previously downloaded file from http://www.marineregions.org/downloads.php#unioneezcountry is converted to a SpatialPolygonsDataFrame with additional columns of data. The resulting file will be created in the spatial data directory which is set with setSpatialDataDir().

Usage

1
convertEEZCountries(dsnPath = NULL, nameOnly = FALSE)

Arguments

dsnPath

Directory where EEZCountries .zip file is found.

nameOnly

Logical specifying whether to only return the name without creating the file.

Details

The dataset can be downloaded from http://www.marineregions.org/download_file.php?name=EEZ_land_union_v2_201410.zip by answering the questions and clicking "download".

Value

Name of the dataset being created.

References

http://www.marineregions.org/downloads.php#unioneezcountry

VLIZ (2014). Union of the ESRI Country shapefile and the Exclusive Economic Zones (version 2). Available online at http://www.marineregions.org/. Consulted on 2017-07-20.

Examples

1
2
3
4
## Not run: 
convertEEZCountries("~/Data/Spatial/EEZ_land_union_v2_201410.zip")

## End(Not run)

MazamaSpatialUtils documentation built on Sept. 29, 2019, 1:03 a.m.