@captainnapalm The rail artwork on the map is only relevant as far as defining gauge and which land zones are being connected.
This is as per section 12.10 in the rules, “If a land zone has a border with a crossing railroad, the railroad allows rail movement across that border and is considered to connect to other rail lines present in that zone, including rail lines built on other zone borders.”
This allows you to greatly simplify pathing along rails.