get_closest_distance: get_closest_distance

Description Usage Arguments Value

View source: R/utility_functions.R

Description

Finds (element-wise) the closest distance between a set of points and a set of features.

Usage

1
get_closest_distance(points, features, check_dateline = TRUE)

Arguments

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.

Value

A tibble with columns x, y, and value.


prio-data/priogrid documentation built on June 28, 2021, 5:34 a.m.