However, the difference is that while the sf data frame has a geometry column and another geometry can be used to subset the data frame by row, for SFE, a geometry can be used to subset either rows or columns, though primarily columns. What I want is something more like x[, y, op = st_intersects]. This is a shorthand of something like crop(x, y, colGeometryName = 1L, keep_whole_cg = TRUE) which doesn't crop away the colGeometry items at the boundary (code as in devel version). Burning question though: should rowGeometries, annotGeometries, and images be cropped after subsetting by some colGeometry, as in the crop function?
Like described here: https://r.geocompx.org/spatial-operations#spatial-subsetting
However, the difference is that while the
sf
data frame has a geometry column and another geometry can be used to subset the data frame by row, for SFE, a geometry can be used to subset either rows or columns, though primarily columns. What I want is something more likex[, y, op = st_intersects]
. This is a shorthand of something likecrop(x, y, colGeometryName = 1L, keep_whole_cg = TRUE)
which doesn't crop away thecolGeometry
items at the boundary (code as in devel version). Burning question though: shouldrowGeometries
,annotGeometries
, and images be cropped after subsetting by somecolGeometry
, as in thecrop
function?