NiVO / BY TECHNOGISGermany · Indonesia
Geospatial

Test line simplification with a perpendicular-distance tolerance — Open rectangular block

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

Test line simplification with a perpendicular-distance tolerance — Open rectangular block

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

The block has clear edges and an accessible perimeter. The initial dataset is deliberately simple so that a discrepancy can be traced to one input rather than hidden by complex geometry. Place the independent reference outside the adjustment set and record whether the reference represents bare ground or the visible surface.

Use a complete boundary walk and a small independently measured patch to test the assumptions. A neat rectangular footprint is not evidence that every part of the block has usable observations.

Laptop used for an OpenStreetMap editing session in JOSM
Laptop used for an OpenStreetMap editing session in JOSM.Source: Alejandro Escamilla · CC0

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) = 0.8 m.

Calculation: abs((Cx-Ax)*(Ay-By)-(Ax-Bx)*(Cy-Ay))/sqrt((Cx-Ax)**2+(Cy-Ay)**2).

Intermediate-point perpendicular distance = 0.8 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 0.8 to 0.88 m. Re-evaluating the same equation gives intermediate-point perpendicular distance = 0.88 m. The arithmetic difference from the baseline is 0.08 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.

Retain a boundary mask, a reference-point inventory and a list of excluded areas. The recipient needs to distinguish an observed surface from an interpolation beyond the measured edge.

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. Shapely simplify ↗
  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