NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Estimate elevation inside a TIN triangle using barycentric weights — Stepped terrain

Estimate elevation inside a TIN triangle using barycentric weights — a worked case for stepped terrain, with explicit data, a sensitivity comparison and an independent evidence check.

Estimate elevation inside a TIN triangle using barycentric weights — Stepped terrain

The measurement question

A linear triangulated surface represents each triangle as a plane through three surveyed vertices. Take vertices A=(0,0,100), B=(20,0,104), and C=(0,20,108), with coordinates in metres. Point P=(5,5) has barycentric weights 0.50, 0.25, and 0.25, so its interpolated height is 103 m. This explicit example helps a reviewer distinguish TIN interpolation from a nearest-point lookup or a raster average. It also explains why a breakline matters: changing the triangulation can change which planar patch contains a location. Retain meaningful terrain constraints and inspect long triangles spanning unsupported gaps before using the surface for engineering quantities.

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

The example contains an upper terrace and a lower work surface. A single reference elevation can hide a substantial change in sensor-to-surface distance. Keep the two surfaces separate during the first comparison and identify which height reference was actually used for every recorded observation.

Compare an independently checked location on each terrace. Do not use a point on the upper surface to claim that the lower surface has the same error or observation geometry.

Aerial view of slag stockpiles at Wimmelburg, Germany
Aerial view of slag stockpiles at Wimmelburg, Germany.Source: Thuringius · CC0

Reproduce the numerical check

Illustrative input data: Point east coordinate relative to A (x) = 5.4 m; Point north coordinate relative to A (y) = 5 m; Right-triangle leg length (side) = 20 m; Height at(0,0) (zA) = 100 m; Height at(side,0) (zB) = 104 m; Height at(0,side) (zC) = 108 m.

Calculation: (1-x/side-y/side)*zA+(x/side)*zB+(y/side)*zC.

Linear TIN height inside triangle = 103.08 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 point east coordinate relative to a (x) from 5.4 to 5.94 m. Re-evaluating the same equation gives linear tin height inside triangle = 103.188 m. The arithmetic difference from the baseline is 0.108 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 a triangle-based hand calculation when reviewing local surface elevations near design features. Preserve breaklines where the ground changes abruptly, and flag areas where the triangulation bridges a gap with little observational support.

Skinny or poorly supported triangles can conceal inadequate sampling. Linear interpolation assumes a planar patch within each triangle; it cannot reconstruct an unobserved ditch, wall, or mound simply because the triangle vertices are accurate.

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

Confirm the point lies inside the triangle through nonnegative weights that sum to one. Check elevations at all three vertices, then compare an independently surveyed interior point or profile with the interpolated plane.

Package the height reference, the terrace boundary and the observed transition zone. State where the surface was not directly observed and where a model filled a gap.

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.

Technical references

  1. QGIS Interpolation: TIN Interpolation ↗
  2. NiVO technical workflow and supporting documentation ↗
← All articles

Related articles

All articles ↗
LET’S TAKE FLIGHT

Your next mission
starts with a conversation.

Talk to our team