Test line simplification with a perpendicular-distance tolerance — Independent audit sample
Test line simplification with a perpendicular-distance tolerance — a worked case for independent audit sample, with explicit data, a sensitivity comparison and an independent evidence check.

The measurement question
Douglas–Peucker simplification tests how far intermediate vertices depart from a proposed straight replacement segment. For an illustrative line A=(0,0), B=(50,0.8), C=(100,0), the maximum departure from segment AC is 0.8 m. A tolerance of 1 m can remove B, while 0.5 m retains it. This example helps choose a simplification threshold for a small-scale overview of a drone-digitised boundary. The threshold is a map-generalisation choice, not a statement that the original boundary is uncertain by that distance. Keep the detailed source for measurements and review shared boundaries, because independently simplifying neighbouring features can create gaps or overlaps.
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 reviewer receives only a documented subset of the observations. The subset is selected before looking for favourable results and remains separate from any adjustment or tuning process. The example shows why an auditable selection rule matters as much as the arithmetic reported for it.
Apply the stated selection rule again and check whether it yields the same sample. Include difficult records and exceptions so that the audit is not limited to easy observations.

Reproduce the numerical check
Illustrative input data: Segment start x (Ax) = 0 m; Segment start y (Ay) = 0 m; Segment end x (Cx) = 100 m; Segment end y (Cy) = 0 m; Intermediate point x (Bx) = 50 m; Intermediate point y (By) = 1.4 m.
Calculation: abs((Cx-Ax)*(Ay-By)-(Ax-Bx)*(Cy-Ay))/sqrt((Cx-Ax)**2+(Cy-Ay)**2).
Intermediate-point perpendicular distance = 1.4 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 intermediate point y (By) from 1.4 to 1.54 m. Re-evaluating the same equation gives intermediate-point perpendicular distance = 1.54 m. The arithmetic difference from the baseline is 0.14 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
Set simplification for a stated display scale and retain the unsimplified measurement geometry. For adjacent polygons, use a coverage-aware workflow or shared-edge review so independently simplified boundaries do not introduce new slivers between features.
A tolerance can remove small but important bends, narrow entrances, or terrain features. Coordinate units must be meaningful, and preserving one polygon's validity does not automatically preserve topology across an entire neighbouring polygon coverage.
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
Inspect the maximum original-to-simplified displacement, vertex count, and feature validity. Compare critical corners and adjacent boundaries visually at their intended map scale, then confirm that measurement workflows still reference the detailed source dataset.
Deliver the sample rule, the complete inventory and the audit findings. Identify which conclusions refer to the sample and which require further evidence from the full population.
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.



