MazamaSpatialUtils (version 0.6.4)

convertSimpleCountriesEEZ: Convert (Simple) World Borders Shapefile

Description

Returns a SpatialPolygonsDataFrame for a simple world divisions

Usage

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

Value

Name of the dataset being created.

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.

References

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

See Also

setSpatialDataDir

getCountry, getCountryCode