Well there is a way to make railways
step 1 : start making the provice
step 2 : Make a 2 edge line of where you want the road/railway to go
step 3 : Make a train or road unit in a special cap (note the train unit has to be sea other or transport to work)
Steps with screan shots
STEP 1
STEP 2
STEP 3