get.boundingBox: get a rectagular bounding box from a set of coordinates

Description Usage Arguments Details Value Author(s) Examples

View source: R/General_Utils.R

Description

finds the (rectangular) bounding box given decimal latitudes and longitudes

Usage

1
get.boundingBox(latitudes, longitudes)

Arguments

latitudes

numeric vector. one ore more decimal latitude values

longitudes

numeric vector. one ore more decimal longitude values

Details

Documenting data with metadata on an Integrated Publishing Toolkit (IPT) typically requires a bounding box to simplify the goegraphic content of the dataset. This function is made to quickly calculate this.

Value

a character string with the boundingbox printed to the console

Author(s)

Maxime Sweetlove

Examples

1
get.boundingBox(c(22.4, 23.7), c(98.7, -44.7))

biodiversity-aq/OmicsMetaData documentation built on Dec. 19, 2021, 9:44 a.m.