Return clipping extent with buffer radius. It assumes the input CRS is projected and linear unit is meters.
get_clip_ext(pnts, radius, extrusion = 1.1)
A terra::ext
or sfc_POLYGON object of the computation extent.
One of sf or SpatVector object. Target points of computation.
numeric(1). Buffer radius. It is assumed to be in meters
numeric(1). The extent extrusion factor.
Default is 1.1, meaning that the actual padding is 10 percent
wider than radius
.
Insang Song
Other Helper functions:
datamod()
,
dep_check()
,
dep_switch()
,
par_def_q()
,
reproject_std()
,
reproject_to_raster()