This is quite an interesting report of cities that excel as a tech cities. Forty cities were measured against a framework that takes into consideration different aspects of how the city promotes, uses and handle the relationship with the technology.

This is the result:

Quite surprised to see Barcelona scoring so high.

Madrid is not listed, but it was not considered between the 40 initial cities.