Description Usage Arguments Details References Examples
Given a list of geographic coordinates in marine areas of the world, determines the geographical name of the sea, ocean, bay, gulf, fjord, etc. were each one of the points is located. Uses a SpatialPolygonsDataFrame with 10 m precision containing the polygons and sea names, which covers most of the marine territories on Earth.
1 | get_sea(icoords)
|
icoords |
data frame with three columns: id | lon | lat where: 'id' is the row identifier for the coordinates in the original list of coordinates, 'lon' is the longitude in the range (-180, +180) and 'lat' is the latitude. Both coordinates are in decimal degrees. |
Input:
The output of get_country
- 'miss_countries' -,
or the output of get_country_shoreline
, -
'miss_countries_sh' -, i.e., a data frame with three columns:
id | lon | lat.
Output:
A text file with the points for which a sea name was determined, if they exist. That file has the following header: id | lon | lat | sea.
A text file with the missing sea names, if they exist.
A .RData file with the output data frame(s). The data frame 'seas' has the header id | lon | lat | sea. The eventual data frame 'miss_seas' has the header id | lon | lat.
Made with Natural Earth. Free vector and raster map data @ naturalearthdata.com.
1 2 3 4 5 6 7 8 9 10 11 | ## Not run:
## First run
get_lon180(coords = ispd)
## Or
test_geocoord(coords = eraclim_uao_fp)
## Then run sequentially
get_country(icoords = coords_ok)
get_country_shoreline(icoords = miss_countries, tol)
get_sea(icoords = miss_countries_sh)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.