It is random! Unfortunately.
I really wanted to do a pick-three mechanic but I had to overhaul the track laying mechanic since the original one wasn't very fun. I agree, its another thing (along with multiple rail types, like "permanent double crossing") that would enhance the game greatly.