Elsevier

Computers & Geosciences

Volume 133, December 2019, 104307
Computers & Geosciences

Efficient transformation from Cartesian to geodetic coordinates

https://doi.org/10.1016/j.cageo.2019.104307Get rights and content

Highlights

  • Efficient computation of geodetic coordinates is achieved using new methods.

  • Sampson's distance rule from computer vision is extended and modified.

  • A new, more efficient implementation of Bowring's method is also suggested.

  • Bowring's method is the most efficient of all if the new implementation is used.

Abstract

The derivation of algorithms for the computation of geodetic coordinates from 3D Cartesian coordinates has been a very active field of research among geodesists for more than forty years. Many authors have sought the most efficient method, i.e. the method that provides the fastest computational speed, which nevertheless yields sufficient accuracy for practical applications. The problem is a special case of a more general mathematical problem that has also been studied by researchers in other fields. This paper investigates the applicability of methods by Sampson (1982, Computer graphics and image processing, 18: 97–108) and Uteshev and Goncharova (2018, Journal of Computational and Applied Mathematics, 328: 232–251) to the computation of geodetic coordinates. Both methods have been modified to make them more suitable for this particular problem. The methods are compared to several commonly used geodetic methods in terms of accuracy and computational efficiency. It is found that a simple modification improves the accuracy of the methods by ~3 orders of magnitude, and the modified method of Uteshev and Goncharova (2018) achieves an accuracy of <0.1 mm anywhere on the surface of the Earth. The methods are especially efficient in the computation of ellipsoidal height. As an additional result of this study, a new formulation of the well-known method by Bowring (1976, Survey Review, 23: 323–327) is derived, and it is shown to improve the computation speed of Bowring's method by ~12%–~27% compared to the conventional formulation.

Introduction

The transformation from 3D Cartesian coordinates (X,Y,Z) to geodetic coordinates (geodetic latitude φ, longitude λ, and ellipsoidal height h) is a classical problem in geodesy and its application is extremely common. While the computation of longitude is straightforward, the computation of geodetic latitude and ellipsoidal height is more complicated. Many different methods have been published in the geodetic literature. An overview of many of these methods can be found in (Featherstone and Claessens, 2008), and many more have been published since (e.g., Turner, 2009; Shu and Li, 2010; Civicioglu, 2012; Ligas, 2012; Soler et al., 2012; Zeng, 2013). Most methods focus on the computation of geodetic latitude, after which the ellipsoidal height can readily be found, but it is equally possible to solve for the ellipsoidal height first and geodetic latitude second.

Methods for the computation of geodetic coordinates from Cartesian coordinates can be divided into three categories: exact, iterative and approximate methods. Here we define an approximate method as any method that is neither exact nor uses a variable number of iterations. For example, Bowring's (1976) method is iterative, but when implemented such that only a single iteration is used (as is often the case), we consider it an approximate method.

An exact solution involves the solution of a quartic equation (fourth-order polynomial) (e.g. Paul, 1973; Borkowski, 1989; Vermeille, 2004, 2011), which inevitably leads to a computationally inefficient algorithm. Geodesists have put much effort into devising more efficient iterative or approximate methods. Some of the simplest and most efficient of these are the methods by Bowring (1976, 1985) and Fukushima (1999, 2006).

In other fields, similar problems have been tackled in parallel. For example, in the field of computer vision, a common problem is the estimation of conic sections through scattered data points. To estimate a best fitting ellipse (in the case that the conic section is an ellipse), an approximation of the distance between a point and the ellipse is required. A well-known algorithm for this problem is provided by Sampson (1982), and the approximate distance has become known as Sampson's distance. Meanwhile, mathematicians have worked on more general problems, such as computation of the shortest distance between a point and any degree 2 curve or manifold in Rn. For example, Uteshev and Yashina (2015) provide a method for finding the distance between an ellipsoid and any first- or second-order manifold. Explicit exact and approximate formulas for the distance between a point and an ellipse are provided in Uteshev and Goncharova (2018).

The main aim of this paper is to investigate the applicability of approximate solutions by Sampson (1982) and Uteshev and Goncharova (2018), from outside of the geodetic literature, to the computation of geodetic coordinates on or near Earth. These methods are then compared to a selection of geodetic methods in terms of accuracy and computational efficiency. The focus is on simple and efficient (fast) algorithms for the computation of geodetic coordinates that are precise enough for any practical application on the Earth's surface or at flight altitude.

The geodetic transformation problem is briefly defined in section 2. In section 3, Sampson's and Uteshev's methods are outlined. It will be shown that these methods are not sufficiently accurate for geodetic applications, except for points very close to the reference ellipsoid. However, new modifications to these methods to make them more suited to the geodetic coordinate transformation are presented in section 4. In section 5, the geodetic methods of Bowring (1976, 1985), Pollard (2002), and Fukushima (2006) are outlined. The accuracy of the unmodified and modified methods of Sampson (1982) and Uteshev and Goncharova (2018) are compared to these geodetic methods in section 6, and in section 7 a comparison in terms of computational efficiency is provided. An important point is made about the variability in computational efficiency for different hardware, software and implementation. Finally, section 8 provides conclusions and recommendations.

