To some degree, yes, there are. But if you go to high-speed rail, the speeds you're talking about are simply beyond the capability of any technology to provide that kind of warning system. You absolutely must separate the traffic from the general public. You have to have overpasses or some means of securing the rail right of way so that people can't get into it.
On May 14th, 2009. See this statement in context.