>>1884954A rack for the cogwheels if the line needs to climb/descend on very high grades.
Also you can make dual gauge lines (the third rail is for broad gauge), or lines with opposing traffic (common on cableways, where you know where trains would meet exactly. The line changes to four rails to allow trains to avoid each other there)