Profiles and earthworks
Once the routes are found, each road gets a height profile (how high its surface is along its length), and the node carves that surface into the terrain: the road and its shoulders are made flat, the ground beside them is cut down or built up, and ditches are dug in the cuttings.
Width and shoulders
Section titled “Width and shoulders”| Setting | |
|---|---|
| Width | The width of the road surface, in metres. |
| Width Variation % | Each road’s width is drawn within this share of the class width (in 0.25 m steps), so not every B road is exactly 5.5 m. |
| Shoulder | A flat strip on each side of the surface, at road height, before the earthworks start. |
The carved flat strip always reaches a little past the surface edge, so the wheels of a car at the edge of the road are still on flat ground.
The height profile
Section titled “The height profile”The profile starts as the terrain height along the road, smoothed, and is then limited:
- Profile Smoothing (metres) smooths the profile over that distance, so the road doesn’t follow every bump. It also rounds the crests and dips into vertical curves. Main roads default to 80 m (they drive almost flat), back roads to 50 m, trails to 4 m (they follow the ground).
- Max Grade % limits how steeply it may climb or fall between any two points.
- Max Cut/Fill (Earthworks) limits how far the profile may leave the ground, above or below. Where the grade limit and this limit disagree, the grade wins: a road never gets steeper than its Max Grade, so on rough ground the cuts and fills can be deeper than Max Cut/Fill.
A road that joins another meets it at the other road’s height, eased in over the last stretch, so junctions have no steps.
Cuttings and embankments
Section titled “Cuttings and embankments”Where the road is below the ground it is cut in, and where it is above the ground it sits on an embankment. The slopes on each side are set by the Earthworks group:
| Setting | |
|---|---|
| Cut Slope | The steepness of the cut banks, as rise over run: 1 is 45°, 0.5 is 1 in 2. |
| Fill Slope | The steepness of the embankment sides: 0.5 (1 in 2) by default. |
| Max Earthwork Width | How far beyond the shoulder the cut or fill slopes may reach. Where a slope would reach further, it is cut off there and steepens into a wall. |
| Camber % | The cross-fall from the crown of the road to its edges, so water runs off. |

Gentle slopes look more natural and are easier to drive off, but they reach further and change more of the terrain. Very steep slopes and a short Max Earthwork Width leave walls along the road.
Ditches
Section titled “Ditches”Ditch Depth digs a ditch along each side of the road in the cuttings, between the shoulder and the cut bank. Main roads default to 0.6 m, back roads to 0.4 m, trails to none.

Where the earthworks go
Section titled “Where the earthworks go”The roads are carved one at a time, trails first and main roads last, each against the terrain the others left. The earthworks of a later road never cut into the surface of an earlier one, and the node keeps parallel roads and the legs of switchbacks far enough apart for both to be carved.
The nodes after the Road Network see the carved terrain. A generator or filter added after it changes the roads too (and noise added on top makes them bumpy); put such nodes before the Road Network, or under a mask that leaves the roads out (a Mask with Feature Type Road Surface, inverted).
