In 1812 , the famous Kilmarnock and Troon Railway opened , mainly to carry coal from the area to the harbor at Troon , but also carrying passengers . In 1812 , the Kilmarnock and Troon Railway opened , mainly to carry coal from the area to the harbor at Troon , but also carrying passengers .