I have a database of geocoded entries. I need to determine which two entries are the furthest apart from a subset of the total entries. For example, I select a list of 10 entries then, from that list, determine which two places represent the greatest distance within that list.
I cannot wrap my head around how to approach this. I've considered using radians even, but nothing seems to meet the requirement.
FYI, LAMP stack going here...