thesixmax / polygoneR

Manipulate polygon and linestring data in R
https://thesixmax.github.io/polygoneR/
GNU General Public License v3.0
2 stars 1 forks source link

polyg_nearest_node() exits unexpectedly when no leaf nodes exists #3

Closed thesixmax closed 1 year ago

thesixmax commented 2 years ago

Should be solved by adding a check for whether the points input is an empty sf object.

thesixmax commented 1 year ago

Solved in 3319e4b9e983a4260f345692a1f1a6e623016246