Orthographic Projection (cartography) - Mathematics

Mathematics

The formulas for the spherical orthographic projection are derived using trigonometry. They are written in terms of longitude (λ) and latitude (φ) on the sphere. Define the radius of the sphere R and the center point (and origin) of the projection (λ0, φ0). The equations for the orthographic projection onto the (x, y) tangent plane reduce to the following:

\begin{align}
x &= R\,\cos\varphi \sin\left(\lambda - \lambda_0\right) \\
y &= R\big
\end{align}

Latitudes beyond the range of the map should be clipped by calculating the distance from the center of the orthographic projection. This ensures that points on the opposite hemisphere are not plotted:

.

The point should be clipped from the map if is negative.

The inverse formulas are given by:

\begin{align}
\varphi &= \arcsin\left \\
\lambda &= \lambda_0 + \arctan\left
\end{align}

where

\begin{align}
\rho &= \sqrt{x^2 + y^2} \\ c &= \arcsin\left(\frac{\rho}{R}\right)
\end{align}

For computation of the inverse formulas (e.g., using C/C++, Fortran, or other programming language), the use of the two-argument atan2 form of the inverse tangent function (as opposed to atan) is recommended. This ensures that the sign of the orthographic projection as written is correct in all quadrants.

The inverse formulas are particularly useful when trying to project a variable defined on a (λ, φ) grid onto a rectilinear grid in (x, y). Direct application of the orthographic projection yields scattered points in (x, y), which creates problems for plotting and numerical integration. One solution is to start from the (x, y) projection plane and construct the image from the values defined in (λ, φ) by using the inverse formulas of the orthographic projection.

See References for an ellipsoidal version of the orthographic map projection.

Read more about this topic:  Orthographic Projection (cartography)

Famous quotes containing the word mathematics:

    ... though mathematics may teach a man how to build a bridge, it is what the Scotch Universities call the humanities, that teach him to be civil and sweet-tempered.
    Amelia E. Barr (1831–1919)

    I must study politics and war that my sons may have liberty to study mathematics and philosophy.
    John Adams (1735–1826)