package calculator // WGS84 ellipsoid constants const ( a = 6378137.0 // semi-major axis in meters f = 1 / 298.257223563 // flattening e2 = 2*f - f*f // square of eccentricity J2000Epoch = 2451545.0 // Julian date of J2000 epoch )