Skip to contents

Build an extent surrinding by location point (longitude, latitude) based on a width and height.

Usage

aoi_ext(
  geo = NULL,
  xy = NULL,
  wh = NULL,
  units = default_units,
  crs = default_crs,
  bbox = FALSE
)

Arguments

geo

an origion specificed by a name

xy

a orign specified as a numeric vector

wh

width and height (can be a single number) in units (see units arg)

units

units of wh expansion

crs

output crs

bbox

return bbox object?

Value

vector or sf object