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

2,633

Last month

228

Last week

101

Average per day

8

Daily downloads

Total downloads

Description file content

Package
nngeo
Type
Package
Title
k-Nearest Neighbor Join for Spatial Data
Version
0.2.1
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-19 12:00:07 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-21 14:50:02 UTC

install.packages('nngeo')

0.2.1

2 months 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