Finding the latitude/longitude that is in the middle of 2 others?

المشرف العام

Administrator
طاقم الإدارة
Ok, so I will have a system/application that will always at the most have 2 points (latitude/longitude) on a map per street. So if the user wants to add another point on that street I want my app to calculate if the new point is outside the bounds of the previous two points.

So basically it will be like a max min type situation, and I want to know if this new point is a new max or a new min or if it should be thrown out, because I only track the max and mins. What mathematical magic hoop am I going to have to jump through to figure that out? or should I go to math.stackexchange.com?



أكثر...
 
أعلى