This should be rather easy, and somebody probably already has most of the code for this.
I need a VB.NET program that utilizes either a true nearest neighbor analysis, or a modified nearest neighbor (NN) with user specifiable search radius to analyze two separate point files (CSV) with XY coordinates. The program will search each point in Input File #1, and find the closest coresponding point in Input File #2. The resulting output file will be a CSV file with all the information of File #1 plus 4 extra columns; 1) NN Input File #2 ID, 2) NN X-coordinate, 3) NN Y-coordinate, 4) distance.
I am trying to process a dataset of ~ 50,000 pts against a set of 300, so the more efficient the NN search, the better.
I am attaching two files - Input File #[url removed, login to view], and Input File #[url removed, login to view] for examples of the input formats.
1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. 2) Complete ownership and distribution copyrights to all work purchased.
W2K , WinXP