
Complete a spatial join using a simple feature objects or an object and list
Source:R/st_join_ext.R
st_join_ext.RdWrapper for sf::st_join() that works with sf lists.
Arguments
- x
A
sf,sfc, orbboxobject.- y
An
sfobject with a column named "name" or a list of sf objects where all items in the list have a "name" column.- col
Column name used to convert y into a
sflist if it is not already.- .id
Column name with the values that should be added as a column to the input
sfobject.- join
geometry predicate function; defaults to
NULL, set tosf::st_intersects()if y contains only POLYGON or MULTIPOLYGON objects orsf::st_nearest_feature()if y contains other types.- ...
Additional parameters passed to
sf::st_join()