Positive Train Control (PTC) is a safety system that uses GPS and a database of rail assets to determine train location and speed. PTC aims to prevent train-to-train collisions, enforce speed restrictions, and improve work zone safety. It utilizes sensors on trains and a geodatabase of rail features including signals, turnouts, mileposts and crossings. PTC is required by law on commuter and hazardous material rail lines following fatal accidents where it could have prevented derailments caused by excessive speed, such as a 2015 Amtrak crash where the train was traveling 102 mph in a 50 mph zone.