Returns a SpatialPolygonsDataFrame for a simple world divisions
convertSimpleCountriesEEZ(dsnPath = NULL, nameOnly = FALSE)
directory where EEZCountries .zip file is found
logical specifying whether to only return the name without creating the file
Name of the dataset being created.
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.
setSpatialDataDir
getCountry, getCountryCode