Find k nearest points
knearest(point, candidatePoints, k)
Take a reference point, set of candidate points, some number k, and returns k number of nearest points from candidate points.
parameter | type | description |
---|---|---|
point |
Feature.<Point> | the reference point |
candidatePoints |
FeatureCollection.<Point> | input point set |
k |
Number | number of points to return |
Returns FeatureCollection.<Point>
, the k nearest points to the reference point
TODO