Rotate an ECEF coordinate difference into local east, north, and up — Long narrow corridor
Rotate an ECEF coordinate difference into local east, north, and up — a worked case for long narrow corridor, 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
A long narrow work area connects several access points. The same nominal settings can behave differently near bends, end sections and abrupt changes in the surrounding scene. Divide the observations into consecutive segments and give each segment its own evidence identifier before making an overall comparison.
Check both ends and at least one intermediate segment independently. A corridor-wide average can conceal an isolated gap, so report the weakest segment as well as the aggregate.

Reproduce the numerical check
Illustrative input data: Topocentric origin longitude (longitude) = 5 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.9052337 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 = 2.1044726 m. The arithmetic difference from the baseline is 0.19923894 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 segment index, access-point notes and the direction of acquisition. Preserve the link between each accepted segment and its original observations.
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.



