The answer depends on which landmark 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 measured from the nearest rail and must be at least 10 m. Without a gate nothing separates the vehicle from the tracks, so the margin is bigger