If any person driving a vehicle approaches a railroad grade crossing and a law enforcement officer or a clearly visible or audible signal gives warning of the immediate approach of a railway train or car or other on-track equipment, the driver shall bring the vehicle to a complete stop within fifty feet but not less than fifteen feet from the nearest rail of the railroad and may not proceed until the driver can do so safely. A violation of this section is a Class 2 misdemeanor.
SDCL 32-29-4