On 7 September 2010 19:46, ss <[email protected]> wrote: > Dear All, > I have a lat long point . So now I would like to run a > mysql query to find if I am within the radius of particular range or > not for each of circular geo fence? I have this website > http://howto-use-mysql-spatial-ext.blogspot.com/ but what is the > radius value in is it meters or something else? Thank you.
A better way would be to calculate the distance of your test point from the centre point. If that distance is less than your radius, the test point is within the circle. http://www.movable-type.co.uk/scripts/latlong.html -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
