GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GIS::Distance::MathTrig(3) User Contributed Perl Documentation GIS::Distance::MathTrig(3)

GIS::Distance::MathTrig - Great cirlce distance calculations using Math::Trig.

This formula uses Math::Trig's "great_circle_distance()" which at this time uses math almost exactly the same formula as the GIS::Distance::Cosine formula. And the Cosine formula is about 5% faster than this formula.

Normally this module is not used directly. Instead GIS::Distance is used which in turn interfaces with the various formula classes.

    lat0 = 90 degrees - phi0
    lat1 = 90 degrees - phi1
    d = R * arccos(cos(lat0) * cos(lat1) * cos(lon1 - lon01) + sin(lat0) * sin(lat1))

As stated in the Math::Trig documentation.

See "SUPPORT" in GIS::Distance.

See "AUTHORS" in GIS::Distance.

See "LICENSE" in GIS::Distance.
2021-01-30 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.