When the tunnel of the Edinburgh and Granton railway was being constructed under the new town, and the adjacent buildings were considered in imminent danger, Buchanan was commissioned by the sheriff of Edinburgh to supervise the works on behalf of the city.
In 1833 he was elected a Fellow of the Royal Society of Edinburgh, being proposed by Robert Stevenson.