Make a region (area) of interest
make_aoi(
polygons,
filt_col = NULL,
filt_level = NULL,
is_regex = FALSE,
dissolve = TRUE,
buffer = FALSE,
bbox = FALSE,
clip = NULL,
clip_buf = 100,
buf_crs = 7845,
out_crs = 4326,
densify = 50000
)sf
Character name of column in polygons to filter on (or NULL
for no filter)
Character. Level(s) of filt_col to filter
Logical. Use filt_level as a regex?
Logical. Dissolve polygons via dplyr::summarise()?
Numeric (or FALSE). Distance to buffer in units of buf_crs
Logical. Return a bounding box around the result?
sf. If not null, this will be used to clip back the original
polygons +/- filtered +/- buffered +/- bbox. CHECK both CRS and clip_buf
Numeric (or FALSE). Distance to buffer clip in units of clip
EPSG code to use when buffering
EPSG code for coordinate system of result
Numeric. interval argument to terra::densify() which is
used before any polygon is transformed between coordinate reference systems.