This project is read-only.

Nearest Neighbour

Mar 20, 2013 at 10:41 PM
Hey everyone,

I am new to DotSpatial and new to (although i use VBA alot through Excel) but i need to perform a nearest neighbour analysis on a set of point data which i have.

I have found a few functions within DotSpatial which would help such as DistanceOp and Point.ClosestPoint but i have no idea how to put them all together to get a result.

I think the order in which it would be done is to add a new column to the data table, the value of that cell would be the distance between that point and its closest neighbour. Repeat this for each point in the dataset and then perform the maths to calculate the nearest neighbour analysis.

Another stumbling block i have found is how to calculate the area which a set of points covers.

Any help would be greatly appreciated.