filter_spatial: filter_spatial

filter_spatialR Documentation

filter_spatial

Description

A slightly more convenient version of sf::st_filter(). It does the job of reprojecting the second object to the same CRS as the first, if that's needed.

Usage

filter_spatial(x, y, FUN = st_intersects, ..., verbose = getOption("verbose"))

Arguments

x

object to be filtered

y

object to filter with

FUN

(function) a spatial predicate, for example: sf::st_intersects()

...

further arguments to sf::st_filter()

verbose

(logical)

Value

(typically) a subset of x


BAAQMD/geotools documentation built on Feb. 29, 2024, 5:44 a.m.