Convert latitude and longitude to ECEF coordinates system

前端 未结 1 1133
长情又很酷
长情又很酷 2021-01-18 01:03

I am studying pArk Apple sample code, and how it is works. anyone knows how convert the latitude and longitude to ECEF coordinates, and Covert ECEF to ENU coordinates center

1条回答
  •  不要未来只要你来
    2021-01-18 01:26

    The latLonToEcef method is an implementation of the algorithm outlined in the Geographic coordinate conversion - From geodetic to ECEF coordinates wikipedia page:

    geodetic to ecef

    where

    Φ is latitude, λ is longitude, and

    n-latitude

    Likewise the ecefToEnu method is an implementation of the ECEF to ENU algorithm:

    ECEF to ENU

    If you need further references, they can be found at the bottom of that Wikipedia page. You might also refer to the World Geodetic System 1984 spec.

    0 讨论(0)
提交回复
热议问题