You are here

function earth_flattening in Location 5.3

Same name and namespace in other branches
  1. 5 earth.inc \earth_flattening()
  2. 6.3 earth.inc \earth_flattening()
  3. 7.5 earth.inc \earth_flattening()
  4. 7.3 earth.inc \earth_flattening()
  5. 7.4 earth.inc \earth_flattening()
2 calls to earth_flattening()
earth_eccentricity_sq in ./earth.inc
earth_radius_semiminor in ./earth.inc

File

./earth.inc, line 35
Trigonometry for calculating geographical distances. All function arguments and return values measure distances in metres and angles in degrees. The ellipsoid model is from the WGS-84 datum. Ka-Ping Yee, 2003-08-11

Code

function earth_flattening() {
  return 1 / 298.257223563;
}