match_closest_pt_rtree: Find closest point between to spatial point objects using...

Description Usage Arguments Value

View source: R/match_closest_pt_rtree.R

Description

Find closest point between to spatial point objects using rtree spatial indexing

Usage

1
match_closest_pt_rtree(sf1, sf2, return_distance = TRUE, k = 1)

Arguments

sf1

simple feature 1 (point)

sf2

simple feature 2 (point).

return_distance

return the closest point with a vector indicating distance (m). Default = TRUE

Value

sf1 with closest record from sf2 attached.


zackarno/butteR documentation built on May 8, 2021, 4:50 p.m.