Not OP but looks like platform 1 at Pontypridd to me
It most definitely is. Taken on my way to work this afternoon
This photo seems to confirm the location:
Platform 1, Pontypridd railway station
© Copyright
Jaggery and licensed for reuse under this
Creative Commons Licence.
(Click on the photo to go to the larger original on the Geograph website.)
Mapping of the area shows two road bridges run under the station a little distance apart, so I deduce these are guard rails to restrict movement of a derailed train as it crosses these bridges, although I would have thought approaching the end of this bay platform would have been at low speed and derailments very unlikely!
There's one bridge (taff street/high street) running up to the graig, but there is a very slight gap when you walk under it and look up (I don't know if that means it's two separate bridges, then the next one going up valley is the one ove the A4058 roundabout, also where the Rhondda line and Merthyr line split. Going down valley, the next bridge is the foot underbridge halfway down Broadway and then it's over it's a road bridge going over before reaching treforest station. The rails are positioned over the bridge to the graig tho, so the guard rail bit really makes sense
This photo seems to confirm the location:
Platform 1, Pontypridd railway station
© Copyright
Jaggery and licensed for reuse under this
Creative Commons Licence.
(Click on the photo to go to the larger original on the Geograph website.)
Mapping of the area shows two road bridges run under the station a little distance apart, so I deduce these are guard rails to restrict movement of a derailed train as it crosses these bridges, although I would have thought approaching the end of this bay platform would have been at low speed and derailments very unlikely!
There's one bridge (taff street/high street) running up to the graig, but there is a very slight gap when you walk under it and look up (I don't know if that means it's two separate bridges, then the next one going up valley is the one ove the A4058 roundabout, also where the Rhondda line and Merthyr line split. Going down valley, the next bridge is the foot underbridge halfway down Broadway and then it's over it's a road bridge going over before reaching treforest station. The rails are positioned over the bridge to the graig tho, so the guard rail bit really makes sense.
In my photo, you can see the ramparts (if that what they are called) of the graig bridge, just behind the bushes to the right of the track
The area of ballast probably held a run-round loop or siding at one time - plenty of width to stop a slow-moving train and it isn't even the outside of the curve. Bear in mind that with no guard rails, the opposite running rail would do the same job if the train deviated by a bit less than the track gauge. The guard rails only make a difference if that amount of deviation would tip the train over the edge, or I suppose if a serious break in the running rail nearer to the edge not only caused a derailment but also prevented the rail from curbing the sideways movement.
For me to answer the second question I'd have to have a better view of the structure, and I'd have to be a structural engineer.
From what I am (very slightly aware of) of the history of pontypridd station, I think the track used to lead along further, and I think there possibly may also have been another track further left, and then it was cut back, and that bit of the graig bridge removed