Railroad property is private property. For your safety, it is illegal to be there unless you are at a designated public crossing. Trains overhang the tracks by at least three feet in both directions; loose straps hanging from rail cars may extend even further.