Skip to contents

Define an area of interest (AoI) from a bounding box and a coordinate reference system (CRS).

Usage

define_aoi(bb, crs, buffer_dist = 0)

Arguments

bb

A bounding box as a matrix with 4 elements: xmin, ymin, xmax, ymax

crs

A coordinate reference system as an epsg code, e.g. 4326 for WGS84

buffer_dist

A numeric value to buffer the area of interest

Value

An area of interest as a simple feature geometry