Wasn't it JavaJive who wrote: > On May 31, 2:36 am, Mike Williams <[email protected]> wrote: > >> That code would work if degrees of latitude and longitude had the same >> length. > >The difference in radii is as follows ... > Equatorial radius 6378.137 km > Polar radius 6356.752 km >... or difference / mean = 0.0034 or 0.34% > >Hence the error in the sides of the right-angled-triamgle should be >proportionately the same, so the error in the amgle computed via the >atan function should be at very worst of a similar order of magnitude, >but it's actually 12/145.7 = 8.24% > >I don't think that can be the explanation.
That's fine for a point on the equator, but other lines of latitude are not great circles. For example, at latitude 60 a degree of longitude is only half the length of a degree of latitude. -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
