Package: nngeo 0.4.8

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 knn() from package 'nabor' 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.

Authors:Michael Dorman [aut, cre], Johnathan Rush [ctb], Ian Hough [ctb], Dominic Russel [ctb], Luigi Ranghetti [ctb], Attilio Benini [ctb], Arnaud Tarroux [ctb], Felipe Matas [ctb], Charles F.F Karney [ctb, cph]

nngeo_0.4.8.tar.gz
nngeo_0.4.8.zip(r-4.7)nngeo_0.4.8.zip(r-4.6)nngeo_0.4.8.zip(r-4.5)
nngeo_0.4.8.tgz(r-4.6-x86_64)nngeo_0.4.8.tgz(r-4.6-arm64)nngeo_0.4.8.tgz(r-4.5-x86_64)nngeo_0.4.8.tgz(r-4.5-arm64)
nngeo_0.4.8.tar.gz(r-4.7-arm64)nngeo_0.4.8.tar.gz(r-4.7-x86_64)nngeo_0.4.8.tar.gz(r-4.6-arm64)nngeo_0.4.8.tar.gz(r-4.6-x86_64)
nngeo_0.4.8.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
nngeo/json (API)
NEWS

# Install 'nngeo' in R:
install.packages('nngeo', repos = c('https://michaeldorman.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/michaeldorman/nngeo/issues

Pkgdown/docs site:https://michaeldorman.github.io

Datasets:
  • cities - Point layer of the three largest cities in Israel
  • line - Sample network dataset: lines
  • pnt - Sample network dataset: points
  • towns - Point layer of towns in Israel
  • water - Polygonal layer of water bodies in Israel

On CRAN:

Conda:

9.81 score 82 stars 8 packages 764 scripts 1.4k downloads 7 exports 16 dependencies

Last updated from:bf5b1c10da. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK144
linux-devel-x86_64OK157
source / vignettesOK221
linux-release-arm64OK201
linux-release-x86_64OK168
macos-release-arm64OK96
macos-release-x86_64OK191
macos-oldrel-arm64OK114
macos-oldrel-x86_64OK238
windows-develOK189
windows-releaseOK108
windows-oldrelOK152
wasm-releaseOK135

Exports:st_azimuthst_connectst_ellipsest_nnst_postgisst_remove_holesst_segments

Dependencies:BHclassclassIntdata.tableDBIe1071KernSmoothMASSnaborproxyRcppRcppEigens2sfunitswk

Introduction to package nngeo

Rendered fromintro.Rmdusingknitr::rmarkdownon Jun 01 2026.

Last update: 2021-07-15
Started: 2018-01-01