Thursday, August 11, 2011

Re: "Great circle" using the django ORM?

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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate