Skip to content

Elevation Smoothing Of Tower Nodes - #3437

Merged
karussell merged 8 commits into
masterfrom
ele_smoothing
Nov 16, 2026
Merged

karussell merged 8 commits into
masterfrom
ele_smoothing

Conversation

@karussell

@karussell karussell commented Nov 16, 2026 •

Copy link
Copy Markdown
Member

Additionally to the pillar smoothing and tower/bridge smoothing this adds the possibility to smooth all tower nodes after the import with the mean of the elevation along "the road" within the given radius in meter (following the straightest edge pair). It takes approx. 5 minutes for planet wide import and does not consume more than peak memory of the import before. Optional and disabled by default.

Not existent bumps like this will go away making the total ascend+descend smaller and more realistic. Also about 1 in 10 route edges gets more than 1 % flatter.

However there are a few (footway) edges (<0.5% of all) where the slope gets steeper: e.g. for this route but the total ascend still stays the same and these edge are very often already very steep before (>20%).

Examples with bigger slope reduction:

  • this route -> steepest edge 2% instead of 7. Ascend+descend: from 9 m down to 4.9 m with this branch.
  • this route -> 2% instead of 7. Ascend+descend: 6.1 to 3.2 m
  • this route -> 5% instead of 11. Ascend+descend: 9.4 to 6.5 m
  • this route -> 6% instead of 17. Ascend+descend: 9.7 to 6.5 m
  • this route -> 6% instead of 17. Ascend+descend: 5.8 to 3 m

Here are other examples where the slope was reduced and often resulted in smaller ascend+descend too.

Together with the previous work this fixes #2028.

@karussell karussell added this to the 12.0 milestone Nov 16, 2026
@karussell karussell changed the title Elevation Smoothing Elevation Smoothing Of Tower Nodes Nov 16, 2026
@karussell
karussell merged commit 585a82e into master Nov 16, 2026
4 checks passed
@karussell
karussell deleted the ele_smoothing branch November 16, 2026 13:53

This branch was previously deployed

1 inactive deployment
benchmarks — 4457f00d Deployed Nov 13, 2026 by karussell via trigger_measurement #2868
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Filter out artificial elevation gain/loss

1 participant