score:9
Here an answer from personal experience.
Tram traffic mostly follows the rules/side of road as the road traffic they ride between, but exceptions are possible.
Train traffic does mostly have a preferred side of the track but does not always follow road traffic.
Mostly train preferences are by national network, but not all the time. A country where the national network is made up relatively recent out of several smaller networks, like in Switzerland, each network may follow its own rules and only meet at stations, you can just not be sure.
In both cases there are big exceptions, where only one side of the tracks may be used for whatever reasons. (From damage or work to just the track giving a better view on a difficult spot to animals along the tracks.)
From my home window I can see a factory rail line (double track) which connects with the national rail network a bit father down.
In the past the trains on the factory rail line (outside the factory boundaries here) would keep to the right hand side of the double line. After a prolonged period of work on them, they switched to whichever side of the line that seems best for that time. Which is quite often the left one of the double set.
A bit further down the tracks they meet up with and join a track coming in from the national rail network, going on as three tracks side by side and you can expect trains either directions on each of the three sets, ie all going west, all going east or anyone going opposite to the other two.
As this is a small network, the operators (control room) is likely more flexible than a national rail network, but I have seen this kind of situation in a much wider setting as well.
So never assume any rail traffic to be on a given side, always look, listen and look again. And of course, follow any signs.
Upvote:-2
While I can't speak to trams, I can speak to trains (at least in North America). First off, directional running is only a norm on certain parts of the North American rail network, usually older-but-still-busy lines which were originally signalled directionally but have not been upgraded. As modern signaling hardware (i.e. anything solid-state) fully supports bidirectional operation (so there's no reason not to put the lamps for both directions in, as the flexibility of bidirectional running outweighs the cost of another head at that point), modern or relatively recently upgraded lines will not have a strong preference as to which side trains run on -- in some cases (such as when an odd number of main tracks is present), the answer isn't even particularly meaningful as trains may be crossed over between tracks in basically arbitrary ways depending on conditions.
In places in North America where directional running is seen though, the common convention is right-hand (like roadways), although individual railroads or parts of railroads can, and sometimes do, use the opposite convention. It is also possible to have reversed track designations for a portion of the rail line (where while all eastbounds use Track 1, Track 1 starts off on the south side of the right of way then crosses over partway through to be on the north side of the right of way), which can introduce further confusion to the issue. Of course, it's possible both during and outside of construction works for trains to be issued authority to run "wrong rail", or in the opposite direction of the signal system, so be alert and always look both ways for both the first and the second train!
Upvote:4
There is an extensive discussion of this in Wikipedia here and a handy table by country in which we can find that it is the norm in Switzerland for road traffic to be RHS and multi-track rail traffic LHS except for Zürich and Lausanne.
Edit in response to comments.
The article I linked to clearly states that it is the trams in Zürich and Lausanne which are RHS.
Upvote:5
To answer your direct question: No, it doesn't matter whether trains run on the same side as road traffic in the same area does -- except, of course, for trams that run mixed with road traffic.
It doesn't even matter much whether trains on one line run on the same side as trains do on other lines in the network. It is less confusing for everyone if there's a consistency between different lines in a system, so usually each country has a convention anyway, but it's not as if it's unsafe to have parts of the system operate on the other side, and this does happen in some places for various reasons.
Having different conventions on different stretches of road would be a major safety risk, because all drivers would need to remember what the correct side for the particular road they're on is, and mistaking it could easily be disasterous. But train drivers don't control which of the tracks they're running on; the switches are controlled by the signaling system, which ensures that trains won't collide (unless they run a red signal) -- so there's no failure mode where trains crash into each other because one driver was mistaken about the rule of the road.
In most places the signaling system is constructed such it enforces running either on the left or on the right, unless special emergency working procedures are used. This is cheaper to build than bidirectional signaling where the signaler can choose to send any train running either on the left or on the right. In the recent several decades it has become common to install bidirectional signaling on new lines where any kind of traffic density is expected, but this is mostly for flexibility in case one of the tracks is temporarily out of service; in usual operations the same convention as the rest of the network is followed. And many existing lines still have signaling from before computerized signaling made it economically feasible to make every track bidirectional.
Some examples of special cases:
Trains run on the left in Sweden but on the right in Denmark. The two networks are connected by the Øresund bridge, and for engineering reasons the changeover point between left and right is at a flyover a few kilometers north of Malmö central station. So several double-tracked lines within Malmö use right-hand running like Denmark does.
One branch of the tram network in Gothenburg (also Sweden) is a converted railway line and does not feature any street running. The railway already had platforms between the tracks, and since the trams are unidirectional, they only have doors on the right side of the vehicle. So on that particular branch trams run on the left -- opposed to the rest of the tram network which run on the right like road traffic does.
A few short sections of the London Underground run on the right for historical reasons, or -- as in the case with the Victoria Line around Euston -- to provide covenient same-platform interchanges with other lines.
Similarly, a short stretch of the Munich S-Bahn (between Ostbahnhof and Giesing) runs on the left, because trains reverse direction at Ostbahnhof and it would be operationally inconvenient for them to need to cross paths while doing so.
Fully separate urban railways may run on a different side from the norm in the country they're in. For example the metros in Milan and Brescia run on the right, in contrast to mainline railways in Italy running on the left.