Learn R Programming

chopin (version 0.9.4)

get_clip_ext: Setting the clipping extent

Description

Return clipping extent with buffer radius. It assumes the input CRS is projected and linear unit is meters.

Usage

get_clip_ext(pnts, radius, extrusion = 1.1)

Value

A terra::ext or sfc_POLYGON object of the computation extent.

Arguments

pnts

One of sf or SpatVector object. Target points of computation.

radius

numeric(1). Buffer radius. It is assumed to be in meters

extrusion

numeric(1). The extent extrusion factor. Default is 1.1, meaning that the actual padding is 10 percent wider than radius.

Author

Insang Song

See Also

Other Helper functions: datamod(), dep_check(), dep_switch(), par_def_q(), reproject_std(), reproject_to_raster()