MazamaSpatialUtils (version 0.6.4)

convertEEZCountries: Convert Exclusive Economic Zones countries shapefile

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

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.

Value

Name of the dataset being created.

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".

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

Run this code
# NOT RUN {
convertEEZCountries("~/Data/Spatial/EEZ_land_union_v2_201410.zip")
# }

Run the code above in your browser using DataLab