convertSimpleCountriesEEZ: Convert (Simple) World Borders Shapefile

Description Usage Arguments Details Value Note References See Also

View source: R/convertSimpleCountriesEEZ.R

Description

Returns a SpatialPolygonsDataFrame for a simple world divisions

Usage

1
convertSimpleCountriesEEZ(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

A previously downloaded world borders shapefile is converted to a SpatialPolygonsDataFrame with additional columns of data. The resulting file will be saved in the data/ directory. 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".

The SimpleCountriesEEZ shapefile is the same as the EEZCountries shapefile. Polygons for coastal countries include a 200 mile buffer, corresponding to their Exclusive Economic Zones, so this shapefile is especially suited for spatial searches. This is the default dataset used in getCountry() and getCountryCode(). Users may wish to use a higher resolution dataset when plotting.

Value

Name of the dataset being created.

Note

This is a non-exported function used only for updating the package dataset.

References

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

See Also

setSpatialDataDir

getCountry, getCountryCode


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