Azavea.Open.Reprojection.Reprojector.ConvertMercatorYToLatitude C# (CSharp) Method

ConvertMercatorYToLatitude() private static method

private static ConvertMercatorYToLatitude ( double y ) : double
y double
return double
        private static double ConvertMercatorYToLatitude(double y)
        {
            double latitude = (Math.PI / 2) -
                              (2 * Math.Atan(
                                       Math.Exp(-y / GeoMath.EARTH_RADIUS_AT_EQUATOR_METERS)));
            return GeoMath.ConvertToDegrees(latitude);
        }