It is located on high ground from the northern shore of the Firth of Forth on the route of major road and rail crossings across the firth to LOCATION@1 and the south .

It sits on high ground three miles from the northern shore of the Firth of Forth , northwest of LOCATION@1 , and was an ancient capital of LOCATION@2 .
