filter_spatial | R Documentation |
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.
filter_spatial(x, y, FUN = st_intersects, ..., verbose = getOption("verbose"))
x |
object to be filtered |
y |
object to filter with |
FUN |
(function) a spatial predicate, for example: |
... |
further arguments to |
verbose |
(logical) |
(typically) a subset of x
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.