Repository navigation
Correcting SRTM with FABDEM: removing building "bumps" from the terrain #16
Mission-analyzer
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
The problem. Mission Analyzer, like most tools, takes its terrain from SRTM. But SRTM is a surface model, not a ground model: the radar sees rooftops and tree canopies. In open country this goes unnoticed. Over dense urban areas, a street turns into a hill. In Kyiv, on Volodymyrska St. opposite the Teachers' House, SRTM shows a bump of +40–50 m above the flat street. In Pechersk, Pozniaky and Teremky it reaches +80 m.
The error ended up in three places at once:
FABDEM. FABDEM (Forest And Buildings removed DEM) comes from the University of Bristol (Hawker et al., Environmental Research Letters, 2022).
How Mission Analyzer uses it. We deliberately did not just swap in FABDEM wholesale:
relief_v1_i_j.npztiles on a 1″ grid and built into the ground model. The camera, the impact calculation and SITL all read the same corrected ground. The ground model remembers the signature of the FABDEM file it was built from; if that tile changes, the cell is marked for recalculation.The result for Kyiv:
Left: how much the terrain was lowered. Grey areas are unchanged, forests included. Right: a profile along 50.4458° N through Volodymyrska St. at the Teachers' House. Red is SRTM, with a ~220 m bump in the middle of the block. Dashed grey is FABDEM. Blue is the chosen option: under buildings the ground follows FABDEM, about 180 m, level with the neighbouring streets. Green is the rejected option of cutting only the spikes.
After the recalculation, the bridges and overpasses that sit on this ground were checked with the
check_bridges.pyscript: 0 hanging ends.What others do.
Bottom line. "Ground without buildings" is not a Mission Analyzer invention. FlightGear already uses FABDEM directly, and MSFS add-ons tackle the same problem with lidar. What's specific to our approach is correcting only under buildings, with a smooth transition. More importantly, the corrected ground is seen not just by the visuals but also by the autopilot in SITL.
Sources
(c) Serhii Horbachevskyi, s.gorbi@gmail.com
All reactions