Nils Gustav von Heidenstam (1822 – 2 June 1887) was a Swedish engineer born in Blekinge.
He was the chief engineer of the Swedish Royal Coast Guard.
[1] He was the son of Werther Werner von Heidenstam (16 October 1763 – 1852) and father of Verner von Heidenstam (1859–1940), poet, novelist and laureate of the Nobel Prize in Literature in 1916.
[3] He designed the type of lighthouse of which Pater Noster is an example, which is often called 'Heidenstammare'.
Of a total of eleven lighthouses of this type, ten still remain.