get_sea: Determines Sea Names for Points Located in a Marine Area.

Description Usage Arguments Details References Examples

View source: R/6_get_sea.R

Description

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.

Usage

1
get_sea(icoords)

Arguments

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.

Details

Input:

Output:

References

Made with Natural Earth. Free vector and raster map data @ naturalearthdata.com.

Examples

 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)

mcmventura/stlocationqc documentation built on May 24, 2019, 11:43 p.m.