Until 2012 the Cold Spring/Rockville branch extended southwestward from its connection with the St. Joseph branch line in west St. Cloud, passed through Waite Park and Rockville and terminated just west of Cold Spring, approximately 16 miles .