Description Usage Arguments Value Note
Select neighbouring locations of a given origin
1 | get_neighbours(origin, candidates, d_limit = Inf)
|
origin |
A numeric vector of length two containing respectively the longitude and latitude coordinate of the origin location. |
candidates |
A |
d_limit |
Upper distance limit (as-the-crow-flies) in meters to
consider a candidate location as a neighbour of the origin. Defaults to
|
A subset of candidates
.
Coordinates should be expressed in coordinate reference system EPSG:4326. The function assumes this to be true, and does not check for it.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.