gis-tools-ts - v0.6.0
    Preparing search index...

    Function altitudeFromMercatorZ

    • Convert mercator projection's Z-Value to altitude

      Parameters

      • z: number

        in meters

      • y: number

        in radians

      • circumference: number = EARTH_CIRCUMFERENCE

        the circumference of the planet. Defaults to Earth

      Returns number

      the altitude