Earth section paths are plane curves defined by the intersection of an earth ellipsoid and a plane (ellipsoid plane sections). Common examples include the great ellipse (containing the center of the ellipsoid) and normal sections (containing an ellipsoid normal direction). Earth section paths are useful as approximate solutions for geodetic problems, the direct and inverse calculation of geographic distances. The rigorous solution of geodetic problems involves skew curves known as geodesics.
Inverse problem The inverse problem for earth sections is: given two points, P1 and P2 on the surface of the reference ellipsoid, find the length, s12, of the short arc of a spheroid section from P1 to P2 and also find the departure and arrival azimuths (angle from true north) of that curve, α1 and α2. The figure to the right illustrates the notation used here. Let Pk have geodetic latitude ϕk and longitude λk (k=1,2). This problem is best solved using analytic geometry in earth-centered, earth-fixed (ECEF) Cartesian coordinates. Let R1=ECEF(P1) and R2=ECEF(P2) be the ECEF coordinates of the two points, computed using the geodetic to ECEF transformation discussed here.
Section plane To define the section plane select any third point R0 not on the line from R1 to R2. Choosing R0 to be on the surface normal at P1 will define the normal section at P1. If R0 is the origin then the earth section is the great ellipse. (The origin would be co-linear with 2 antipodal points so a different point must be used in that case). Since there are infinitely many choices for R0, the above problem is really a class of problems (one for each plane). Let R0 be given. To put the equation of the plane into the standard form, lx+my+nz=d, where l2+m2+n2=1, requires the components of a unit vector, 𝐍̂=(l,m,n), normal to the section plane. These components may be computed as follows: The vector from R0 to R1 is 𝐕𝟎=𝐑𝟏−𝐑𝟎, and the vector from R1 to R2 is 𝐕𝟏=𝐑𝟐−𝐑𝟏. Therefore, 𝐍̂=unit(𝐕𝟎×𝐕𝟏)), where unit(𝐕) is the unit vector in the direction of 𝐕. The orientation convention used here is that 𝐍̂ points to the left of the path. If this is not the case then redefine 𝐕𝟎=−𝐕𝟎. Finally, the parameter d for the plane may be computed using the dot product of 𝐍̂ with a vector from the origin to any point on the plane, such as R1, i.e. d=𝐍̂⋅𝐑𝟏. The equation of the plane (in vector form) is thus 𝐍̂⋅𝐑=d, where 𝐑 is the position vector of (x,y,z).
Azimuth Examination of the ENU to ECEF transformation reveals that the ECEF coordinates of a unit vector pointing east at any point on the ellipsoid is: 𝐞̂=(−sinλ,cosλ,0), a unit vector pointing north is 𝐧̂=(−sinϕcosλ,−sinϕsinλ,cosϕ), and a unit vector pointing up is 𝐮̂=(cosϕcosλ,cosϕsinλ,sinϕ). A vector tangent to the path is: 𝐭=𝐍̂×𝐮̂ so the east component of 𝐭 is 𝐭⋅𝐞̂, and the north component is 𝐭⋅𝐧̂. Therefore, the azimuth may be obtained from a two-argument arctangent function, α=atan2(𝐭⋅𝐞̂,𝐭⋅𝐧̂). Use this method at both P1 and P2 to get α1 and α2.
Section ellipse The (non-trivial) intersection of a plane and ellipsoid is an ellipse. Therefore, the arc length, s12, on the section path from P1 to P2 is an elliptic integral that may be computed to any desired accuracy using a truncated series or numerical integration. Before this can be done the ellipse must be defined and the limits of integration computed. Let the ellipsoid given by x2a2+y2a2+z2b2=1, and let p=l2+m2. If p=0 then the section is a horizontal circle of radius a1−d2b2, which has no solution if |d|>b. If p>0 then Gilbertson showed that the ECEF coordinates of the center of the ellipse is Rc=dC(la2,ma2,nb2), where C=a2p2+b2n2, the semi-major axis is a∗=a1−d2C, in the direction 𝐢̂∗=(mp,−lp,0), and the semi-minor axis is b∗=bCa∗, in the direction 𝐣̂∗=(lnp,mnp,−p), which has no solution if |d|>C.
Arc Length The above referenced paper provides a derivation for an arc length formula involving the central angle and powers of e2 to compute the arc length to millimeter accuracy, where e2=1−(b∗a∗)2. That arc length formula may be rearranged and put into the form: s12=s(θ2)−s(θ1), where s(θ)=b∗(C0θ+C2sin(2θ)+C4sin(4θ)+C6sin(6θ)) and the coefficients are
C0=1.0+e2(1/4+13e2/64+45e4/256+2577e6/16384) C2=e2(1/8+3e2/32+95e4/1024+385e6/4096) C4=−e4(1/256+5e2/1024+19e4/16384) C6=−e6(15/3072+35e2/4096) To compute the central angle, let P be any point on the section ellipse and R=ECEF(P). Then 𝐕=𝐑−𝐑𝐜 is a vector from the center of the ellipse to the point. The central angle θ is the angle from the semi-major axis to 𝐕. Letting 𝐕̂=unit(𝐕), we have θ=atan2(𝐕̂⋅𝐣̂∗,𝐕̂⋅𝐢̂∗). In this way we obtain θ1 and θ2. On the other hand it's possible to use Meridian arc formulas in the more general case provided that the section ellipse parameters are used rather than the spheroid parameters. One such rapidly convergent series is given in Series in terms of the parametric latitude. If we use ε to denote the spheroid eccentricity, i.e. ε2=1−(ba)2, then e8 ≤ ε8 ≅ 1.8×10−9. Similarly the third flattening of the section ellipse is bounded by the corresponding value for the spheroid, and for the spheroid we have n3 ≅ 4.4×10−9, and n4 ≅ 7.3×10−12. Therefore it may suffice to ignore terms beyond B6 in the parametric latitude series. To apply s(β)=a∗+b∗2(B0β+B2sin2β+B4sin4β+B6sin6β) in the current context requires converting the central angle to the parametric angle using β=tan−1(tanθ/((1−f)), and using the section ellipse third flattening. Whichever method is used, care must be taken when using θ1 & θ2 or β1 & β2 to ensure that the shorter arc connecting the 2 points is used.
Direct problem The direct problem is given P1, the distance s12, and departure azimuth α1, find P2 and the arrival azimuth α2.
Section plane The answer to this problem depends the choice of 𝐕𝟎. i.e. on the type of section. Observe that 𝐕𝟎 must not be in span{𝐧̂1,𝐞̂𝟏} (otherwise the plane would be tangent to the earth at P1, so no path would result). Having made such a choice, and considering orientation proceed as follows. Construct the tangent vector at P1, 𝐭̂1=𝐧̂1cosα1+𝐞̂𝟏sinα1, where 𝐧̂1 and 𝐞̂𝟏 are unit vectors pointing north and east (respectively) at P1. The normal vector 𝐍̂=unit(𝐕𝟎×𝐭̂1), together with 𝐏𝟏 defines the plane. In other words, the tangent takes the place of the chord since the destination is unknown.
… excerpt ends here. Continue reading the full article.





