Solve the nearest neighbour problem for two feature collections of points This is a simple wrap-up of the dbscan::kNN function
closest_points(origins, targets)
a feature collection of points
a feature collection of points
for each origin point, the index of the nearest target point