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 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.

Total

6,693

Last month

614

Last week

114

Average per day

20

Daily downloads

Total downloads

Description file content

Package
nngeo
Type
Package
Title
k-Nearest Neighbor Join for Spatial Data
Version
0.2.8
Description
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.
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.1
Suggests
DBI, RPostgreSQL, knitr, rmarkdown, testthat
VignetteBuilder
knitr
URL
BugReports
https://github.com/michaeldorman/nngeo/issues/
Encoding
UTF-8
NeedsCompilation
yes
Packaged
2019-05-12 11:21:47 UTC; michael
Author
Michael Dorman [aut, cre], Johnathan Rush [ctb], Ian Hough [ctb], Charles F.F Karney [ctb, cph] (Author of included C code from 'GeographicLib' for geodesic distance)
Maintainer
Michael Dorman
Repository
CRAN
Date/Publication
2019-05-12 17:20:03 UTC

install.packages('nngeo')

0.2.8

12 days ago

https://github.com/michaeldorman/nngeo/

Michael Dorman

MIT + file LICENSE

Depends on

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

Imports

RANN, units, Rcpp, sp, methods, lwgeom

Suggests

DBI, RPostgreSQL, knitr, rmarkdown, testthat

Discussions