When an engineer has to construct a railway up a hill having a still steeper slope, he must secure practicable gradients by laying out the line in ascending spirals, if necessary tunnelling into the hill, as on the St Gothard railway, or in a series of zigzags, or he must resort to a rack or a cable railway.
They were forced to slow their pace when the trail became covered with slippery shale and the path grew steeper.
Racks of this type usually become impracticable for gradients steeper than 1 in 4, partly because of the excessive weight of the engine required and partly because of the tendency of the cog-wheel to mount the rack.
For surmounting still steeper slopes, cable railways may be employed.
The lines through them should be, if possible, straight and on the level; the British Board of Trade forbids them being placed on a gradient steeper than i in 260, unless it is unavoidable.