Description Usage Arguments Value
View source: R/utility_functions.R
Finds (element-wise) the closest distance between a set of points and a set of features.
1 | get_closest_distance(points, features, check_dateline = TRUE)
|
points |
point data of class sfg, sfc, or sf |
features |
object of class sfg, sfc, or sf |
check_dateline |
boolean, whether or not to account for the possibility that the shortest distance is crossing the dateline. doubles the time it takes. |
A tibble with columns x, y, and value.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.