NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Calculate topographic position as centre elevation minus neighbourhood mean — Fragmented parcels

Calculate topographic position as centre elevation minus neighbourhood mean — a worked case for fragmented parcels, with explicit data, a sensitivity comparison and an independent.

Calculate topographic position as centre elevation minus neighbourhood mean — Fragmented parcels

The measurement question

Topographic Position Index describes a cell's relative elevation within a chosen neighbourhood. Suppose a hypothetical centre cell is 112 m high and its eight neighbouring elevations average 109.5 m. Its TPI is +2.5 m, indicating it sits above that local reference. A second cell with the same absolute elevation could have negative TPI if surrounded by higher terrain. This makes the calculation useful for distinguishing local ridge-like and hollow-like positions without imposing an absolute elevation threshold. Neighbourhood scale matters: a small mound on a broad valley floor can be locally positive but negative relative to a much larger surrounding area.

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.

Surveyors working with a Trimble total station in Baden-Baden
Surveyors working with a Trimble total station in Baden-Baden.Source: Photograph: Frank C. Müller , Baden-Baden · CC BY-SA 4.0

Reproduce the numerical check

Illustrative input data: Centre elevation (centre) = 112.6 m; Surrounding-cell mean elevation (neighbour_mean) = 109.5 m.

Calculation: centre-neighbour_mean.

Topographic Position Index = 3.1 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 centre elevation (centre) from 112.6 to 123.86 m. Re-evaluating the same equation gives topographic position index = 14.36 m. The arithmetic difference from the baseline is 11.26 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 TPI to identify relative terrain positions at the scale relevant to the question. Compare multiple documented neighbourhoods when evaluating features ranging from small earthworks to broad landforms, rather than assuming one radius describes every phenomenon.

TPI alone does not prove erosion risk, drainage direction, or geomorphological class. Terrain noise, building remnants, uneven support, and interpolated edge cells can produce strong contrasts unrelated to the natural landform being investigated.

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

Compute one neighbourhood mean manually and compare its sign and magnitude with the raster result. Inspect profiles across selected positive and negative patches, and confirm whether edge interpolation or missing cells affected their values.

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 tpi ↗
  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