A person cannot legally park their car within 7 ½ feet from a railroad track. Most vehicles have to stop every time they encounter a railroad crossing. However, tractor trailers are an exception. Also, if a person crosses a railroad track in a nondesignated area, it is considered trespassing.