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

1,524

Last month

546

Last week

412

Average per day

18

Daily downloads

Total downloads

Description file content

Package
nngeo
Type
Package
Title
k-Nearest Neighbor Join for Spatial Data
Version
0.2.0
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
geosphere, RANN, units, lwgeom, Rcpp, sp, methods
Depends
R (>= 3.2.3), sf (>= 0.6-0)
License
MIT + file LICENSE
LazyData
TRUE
RoxygenNote
6.0.1
Suggests
knitr, rmarkdown, testthat
VignetteBuilder
knitr
BugReports
https://github.com/michaeldorman/nngeo/issues
LinkingTo
Rcpp
NeedsCompilation
yes
Packaged
2018-07-18 10:43:31 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-07-18 11:00:03 UTC

install.packages('nngeo')

0.2.0

2 days ago

Michael Dorman

MIT + file LICENSE

Depends on

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

Imports

geosphere, RANN, units, lwgeom, Rcpp, sp, methods

Suggests

knitr, rmarkdown, testthat

Discussions