DEM elevations quantise to 30m cells; dense points inside a cell share one value and the whole rise lands on the single boundary segment -> a false steep spike in slope colouring. Compute each segment's grade as a central difference over a >=30m window (config gradeWindowM) so a cell step spreads across the cell and the colour reflects the real grade. maxGrade uses the windowed value too. |
||
|---|---|---|
| .. | ||
| css | ||
| data | ||
| img | ||
| js | ||
| lib | ||
| index.html | ||