Control processes associated to the function marine_area_overlay (consistent spatial marine area overlay for points, grids and polygons).

marine_area_overlay_control(
  data_longitude,
  data_latitude,
  overlay_expected,
  area_file_path,
  output
)

Arguments

data_longitude

character expected. Vector of longitude values.

data_latitude

character expected. Vector of latitude values.

overlay_expected

character expected. Type of overlay output. You can choose between "fao_area", "eez_area" or "ices_area".

area_file_path

character expected. File path of the area shape. You can provide a .shp or a .RData file.

output

character expected. Kind of expected output. You can choose between "message", "report" or "logical".

Examples

if (FALSE) { # \dontrun{
marine_area_overlay_control(data_longitude = as.character(c(1.09, 8.37, 19.35, -4.04, -4.54)),
                            data_latitude = as.character(c(2.47, -3.19, 24.55, 5.22, 49.73)),
                            overlay_expected = "ices_area",
                            area_file_path = "ICES_Statistical_Rectangles_Eco.RData",
                            output = "report")
} # }