Skip to contents

This function constructs a Well-Known Text (WKT) string representing a polygon that outlines the specified boundaries. It is used to define the area of interest for downloading GBIF data through the rgbif::pred_within() function.

Usage

DownBoundary(Left = NULL, Right = NULL, Bottom = NULL, Top = NULL)

Arguments

Left, Right, Bottom, Top

Numeric, the left, right, bottom, and top boundary of the area.

Value

A character string representing the WKT of the polygon that outlines the specified boundaries.

Author

Ahmed El-Gabbas

Examples

IASDT.R::DownBoundary(Left = 20, Right = 30, Bottom = 40, Top = 50)
#> [1] "POLYGON((20 40,30 40,30 50,20 50,20 40))"