1GIS::Distance::ConstantUss(e3rpmC)ontributed Perl DocumeGnItSa:t:iDoinstance::Constants(3pm)
2
3
4
6 GIS::Distance::Constants - Constants used by formula classes.
7
9 $KILOMETER_RHO
10 Number of kilometers around the equator of the earth.
11
12 6371.64
13
14 $DEG_RATIO
15 Number of units in a single decimal degree (lat or lon) at the equator.
16
17 0.0174532925199433
18
19 This value is derived from:
20
21 $gis = GIS::Distance->new( 'Haversine' );
22 $DEG_RATIO = $gis->distance( 10,0 => 11,0 )->km() / $KILOMETER_RHO;
23
25 See "SUPPORT" in GIS::Distance.
26
28 See "AUTHORS" in GIS::Distance.
29
31 See "LICENSE" in GIS::Distance.
32
33
34
35perl v5.36.1 2023-06-08 GIS::Distance::Constants(3pm)