sp_filter: Function to filter a spatial object by another spatial object...

View source: R/sp_filter.R

sp_filterR Documentation

Function to filter a spatial object by another spatial object (usually a spatial polygon).

Description

Both spatial objects must have identical projection systems and this is tested before filtering.

Usage

sp_filter(sp, sp_boundary)

Arguments

sp

Spatial object to be filtered.

sp_boundary

Usually a spatial polygon to be used as the filtering element for sp.

Value

Filtered version of sp.

Author(s)

Stuart K. Grange

See Also

sp_crop, sp_intersect


skgrange/gissr documentation built on Feb. 24, 2024, 2:55 p.m.