spatial intersect predicate for stars and sfc object
Usage
# S3 method for class 'stars'
st_intersects(x, y, sparse = TRUE, ..., as_points = NA, transpose = FALSE)
Arguments
- x
object of class stars
- y
object that has an `st_geometry` method: of class `sf` or `sfc`, or `stars` object with an `sfc` dimension
- sparse
logical; if TRUE, return the a sparse logical matrix (object of class `sgbp`), if FALSE, return a logical matrix
- ...
ignored, or passed on to `st_intersects.sf` for curvilinear grids
- as_points
logical, should grid cells be considered as points (TRUE) or polygons (FALSE)? Default: FALSE and warning emitted
- transpose
logical; should the transpose of the `sgbp` object be returned?