Community leaders have welcomed new figures which show a healthy outlook for Edinburgh's economy and workforce.

The city council published its latest Edinburgh by Numbers statistics on Thursday to illustrate a range of factors from visitor footfall to the number of homeowners.

It was submitted just a few days after an impact study revealed that Edinburgh's festivals generated £313m to the economy.

The figures, published a month after the UK voted to leave the European Union, have left city leaders confident that it will remain attractive to investors.

The document revealed that 1239 new jobs in the capital were created by foreign firms in 2015; making Edinburgh the second UK city only to London for jobs generated by overseas investment.

More than half of Edinburgh's workforce (55%) has a degree; up from 46% in 2013.

The so-called Edinburgh by Numbers portfolio will be used to promote the city and to build on plans to "continue its prosperity".

Councillor Gavin Barrie, convener of the economy committee, said "the facts speak for themselves".

He added: "The data is extremely encouraging and shows that the number of people educated to degree level has shot up since 2013.

"It also further strengthens our reputation as a knowledge-based economy, enhancing the attractiveness of Edinburgh for employers to locate or expand their business.

"The figures relating to the economy are strong with the number of jobs created by foreign direct investments continuing to perform better than other major UK cities. Our green credentials are also very good as we have almost half of all the green flag parks in Scotland and our recycling rates were higher than other major Scottish cities."

In the past three years, nearly 35,000 new workers registered from overseas.

Of these, three-quarters came from Europe; with the highest volume coming from Spain, Poland and Italy.

A large number of workers also travelled from India, China and the USA.

Figures for 2015 also reflect that more than nine of of ten (92%) former state school pupils were in work, training or education within six months of leaving school, compared with 88.3% in 2012.

Mr Barrie added: "Our economic and green indicators show we are well placed to adapt to any changes we may have to face in future years in the way we did following the recent economic downturn.

"We are putting plans in place such as the continued development of the Edinburgh and south east Scotland city region deal to ensure our continued prosperity in the future."