I have two sets of GPS coordinates in .txt files - one set is an arbitrary set of latitudes calculated at evenly spaced intervals, and the other is a set of random (lat,long,elev) coordinates. Both arrays are sorted in ascending order according to their latitudes. I want to write a java program that takes the (lat,long,elev) coordinates and compares it to the arbitrary latitudes and determine a) which points lie in the latitude intervals and b) prints the point.
Any ideas are greatly appreciated!
