The answer depends on what reference point the crossing has. If you may not go over the crossing, the driver stops at the
stop line, at the
sign or at the traffic light; if there are none, no closer than 5 m to the gate. When there is no gate either, the distance is counted from the nearest rail, and it must be at least 10 m. Without a gate nothing separates the vehicle from the tracks, so the margin is bigger