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 "COPYRIGHT AND LICENSE" in GIS::Distance.
To install GIS::Distance, copy and paste the appropriate command in to your terminal.
cpanm
cpanm GIS::Distance
CPAN shell
perl -MCPAN -e shell install GIS::Distance
For more information on module installation, please visit the detailed CPAN module installation guide.