Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
GIS::Distance::Polar(3User Contributed Perl DocumentatiGIS::Distance::Polar(3)

NAME
       GIS::Distance::Polar - Polar coordinate flat-earth distance
       calculations.

DESCRIPTION
       Supposedly this is a formula to better calculate	distances at the
       poles.

       While implemented, this formula has not been tested much.  If you use
       it PLEASE share your results with the author.  I've tested the results
       of this formula versus GIS::Distance::Vincenty and it appears that this
       formula is broken (or the implementation	is) as you can see in
       "t/polar.t".

       A faster	(XS) version of	this formula is	available as
       GIS::Distance::Fast::Polar.

       Normally	this module is not used	directly.  Instead GIS::Distance is
       used which in turn interfaces with the various formula classes.

FORMULA
	   a = pi/2 - lat1
	   b = pi/2 - lat2
	   c = sqrt( a^2 + b^2 - 2 * a * b * cos(lon2 -	lon1) )
	   d = R * c

SUPPORT
       See "SUPPORT" in	GIS::Distance.

AUTHORS
       See "AUTHORS" in	GIS::Distance.

COPYRIGHT AND LICENSE
       See "COPYRIGHT AND LICENSE" in GIS::Distance.

perl v5.32.0			  2019-05-10	       GIS::Distance::Polar(3)

NAME | DESCRIPTION | FORMULA | SUPPORT | AUTHORS | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=GIS::Distance::Polar&sektion=3&manpath=FreeBSD+12.2-RELEASE+and+Ports>

home | help