Prince Charles visits Edinburgh on royal train to promote green issues.