These locations are along the line.
This was the junction for the Cairn Valley Light Railway (Glasgow and South Western Railway) about 1 and 3/4 miles north of Dumfries. The branch was a single track 'light' railway.
This was the terminus of the Cairn Valley Light Railway (Glasgow and South Western Railway) which started from just north of Dumfries. The terminus was in the south of the town.
The Cairn Valley Light Railway: Moniaive to Dumfries (Locomotion Papers)
The Glasgow & South Western Railway a History