0

For an orthographic map projection (of radius $r$) centered at latitude $\varphi_0$, I believe the ellipse defining the line of latitude $\varphi$ is centered at $y$ coordinate $r\cos(\varphi_0)\sin(\varphi)$, with major axis radius $r\cos(\varphi)$ and minor axis radius $r\sin(\varphi_0)\cos(\varphi)$. What I'm having trouble with is identifying the coordinates of the "vanishing points" where this ellipse intersects the horizon—where the ellipse is tangent to the circle defining the earth.

Equivalently (if less intuitively) I'm looking for the zero, one, or two points that satisfy both

$$ x^2 + y^2 = r $$

and

$$ \frac{x^2}{(r\cos(\varphi))^2} + \frac{(y - r\cos(\varphi_0)\sin(\varphi))^2}{(r\sin(\varphi_0)\cos(\varphi))^2} = 1 $$

It seems like there should be some (simple?) relation between $\varphi_0$, $\varphi$, and the longitude at which the line of latitude disappears, from a minimum of 90° ($\frac{\pi}{2}$) at $\varphi = 0$ to a maximum of 180° ($\pi$) at $\varphi = \pi/2 - \varphi_0$. (It's not hard to work out approximate values by brute force, and the curve looks vaguely arcsin-ish, but the analytical solution escapes me.)

rvcx
  • 23

2 Answers2

1

Here's a simple geometric derivation. You don't even need spherical trigonometry.

The following figure shows a cross-section of the sphere's orthographic projection. the horizontal axis is the $y$ axis and the vertical axis is the $z$ axis. In this figure, the point labeled $C$ is the center of the sphere. The line $CN$ is the north-south axis of the sphere. The point $P$ on the $z$ axis is at the latitude $\varphi_0$ identified with the center of the projection; the orthographic projection you are trying to compute is a projection parallel to the $z$ axis.

geometric diagram as described in accompanying text

The figure shown above is itself an orthographic projection, but it is projected along the $x$ axis rather than the $z$ axis so that all the lines of latitude are projected to straight line segments.

Suppose we take an arbitrary line of latitude projected onto the line segment $LL'$. The latitude of this line of latitude is labeled $\varphi$.

The outer circle of the projection of the sphere in the $x,y$ plane is simply the intersection of the sphere with the $x,y$ plane, represented by the horizontal line in the figure. The points (if any) where the line of latitude $\varphi$ touches this circle must lie in the $x,y$ plane and also in the plane of the line of latitude; projected parallel the $x$ axis, these points (if they exist) are projected to the point $T$ where the line $LL'$ intersects the $y$ axis.

Let $M$ be the point where the line $LL'$ intersects the axis $CN$. The triangle $\triangle CML$ is a right triangle with right angle at $M$ and hypotenuse $CL = r$. Leg $CM$ is opposite the angle $\angle CLM = \varphi$, so by simple plane trigonometry, $CM = r\sin\varphi$.

The triangle $\triangle CMT$ is also a right triangle with right angle at $M$. Since leg $CM = r\sin\phi$ is adjacent to angle $\angle MCT = \varphi_0$, the hypotenuse is $CT = r\sin\varphi\sec\varphi_0$.

Therefore the points you are looking for have $y$-coordinate

$$ y = r\sin\varphi\sec\varphi_0 = \frac{r \sin\varphi}{\cos\varphi_0} $$

provided that $y \leq r$. If $y > r$ the intersection point $T$ is outside the sphere, indicating that the segment $LL'$ is entirely on one side of the $x,y$ plane and the line of latitude $\varphi$ does not meet the boundary of the projection at all.

When $y \leq r$, since $x^2 + y^2 = r^2$ at the points of tangency of the ellipse and the circle, the $x$-coordinates of these points are

$$ x = \pm \sqrt{r^2 - y^2} = \pm \sqrt{r^2 - \left(\frac{r \sin\varphi}{\cos\varphi_0}\right)^2} = \pm r \sqrt{1 - \frac{\sin^2\varphi}{\cos^2\varphi_0}}. $$

Note that when $\varphi < 0$, the value of $\sin\varphi$ is negative, the point $M$ is below the $y$ axis, and the point $T$ is to the left of $C$, so the $y$-coordinate of $T$ is still $r\sin\varphi\sec\varphi_0$ (a negative value, since it is left of the origin). If $\varphi_0$ is negative, the point $N$ on the axis $CN$ is below the $y$ axis rather than above it, but $T$ is still at a positive $y$-coordinate if $\varphi > 0$ and negative if $\varphi < 0$. So the formulas above are good for all values of $\varphi_0$ and $\varphi$, although the figure shows only the results for positive values of those angles.


If you want the explicit longitudes of the points at latitude $\varphi$ that project to the coordinates $x,y$ calculated above, note that $ML = r\cos\varphi$ (the radius of the line of latitude) and $MT = r\sin\varphi\tan\varphi_0$. Assuming $P$ is at longitude $\lambda_0$, the longitude $\lambda$ at a point of tangency will satisfy

$$ \cos(\lambda - \lambda_0) = - \frac{r\sin\varphi\tan\varphi_0}{r\cos\varphi} = - \tan\varphi\tan\varphi_0. $$

Therefore

$$ \lambda = \lambda_0 \pm \arccos(- \tan\varphi\tan\varphi_0) = \lambda_0 \pm (\pi - \arccos(\tan\varphi\tan\varphi_0)). $$

David K
  • 108,155
  • This is empirically correct. (It matches the values I'd gotten via approximation-by-bisection in all cases.) Thank you so much! I'll close the question as soon as I have a few minutes to work through your derivation. – rvcx Apr 03 '24 at 22:56
0

I might be completely missing the point here but I will give it a quick try anyway.

I will take the part of your question stating that you want "the longitude at which the line of latitude disappears" and ignore the rest since I am not sure if it is all correct.

Referencing the Wikipedia page you linked, the equations for $x$ and $y$ are

$$ \begin{align} x & = R \cos{\varphi} \sin{(\lambda - \lambda_0)} \\ y & = R (\cos{\varphi_0} \sin{\varphi} - \sin{\varphi_0} \cos{\varphi} \cos{(\lambda - \lambda_0)}) \end{align} $$

and the equation for "the angular distance $c$ from the center of the orthographic projection" is

$$ \cos{c} = \sin{\varphi_0} \sin{\varphi} + \cos{\varphi_0} \cos{\varphi} \cos{(\lambda - \lambda_0)} $$

meaning that the projection vanishes at the point where $c$ is either $- \frac \pi 2$ or $\frac \pi 2$.

Therefore, we can find the "vanishing point" longitude in terms of the latitude as

$$ \begin{align} 0 & = \sin{\varphi_0} \sin{\varphi} + \cos{\varphi_0} \cos{\varphi} \cos{(\lambda - \lambda_0)} \\ \cos{\varphi_0} \cos{\varphi} \cos{(\lambda - \lambda_0)} & = - \sin{\varphi_0} \sin{\varphi} \\ \cos{(\lambda - \lambda_0)} & = - \frac {\sin{\varphi_0} \sin{\varphi}} {\cos{\varphi_0} \cos{\varphi}} \\ \cos{(\lambda - \lambda_0)} & = - \tan{\varphi_0} \tan{\varphi} \\ \lambda - \lambda_0 & = \arccos{(- \tan{\varphi_0} \tan{\varphi})} \\ \lambda & = \lambda_0 + \arccos{(- \tan{\varphi_0} \tan{\varphi})} \end{align} $$

which isn't very nice but is simple enough.

If you need the corresponding $x$ and $y$ these come out fairly reasonable as

$$ \begin{align} y & = R \left(\cos{\varphi_0} \sin{\varphi} - \sin{\varphi_0} \cos{\varphi} \left(- \frac {\sin{\varphi_0} \sin{\varphi}} {\cos{\varphi_0} \cos{\varphi}}\right)\right) \\ & = R \sin{\varphi} \left(\cos{\varphi_0} - \sin{\varphi_0} \left(- \frac {\sin{\varphi_0}} {\cos{\varphi_0}}\right)\right) \\ & = R \sin{\varphi} \left(\cos{\varphi_0} + \left(\frac {\sin ^ 2{\varphi_0}} {\cos{\varphi_0}}\right)\right) \\ & = R \sin{\varphi} \left(\frac {\cos ^ 2 {\varphi_0} + \sin ^ 2{\varphi_0}} {\cos{\varphi_0}}\right) \\ & = R \frac {\sin{\varphi}} {\cos{\varphi_0}} \end{align} $$

and

$$ \begin{align} x & = \pm R \cos{\varphi} \sqrt {1 - \left(- \frac {\sin{\varphi_0} \sin{\varphi}} {\cos{\varphi_0} \cos{\varphi}}\right) ^ 2} \\ & = \pm R \cos{\varphi} \sqrt {1 - \frac {\sin ^ 2{\varphi_0} \sin ^ 2{\varphi}} {\cos ^ 2{\varphi_0} \cos ^ 2{\varphi}}} \\ & = \pm R \cos{\varphi} \sqrt {\frac {\cos ^ 2{\varphi_0} \cos ^ 2{\varphi} - \sin ^ 2{\varphi_0} \sin ^ 2{\varphi}} {\cos ^ 2{\varphi_0} \cos ^ 2{\varphi}}} \\ & = \pm R \sqrt {\frac {\cos ^ 2{\varphi_0} \cos ^ 2{\varphi} - \sin ^ 2{\varphi_0} \sin ^ 2{\varphi}} {\cos ^ 2{\varphi_0}}} \\ & = \pm R \sqrt {\frac {\cos ^ 2{\varphi_0} \cos ^ 2{\varphi} - (1 - \cos ^ 2{\varphi_0}) \sin ^ 2{\varphi}} {\cos ^ 2{\varphi_0}}} \\ & = \pm R \sqrt {\frac {\cos ^ 2{\varphi_0} \cos ^ 2{\varphi} + \cos ^ 2{\varphi_0} \sin ^ 2{\varphi} - \sin ^ 2{\varphi}} {\cos ^ 2{\varphi_0}}} \\ & = \pm R \sqrt {\frac {\cos ^ 2{\varphi_0} (\cos ^ 2{\varphi} + \sin ^ 2{\varphi}) - \sin ^ 2{\varphi}} {\cos ^ 2{\varphi_0}}} \\ & = \pm R \sqrt {\frac {\cos ^ 2{\varphi_0} - \sin ^ 2{\varphi}} {\cos ^ 2{\varphi_0}}} \\ & = \pm R \sqrt {1 - \left(\frac {\sin{\varphi}} {\cos{\varphi_0}}\right) ^ 2} \end{align} $$

Isco
  • 103