k-Nearest Neighbor Join for Spatial Data
nngeo: k-Nearest Neighbor Join for Spatial Data
Calculate the azimuth between pairs of points
Create lines between features of two layers
Calculate ellipse polygon
Nearest Neighbor Search for Simple Features
Send 'sf' layer to a PostGIS query
Remove polygon holes
Split polygons or lines to segments
K-nearest neighbor search for projected and non-projected 'sf' spatial layers. Nearest neighbor search uses (1) C code from 'GeographicLib' for lon-lat point layers, (2) function knn() from package 'nabor' for projected point layers, or (3) function st_distance() from package 'sf' for line or polygon layers. The package also includes several other utility functions for spatial analysis.
Useful links