powered by
Compute information for assigning points to the vertices of the covering triangle
fm_vertex_projection(points, mesh)
SpatialPointsDataFrame, sf, tibble, or list of mesh vertices with projected data attached
SpatialPointsDataFrame
sf
tibble
list
A SpatialPointsDataFrame, sf, tibble, or list object
An fm_mesh_2d object
fm_mesh_2d
head(fm_vertex_projection(list(loc = fmexample$loc), fmexample$mesh)) head(fm_vertex_projection(fmexample$loc_sf, fmexample$mesh))
Run the code above in your browser using DataLab