Back to Insights Hub
HD MAPPINGReading Time: 5 Min

HD Maps From the Air, Part 6: Giving a 2D Map Its Heights

A surface model knows the height of whatever the aircraft saw, which on a road is often a car roof. Height assignment is mostly about not believing it blindly.

1. Draping on a surface model

Every vertex of a 2D annotation takes its height from the digital surface model at its position. We read a small window around the vertex, seven by seven cells, rather than a single cell, so one noisy cell cannot move a vertex. Polygons can also take the mean height of their vertices.

The result is a 3D shapefile or GeoJSON per layer, written alongside the 2D version so reviewers can compare them.

2. What the surface model gets wrong

A surface model includes vehicles, trees and bridges. A marking under a parked car would inherit the car's roof height. We smooth heights along lines and treat occluded segments separately, so a vertex under an object does not take the object's height.

Heights must also end up in the right datum. Requirements asked for ellipsoidal heights; surface models are often orthometric, so the geoid separation has to be applied, and written down, in one place.

TRY THIS ARCHITECTURE LIVE
Test the matching sandbox right now.