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 nn2() from package 'RANN' 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.
Version: |
0.3.8 |
Depends: |
R (≥ 3.5.0), sf (≥ 0.6) |
Imports: |
RANN, units, methods, lwgeom, parallel |
Suggests: |
DBI, RPostgreSQL, stars, knitr, rmarkdown, tinytest |
Published: |
2020-06-10 |
Author: |
Michael Dorman [aut, cre],
Johnathan Rush [ctb],
Ian Hough [ctb],
Dominic Russel [ctb],
Charles F.F Karney [ctb, cph] (Author of included C code from
'GeographicLib' for geodesic distance) |
Maintainer: |
Michael Dorman <dorman at post.bgu.ac.il> |
BugReports: |
https://github.com/michaeldorman/nngeo/issues/ |
License: |
MIT + file LICENSE |
URL: |
https://github.com/michaeldorman/nngeo/ |
NeedsCompilation: |
yes |
Materials: |
NEWS |
CRAN checks: |
nngeo results |