The vertical alignment at a railway level crossing can be a critical factor in the risk of crashes involving larger/longer or lower vehicles.
The preference is for the road grading to be smooth at the crossing, however this is rarely possible. Usually, the rail grading will be a control on the road. The road should not be more than 75mm above, nor more than 150mm below the projection of the top of the rail at a distance 10m from the rail.
Further information is available in VicRoads Supplement to AGRD Part 4.