DOKK / manpages / debian 12 / libgis-distance-perl / GIS::Distance::Constants.3pm.en
GIS::Distance::Constants(3pm) User Contributed Perl Documentation GIS::Distance::Constants(3pm)

GIS::Distance::Constants - Constants used by formula classes.

Number of kilometers around the equator of the earth.

6371.64

Number of units in a single decimal degree (lat or lon) at the equator.

0.0174532925199433

This value is derived from:

    $gis = GIS::Distance->new( 'Haversine' );
    $DEG_RATIO = $gis->distance( 10,0 => 11,0 )->km() / $KILOMETER_RHO;

See "SUPPORT" in GIS::Distance.

See "AUTHORS" in GIS::Distance.

See "LICENSE" in GIS::Distance.

2023-01-23 perl v5.36.0