Recovering urban space for green areas and its impact on the social dynamics of the city