Ok. Thank you for your help. I forget Pythagora.
On 21 oct, 16:09, Andrew Leach <[email protected]> wrote:
> On Oct 21, 2:54 pm,phicarre<[email protected]> wrote:
>
> > Ok but if the distance is ALREADY computed by the formula sqrt(....) ?
>
> Oh I see. You need to junk that and use the Haversine formula.
>
> You can't use Pythagoras' theorem in spherical geometry, it's for
> Euclidean (plane) geometry; and in any case a direct correlation of 1
> degree = 111.2km (approximately) only applies if both your points are
> on a Great Circle.
>
> Andrew
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---