square_bbox: Generate a square bounding box

Description Usage Arguments Value Examples

View source: R/square_bbox.R

Description

Generate a square bounding box

Usage

1
square_bbox(x, ext = 1.1, output = "bbox")

Arguments

x

Data to create bounding box for

ext

Extension factor of the bounding box (relative to the data in x). A value greater than 1 means the bounding box will be larger than the bounds of the data, and a value less than 1 means the bounding box will be smaller.

output

Type of output. Defaults to "bbox"

Value

A bounding box

Examples

1
2
bcu <- readRDS(here::here("data", "bcus_list.rds"))[["Singapore"]]
square_bbox(bcu)

WCS-Marine/local-reef-pressures documentation built on Feb. 13, 2022, 9:26 a.m.