The government is assessing old and risky rail crossings nationwide to determine where overpasses or underpasses can be built to improve safety.