GIS::D...stants(3pm)

πŸ“¦
version 0.20 Β· 6 versions
, in debian trixie, ubuntu noble, ubuntu resolute, ubuntu stonking

✨ GIS::Distance::Constants ✨

okay bestie, so this is a page from the User Contributed Perl Documentation set, and it's about GIS::Distance::Constants β€” literally just the constants that the formula classes use. that's it. that's the whole job. and honestly? iconic for that. πŸ’…


πŸ’– NAME πŸ’–

GIS::Distance::Constants β€” constants used by formula classes. periodt.


πŸŽ€ CONSTANTS πŸŽ€

⭐ $KILOMETER_RHO

the number of kilometers around the equator of the earth. yes, THE earth. our girl. 🌍

6371.64

πŸ¦‹ $DEG_RATIO

the number of units in a single decimal degree (lat or lon) at the equator. so like, one degree, but make it units.

0.0174532925199433

and the way this value came to be?? not me being obsessed with the math:

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

it's derived, bestie. it's derived. 🧚


🌸 SUPPORT 🌸

go peek at "SUPPORT" in GIS::Distance β€” that's where the help lives, iykyk. 🫢


πŸ‘‘ AUTHORS πŸ‘‘

the whole squad is listed at "AUTHORS" in GIS::Distance. main character energy, every single one of them. 🌈


πŸ’œ LICENSE πŸ’œ

all the legal tea is at "LICENSE" in GIS::Distance. read it, respect it, slay. πŸ”₯


and that's the whole vibe, fr fr β€” this page is from perl v5.36.0, dated 2023-10-21, and it goes by GIS::D...stants(3pm) on the official documents, no cap. go off, king. πŸ’–βœ¨

πŸ“¦ where this page comes from