IFClite TypeScript API
    Preparing search index...

    Function ecefToGeodetic

    • ECEF metres to WGS84 geodetic, closed form (Vermeille 2002, "Direct transformation from geocentric coordinates to geodetic coordinates", J. Geodesy 76:451-454). Exact to floating-point precision for every point outside the ellipsoid's evolute, i.e. anywhere farther than ~43 km from the Earth's centre; closer points throw a RangeError rather than return a wrong answer (no geospatial tile content lives there).

      Parameters

      • x: number
      • y: number
      • z: number

      Returns Geodetic