Ecublens, Vaud, Switzerland to be more precise. Quite where in Ecublens I'm not sure, there are mutiple stations, yards and junctions inthe greater area. https://www.google.com/maps/place/Ecublens,+Switzerland/@46.5286182,6.5424166,6034m/data=!3m2!1e3!4b1!4m6!3m5!1s0x478c31052cbee56f:0x400ff8840198520!8m2!3d46.5296363!4d6.5615252!16zL20vMDJ2NnEy?entry=ttu
Possibly on the Lausanne M1 metro line where the track doubles at stations. There are level crossings at many of them, ideal for taking a photo at that angle.
My guess is here , but there is no StreetView.