faster_intersect: Faster Intersection by Indexing

View source: R/fun_spatial.R

faster_intersectR Documentation

Faster Intersection by Indexing

Description

This function performs a spatial intersection, but first performs a check to identify only the features that need clipping. Features completely outside the boundary are discarded, and those completely inside are kept as is.

Usage

faster_intersect(x, cliplayer)

Arguments

x

a simple features object

cliplayer

The layer used for clipping, also a simple features object

Value

A sf object clipped to the desired boundary


ecoservR/ecoserv_tool documentation built on April 5, 2025, 1:49 a.m.