I am trying to transform a local vector rECEF from ECEF coordinate system to ENU coordinate system (rENU) where
ECEF = earth-centered earth-fixed coordinate system
ENU = East, North, Up coordinates, a local Earth based coordinate system
I saw in more then one book the following equation:
where
,
and
What i don't understand is why
since and
What am i missing?
Best Answer
The easiest way to check that this is right is to multiply out the matrices to get
The three rows are the unit vectors E, N, and U in ECEF coordinates; so when you form R.r_ecef you are computing the components of r_enu by resolving r_ecef into its ENU coordinates.
Incidently, you are missing the translation component in this conversion. The origin of the ENU system is normally on the surface of the ellipsoid while the origin of ECEF is the center of the earth.
See, for example, Other Earth-based coordinate systems and Conversion calculations at Geodetic datum.