nngeo

k-Nearest Neighbor Join for Spatial Data

K-nearest neighbor search for projected and non-projected 'sf' spatial layers. Nearest neighbor search uses (1) C implementation of the Vincenty Formula 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.

Total

4,278

Last month

763

Last week

493

Average per day

25

Daily downloads

Total downloads

Description file content

Package
nngeo
Type
Package
Title
k-Nearest Neighbor Join for Spatial Data
Version
0.2.4
Description
K-nearest neighbor search for projected and non-projected 'sf' spatial layers. Nearest neighbor search uses (1) C implementation of the Vincenty Formula 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.
Imports
RANN, units, Rcpp, sp, methods, lwgeom
Depends
R (>= 3.2.3), sf (>= 0.6-0)
License
MIT + file LICENSE
LazyData
TRUE
RoxygenNote
6.1.0
Suggests
knitr, rmarkdown, testthat
VignetteBuilder
knitr
BugReports
https://github.com/michaeldorman/nngeo/issues
LinkingTo
Rcpp
Encoding
UTF-8
NeedsCompilation
yes
Packaged
2018-12-06 14:58:44 UTC; michael
Author
Michael Dorman [aut, cre], Johnathan Rush [ctb], Ian Hough [ctb], Jan Antala [ctb, cph] (Author of C code for Vincenty distance)
Maintainer
Michael Dorman
Repository
CRAN
Date/Publication
2018-12-06 15:20:02 UTC

install.packages('nngeo')

0.2.4

3 days ago

Michael Dorman

MIT + file LICENSE

Depends on

R (>= 3.2.3), sf (>= 0.6-0)

Imports

RANN, units, Rcpp, sp, methods, lwgeom

Suggests

knitr, rmarkdown, testthat

Discussions