GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
GIS::Distance::Polar(3) User Contributed Perl Documentation GIS::Distance::Polar(3)

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

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.

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

See "SUPPORT" in GIS::Distance.

See "AUTHORS" in GIS::Distance.

See "LICENSE" in GIS::Distance.
2021-01-30 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.