|
Hi Wilfried,
Thanks for responding.
With respect to what I am trying to accomplish; the code which I have posted is an illustration of the problem. If you run the procedure you get a map with circles (and some comments). The map depicts 8 colored circles which represent the data (circles based upon latitude and longitude of the center and a radius).
I am trying to mathematically determine the “best” intersecting point of the circles as Latitude and Longitude. Unfortunately they do not always perfectly intersect. I believe that GPS utilizes a similar concept to what I am trying to accomplish.
Or maybe as I think it through, it might be the average of all the intersections of the circles. (sum of latitudes of intersections / number of intersections would yield “Best” Latitude, sum of all Longitudes of intersections / number of intersections would yield “Best” Longitude). I don’t know how to determine the Latitude and Longitude of intersections.
It might help to think of it like this: if you took 8 disks of varying size and laid them on a table in a manor so that most overlapped and some might be butted against another disk, that would be the picture. I’m trying to determine the most central point of the intersections. Averaging the data does not work.
Again, the code gives an illustration of the problem.
Thanks for looking at the problem; it might be more of an advanced geometry challenge than a MapPoint challenge.
Regards,
The Lone Turtle |