1GIS::Distance::MathTrigU(s3eprm)Contributed Perl DocumenGtIaSt:i:oDnistance::MathTrig(3pm)
2
3
4

NAME

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

DESCRIPTION

10       This formula uses Math::Trig's "great_circle_distance()" which at this
11       time uses math almost exactly the same formula as the
12       GIS::Distance::Cosine formula.  And the Cosine formula is about 5%
13       faster than this formula.
14
15       Normally this module is not used directly.  Instead GIS::Distance is
16       used which in turn interfaces with the various formula classes.
17

FORMULA

19           lat0 = 90 degrees - phi0
20           lat1 = 90 degrees - phi1
21           d = R * arccos(cos(lat0) * cos(lat1) * cos(lon1 - lon01) + sin(lat0) * sin(lat1))
22
23       As stated in the Math::Trig documentation.
24

SUPPORT

26       See "SUPPORT" in GIS::Distance.
27

AUTHORS

29       See "AUTHORS" in GIS::Distance.
30

LICENSE

32       See "LICENSE" in GIS::Distance.
33
34
35
36perl v5.34.0                      2021-07-22      GIS::Distance::MathTrig(3pm)
Impressum