Rough calculation:

Earth radius = 6371 km
Earth circumference along a great circle = radius*2*PI = 40030 km
1 degree = 40030 km / 360 = 111.2 km (that's a degree of long at the
equator, or a degree of lat anywhere)

0.001 degree = 111 meters
0.0001 degree = 11.1 meters
0.00001 degree = 1.11 meters
0.000001 degree = 0.111 meters
etc...

You can compare the results of GPolyline.getLength() or
GLatLng.distanceFrom() with those of the distance function in the SQL
statement I posted in this thread, which if I remember correctly, is
based on vector algebra, setting two vectors with origin at the center
of a perfect sphere:

http://groups.google.com/group/Google-Maps-API/browse_thread/thread/dd6255740040d317

--
Marcelo - http://maps.forum.nu
--


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to