Skip to content
Prev 24414 / 29559 Next

For each point, distance to nearest point in second dataset

On Fri, 20 May 2016 at 08:38 Nick Eubank <nickeubank at gmail.com> wrote:

            
Great!  Be sure to use the WKNNF approach to cache the kdtree of the data -
it only needs to be done once, but calls to knn obviously will redo that
part.

 Also, you'll probably want to do it with coordinates in a map projection
where nearest-neighbour distance makes sense for your domain.

Cheers, Mike.
Dr. Michael Sumner
Software and Database Engineer
Australian Antarctic Division
203 Channel Highway
Kingston Tasmania 7050 Australia