Railway

Railway is the buildable structure which trains run on. Railways are used to connect Train stations where train stops. Railways can be laid on the ground. It cannot loop upside-down.

Switches are made by joining two rail segments and then adding a third segment to that junction. A flag will be placed on the switch, but currently it's wonky, and its setting is ignored by automated trains.

Minimum and maximum build length
The minimum length for a single segment is 12 meters. An end-to-end railway segment on foundations is limited to 99 meters long, while in other cases is 100meters. You can join multiple segments end to end to build a longer rail.

Cost
The cost of the rail is 1 Steel Pipe + 1 Steel Beam at the first 6 meters, and 1 Steel Pipe + 1 Steel Beam for every 12 subsequent meters. Due to the build length constrains, it is capped between 2 Steel Pipes + 2 Steel Beams to 9 Steel Pipes + 9 Steel Beams.

Turning radius
The minimum radius is 17 meters.

Maximum slope
If the starting and ending points lie on the horizontal surface such as foundations, the maximum slope is 28 meters high over the distance of 94.5 meters, which is 1:3.375. If both starting and ending points lie on the Ramp 8m x 2m, the maximum slope can be increased to 1:2.7. You could not build a rail on a Ramp 8m x 4m.

The steepest measured slope is 1:2.322. To achieve this you have to find terrain with matching gradient or or by building short segments of sloping rails below the main rail.

Build order
It is advised to build the Train Station before building the rail. Attempt to build the station on top of the existing railway, the station will be built on top of it but not connected. You could, however, build the railway with free end snapped to foundation then build a train station at the end of it. Same applied to Freight Platforms.

Collision width
The is no collision box implemented at the moment, which means that the rail (and entire trains) can clip trough the ground. Judging from the visual it is about 6 meters wide and 1 meter high.

Snapping
Rails snap on foundations, ramps, Train Stations, Freight Platforms and Empty Platforms.

Deconstruction
You can deconstruct the rail at any time. You cannot deconstruct the rail in a train station; you have to deconstruct the train station instead. Deconstructing a rail segment with train moving on it will stop the train. Deconstructing a rail splitway will remove the Railroad Switch Control together.

Supporting columns
There is no supporting columns for the rail, as opposed to what is displayed in the E3 trailer. The latitude curvature of a rail is only dependent on the slope of the stating and ending points, that means if the starting and ending points lie on a flat surface such as foundations, the rail will be perfectly horizontal, despite a large gap in between. On the other hand, attempting to build on uneven ground could lead to unexpected sloping of rail.

Derailing
A train cannot derail when approaching the end of the rail with high speed. Instead, it will simply stop abruptly at the end of the rail. The train segments will be 'compressed' together visually.

Power
Railway can conduct power, to feed it to Electric Locomotives, or between any connected station. You could utilize it as the backbone of your Power Grid. A simple crossroad will not conduct power to the crossing railway, both railways must be connected with a split way to conduct power.