Section snippets

The geodetic transformation problem

The geodetic transformation problem consists of the transformation between geodetic coordinates (φ,λ,h) and geocentric Cartesian coordinates (X,Y,Z) . The forward transformation ((φ,λ,h)(X,Y,Z)) defines the relation between these coordinates (e.g. Heiskanen and Moritz, 1967)X=N+hcosφcosλ,Y=N+hcosφsinλ,Z=N1-e2+hsinφwhereN=a1e2sin2φe2=a2b2a2and a and b are the semi-major and semi-minor axes of the reference ellipsoid, respectively. The reference ellipsoid is an oblate spheroid (ellipsoid of

SAMPSON’S and UTESHEV’S methods

The inverse geodetic transformation problem can be solved in an approximate fashion by applying Sampson's distance formula (Sampson, 1982). Sampson's distance is often thought of as a first-order approximation of the distance from a point to a curve, but to be more exact, it is the exact geometric distance from a point to the first-order approximation of the curve (Harker and O'Leary, 2006).

Sampson's method is defined for the distance between a point and any curve of degree 2, which is given by

Modified SAMPSON’S and UTESHEV’S methods

Sampson's and Uteshev's methods have been created for general curves of degree 2 and not specifically for the inverse geodetic transformation problem. This means these methods have a disadvantage when compared to approximate methods derived specifically for geodetic purposes, which typically make use of the fact that the Earth's reference ellipsoid has only a small eccentricity.

A crucial insight is that Sampson's and Uteshev's methods are not exact when the curve is a circle, and can therefore

Geodetic methods

As mentioned in the introduction, geodesists have derived a large number of algorithms for the computation of geodetic coordinates. Here, some of the most efficient approximate methods are listed. These serve as a benchmark for the numerical performance of Sampson's and Uteshev's methods.

Since in most geodetic applications the points of interest are situated in the proximity of the surface of the reference ellipsoid (h = 0), approximate transformation methods must provide high accuracy in this

Accuracy of methods

The accuracy of Sampson's and Uteshev's methods, in unmodified and modified form, is compared here to the geodetic methods by Bowring (1976, 1985), Pollard (2002) and Fukushima (2006). These geodetic methods have been selected as they are among the simplest and computationally most efficient of the geodetic methods.

The main aim of this section is to test the methods for use on or near the Earth's surface. A numerical closed-loop experiment is conducted for heights in the range from −11,000 m to

Numerical efficiency of methods

Many researchers have compared computation times of various methods for the inverse geodetic transformation problem (e.g., Laskowski, 1991; Gerdan and Deakin, 1999; Seemkooei, 2002; Fok and Iz, 2003; Bajorek et al., 2014). However, studies do often not agree on the relative computation speed of different methods. The main reason for this is that computation time is highly dependent on various aspects, including hardware specifications, programming language, compiler, and implementation of the

Conclusions and recommendations

The methods of Sampson (1982) and Uteshev and Goncharova (2018) have been applied to the inverse geodetic transformation problem. Both methods are not sufficiently accurate for most geodetic applications, but a minor modification increases the accuracy of the ellipsoidal height by ~3 orders of magnitude. In the common region of application near the Earth's surface bounded by heights from −11,000 m to +15,000 m, the maximum error in the modified Sampson method is 42 mm, and the maximum error in

References (28)

  • B.R. Bowring

    The accuracy of geodetic latitude and height equations

    Surv. Rev.

    (1985)
  • W.E. Featherstone et al.

    Closed-form transformation between geodetic and ellipsoidal coordinates

    Studia Geophys. Geod.

    (2008)
  • H.S. Fok et al.

    A comparative analysis of the performance of iterative and non-iterative solutions to the Cartesian to geodetic coordinate transformation

    J. Geospatial Eng.

    (2003)
  • T. Fukushima

    Fast transform from geocentric to geodetic coordinates

    J. Geod.

    (1999)
  • Cited by (11)

    • Mapping and modelling defect data from UAV captured images to BIM for building external wall inspection

      2022, Automation in Construction
      Citation Excerpt :

      Some researchers proposed closed-form transformation from geocentric coordinates to geodetic coordinates and ellipsoidal coordinates, which can be applied to any point on the earth [29,30]. In addition, algorithms were proposed for the transformation of Cartesian coordinates into geodetic coordinates [31,32]. Wu et al. [33] compared the total least squares and least squares for four- and seven-parameter model coordinate transformation while Yan et al. [34] proposed a design of a wave shifter with the exit direction controllable based on coordinate transformation theory.

    View all citing articles on Scopus
    View full text