0

I have got 2 sets google maps geo coordinates. Like 51.2, 6.1 and 50.3 and 5.5.

How do i calculate the distance between those 2 coordinates in meters with mysql?

I'm looking for the geo calculation, with earth radius and stuff. What is the best way to do this?

Rene Pot
  • 24,003
  • 7
  • 67
  • 90

1 Answers1

1

MySQL Great Circle Distance (Haversine formula)

Community
  • 1
  • 1
Mark Baker
  • 205,174
  • 31
  • 336
  • 380