clip_rgeos: Use intersect_rgeos() to clip spatial points or polygons data...

View source: R/spatial_manipulation.R

clip_rgeosR Documentation

Use intersect_rgeos() to clip spatial points or polygons data frames

Description

Spatially restrict spatial points or polygons data frames without losing any information (other than the excluded geometry).

Usage

clip_rgeos(x, clip_polygons, verbose = FALSE, scale = 1e+05)

Arguments

x

Spatial points or polygons data frame. The geometry to restrict.

clip_polygons

Spatial polygons data frame. The geometry to restrict x to.

scale

Numeric. A value to be passed to rgeos::setScale() to use for the steps of this function. It will be returned to the previous value before the function returns its output. Defaults to 1e5 (precision to five decimal places).


nstauffer/aim.analysis documentation built on Nov. 2, 2023, 12:52 a.m.