Lt Col David Robertson MacDonald of Kinlochmoidart FRSE (1764-1845) was a British army officer linked to the history of Sri Lanka (then known as Ceylon).