Larry,
Ok, I'll put a little PRG together and post it later for your critique, ok?
Thanks!!
>This will give you the center of your points however, that point may fall ouside of the polygon described by those points depending on the placement.
>
>P
1(Long
1,Lat
1)
>P
2(Long
2,Lat
2)
>:
>P
n(Long
n,Lat
n)
>
>(Long
1+Long
2+...+Long
n)/n
>(Lat
1+Lat
2+...+Lat
n)/n
>
>where n = number of points
>
>>Hi All,
>>
>>I have a need to develop an algorithm that will
find the center point of 'N' other points. The total number of other points will be from 2 to 5 typically, though it could go up to around 20.
>>
>>I have an algorithm that will give me all ZIP locations within a circle useing the Longitude and Latitude which is somewhat the corrolat of my new need.
>>
>>I will also have a complete set of Longitudes and Latitudes that I can use as a source for mathematical equations. Each of the 'N' points will be able to determine its associated Longitude and Latitude.
>>
>>I have a couple ideas I'm toying around with but was wondering if anyone here has done this already.
>>
>>Thanks for your help!
Best,
DD
A man is no fool who gives up that which he cannot keep for that which he cannot lose.
Everything I don't understand must be easy!
The difficulty of any task is measured by the capacity of the agent performing the work.