NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Interpolate one raster sample from four neighbouring cell centres — Fragmented parcels

Interpolate one raster sample from four neighbouring cell centres — a worked case for fragmented parcels, with explicit data, a sensitivity comparison and an independent evidence check.

Interpolate one raster sample from four neighbouring cell centres — Fragmented parcels

The measurement question

Bilinear interpolation estimates a continuous value between four grid samples. Suppose local corner values are 100, 104, 108, and 112 m, and the target lies one-quarter across and halfway down the rectangle between their centres. The weights are 0.375, 0.125, 0.375, and 0.125, producing 105 m. This is a useful hand check when a resampled elevation raster differs slightly from the nearest original cell. The interpolation changes the sampling representation; it does not create a newly surveyed elevation. Class identifiers such as land-cover codes should generally avoid this treatment because their numeric order does not represent a continuous physical quantity.

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

Several small parcels share a common project identifier but are separated by unobserved land. This arrangement makes it easy to confuse a total project area with the area actually supported by observations. Assign each parcel an identifier and compare local results before pooling the evidence.

Check one independent location per relevant parcel and inspect the join rules. The example does not assume that neighbouring parcels share the same observation conditions.

Aerial view of the E10 road near Laktatjakka in northern Sweden
Aerial view of the E10 road near Laktatjakka in northern Sweden.Source: Ximonic (Simo Räsänen) · CC BY-SA 4.0

Reproduce the numerical check

Illustrative input data: Horizontal fractional position (u) = 0.31 fraction; Vertical fractional position (v) = 0.5 fraction; Upper-left value (z00) = 100 m; Upper-right value (z10) = 104 m; Lower-left value (z01) = 108 m; Lower-right value (z11) = 112 m.

Calculation: (1-u)*(1-v)*z00+u*(1-v)*z10+(1-u)*v*z01+u*v*z11.

Bilinearly interpolated elevation = 105.24 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 horizontal fractional position (u) from 0.31 to 0.341 fraction. Re-evaluating the same equation gives bilinearly interpolated elevation = 105.364 m. The arithmetic difference from the baseline is 0.124 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 the four-neighbour calculation to explain smooth elevation resampling and to diagnose a selected output pixel. Retain the original raster so subsequent analyses can distinguish measured grid values from values produced by interpolation.

Bilinear interpolation smooths local variation and cannot preserve sharp discontinuities automatically. Missing neighbours, masked cells, changed grid origins, and reprojection footprints require the software's documented rules rather than an assumed four-value average.

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

Locate the output centre in source-grid coordinates, record its four contributors and fractional offsets, and recompute the weighted value. Confirm the weights sum to one and check how the implementation treats missing contributors.

Provide a parcel table with accepted, incomplete and excluded records. Leave the spaces between parcels outside the measurement mask unless they were observed.

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. GDAL raster reproject ↗
  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