Thank you both for the details! Le 11 août 2011 23:04, "Gelonida N" <gelon...@gmail.com> a écrit : > On 08/11/2011 06:43 PM, Thomas Orozco wrote: >> The distance is: Sqrt( Sqr(lat1-lat2) + Sqr(long1-long2) ) > > Try the formula close to the poles and you notice that there is > something missing. > > Your formula is correct on a flat surface but (there you talk about x > and y and not about lattitude and longitude) and should be rather > correct close to the equator > > > -- > You received this message because you are subscribed to the Google Groups "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. > For more options, visit this group at http://groups.google.com/group/django-users?hl=en. >
-- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.