Skip to main content
1 of 4
shihab K
  • 361
  • 1
  • 4
  • 4

mysql geo based doubt

I have a mysql table with user name, latitude and longitude of the user. I would like to get a list of user who are inside the circle or squire of a given latitude and longitude with given distance. For example my input Lat= 78.3232 and Long = 65.3234 and distance = 30 miles. I would like to get the list of users who are inside 30 miles distance from the point 78.3232 and 65.3234. Is it possible to solve this with single query? Or can you give me a hint start solving this query? I am new to the geo based information.

shihab K
  • 361
  • 1
  • 4
  • 4