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,681
  • 7
  • 68
  • 92

1 Answers1

1

MySQL Great Circle Distance (Haversine formula)

Community
  • 1
  • 1
Mark Baker
  • 209,507
  • 32
  • 346
  • 385