Milestone Determination for Autonomous Railway Operation