Rotate an ECEF coordinate difference into local east, north, and up — Small reference patch
Rotate an ECEF coordinate difference into local east, north, and up — a worked case for small reference patch, with explicit data, a sensitivity comparison and an independent evidence check.

The measurement question
Earth-centred Cartesian coordinate differences are not local easting, northing, and height differences. First subtract a defined origin, then rotate the vector into its tangent frame. At an illustrative origin on the equator and Greenwich meridian, an ECEF difference of (1,2,3) m becomes E=2 m, N=3 m, and U=1 m. The same ECEF vector would have different local components at another latitude or longitude. This simple case is useful for testing a trajectory or control-comparison implementation before processing real observations. Keep geocentric metres separate from geographic degrees, and remember that local up follows the ellipsoid normal rather than an arbitrary project vertical axis.
This is an educational case with constructed input data. It is not a report of a completed NiVO project, a flight authorization, a product performance guarantee, or evidence that the photographed location was surveyed for this example.
Case conditions and evidence
Only a small independent reference patch is available. It is useful for a local check but may not represent the edges, slopes or material conditions elsewhere. Treat the example as a demonstration of evidence coverage and label every extrapolation beyond the checked patch.
Compare the reference footprint with the complete work area. A good local result supports the checked conditions and does not prove uniform behaviour outside them.

Reproduce the numerical check
Illustrative input data: Topocentric origin longitude (longitude) = 35 degrees; ECEF X difference from origin (dX) = 1 m; ECEF Y difference from origin (dY) = 2 m.
Calculation: -sin(radians(longitude))*dX+cos(radians(longitude))*dY.
Local east component of ECEF difference = 1.0647277 m.
The calculation below checks one part of the evidence chain. Keep the stated units and assumptions. The output does not replace field observations, the equipment manual, or an independent assessment of the complete deliverable.
Change one assumption
Increase only ecef y difference from origin (dY) from 2 to 2.2 m. Re-evaluating the same equation gives local east component of ecef difference = 1.2285581 m. The arithmetic difference from the baseline is 0.16383041 m.
For the comparison, only the explicitly listed input changes. All other quantities stay fixed. This isolates the mathematical response; weather, image texture, viewing geometry and equipment behaviour can change together in a real mission, so do not interpret the comparison as a flight test.
Interpret the result
Use ENU components when reviewing horizontal and vertical trajectory differences near a defined origin. Document that origin and frame, and perform geographic-to-geocentric conversion before applying the rotation to longitude/latitude input coordinates.
Using degrees as Cartesian inputs or rotating absolute coordinates without subtracting the origin produces meaningless results. A local tangent frame also diverges from the curved surface over long distances and does not replace a proper map projection.
Separate an arithmetic result from a verified measurement. A precise number can still be based on an uncertain input. Test the assumption with an independent observation before applying the result to an acceptance decision; retain the original value when the independent check disagrees.
Independent checks and delivery
Test unit vectors and the equatorial example, then rotate ENU back to ECEF. Confirm vector length is unchanged by rotation and compare a known nearby baseline against an independent geodetic software implementation.
Deliver the reference footprint and the conditions it represents. Identify the additional checks needed before extending the conclusion to the complete project.
Deliver the original observations, the calculation inputs, their units, the processing settings and an exception log alongside the interpreted output. A reviewer should be able to repeat the arithmetic and identify which observations support the conclusion. Preserve rejected observations with reasons instead of silently removing them.



