title: Nearest GPS coordinate based on distance from a given point
body: <p>I have a list of GPS locations in a MySQL server database.  The user will be entering a GPS coordinate in the application and he should get the nearest GPS coordinate.</p>
  
  <p>I don't mind the distance calculation is based on "crow's flight" or anything else. It should be fast enough to search thousands of GPS locations.</p>
  
  <p>I prefer solution in C#, else I will try to get the logic and apply myself.</p>