land.points: Check of hauls position

Description Usage Arguments Details Value Author(s) Examples

View source: R/land.points.R

Description

The function checks whether the hauls coordinates is erroneously on the land.

Usage

1
land.points(TA, land=countries, verbose=TRUE)

Arguments

TA

data frame of the hauls data (TA, table A)

land

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

verbose

bulean parameter, if TRUE returns messages about the progress of the elaboration

Details

The function uses a polygon shapefile of lands as reference to assess whether the points of the hauls fall either on the land or on the sea.

Value

The function returns the data frame of the hauls coordinates that fall on the land

Author(s)

Walter Zupa

Examples

1
land.points(TA, land=countries, verbose=FALSE)

MEDITS documentation built on Dec. 23, 2019, 1:06 a.m.