The urban planning of Barcelona developed in accordance with the historical and territorial changes of the city, and in line with other defining factors of public space, such as architecture, urban infrastructure and the adaptation and maintenance of natural spaces, parks and gardens.

The urban evolution of Barcelona has been constant since its foundation in Roman times to the present day, although since the nineteenth century it has been accentuated thanks to the Eixample plan and the aggregation of neighboring municipalities. Until the nineteenth century the city was constrained by its medieval walls as it was considered a military square, so its growth was limited. The situation changed with the demolition of the walls and the donation to the city of the fortress of the Citadel, which led to the expansion of the city across the adjacent plain, a fact that was reflected in the Eixample project drawn up by Ildefons Cerdà, which was the largest territorial expansion of Barcelona. Another significant increase in the area of the Catalan capital was the annexation of several municipalities adjoining Barcelona between the late nineteenth and early twentieth centuries, which led to a Plan of Connections () drawn up in 1903. Subsequently, urban development was marked by the increase in population due to immigration from other parts of Spain, which led to various urban projects such as the Regional Plan of 1953 or the Metropolitan General Plan of 1976. Likewise, the adaptation of the urban space of the city has been favored between the 19th and 21st centuries by various events held in the city, such as the Universal Exposition of 1888, the International Exposition of 1929, the International Eucharistic Congress held in 1952, the 1992 Summer Olympics, the 1992 Summer Paralympics and the Universal Forum of Cultures of 2004.

Urban development in recent years and the commitment to design and innovation, as well as the linking of urban planning with ecological values and sustainability, have made the Catalan capital one of the leading European cities in the field of urban planning, a fact that has been recognized with numerous awards and distinctions, such as the Prince of Wales Award for Urban Planning from Harvard University (1990) and the Royal Gold Medal from the Royal Institute of British Architects (RIBA) in 1999. The work carried out and the awards received have led to talk of a "Barcelona Model" of urban planning, which has served as a guide for numerous cities that have embarked on similar paths.

Geography and location

Barcelona, capital and largest city of the autonomous community of Catalonia, is located in the Spanish Levant, on the Mediterranean coast. Its geographical location is between 41°16' and 41°30' north latitude and between 1°54' and 2°18' east longitude. With an area of 102.16 km², it is situated on a plain about 11 km long and 6 km wide, bounded on its sides by the sea and by the Collserola mountain range —with the summit of Tibidabo (516.2 m) as its highest point—, as well as by the deltas of the Besós and Llobregat rivers. Above the coastline and separating the city from the Llobregat delta is the mountain of Montjuïc (184.8 m). Also, from the Collserola mountain range, several hills that follow a line parallel to the coastal range rise up on the plain: the hills of La Peira (133 m), La Rovira (261 m), El Carmel (267 m), Creueta del Coll (249 m), El Putget (181 m) and Monterols (121 m).

The plain of Barcelona is not uniform, but has several undulations caused by the many torrents that once crossed the land, and also has a uniform slope from the sea to the Collserola mountain range, with an ascent of about 260 m. It is crossed by several faults, mainly the one that separates the Collserola mountain range from the hills that come forward in the plain, with a northeast-southwest orientation, and the one that separates the mountain of Montjuic from the coast. The terrain is formed by a substrate of slate and granitic formations, as well as clays and limestones. The coast was formerly occupied by tidal marshes and salt-water lagoons, which disappeared as the coastline advanced thanks to the sediments provided by the rivers and streams that flowed into the beach; it is estimated that since the sixth century BC, the coastline has been able to advance about 5 km. The area of the plain was formerly crossed by numerous torrents and streams, which were grouped into three fluvial sectors: Horta stream in the area near the Besòs river (or eastern area); the Blanca stream and the Gornal torrent in the Llobregat area (or western area); and, in the central area of the plain, a group of streams coming from the southern slope of Tibidabo, such as the Sant Gervasi, Vallcarca, Magòria and Collserola streams.

The climate is Mediterranean, with mild winters thanks to the protection that the orography of the terrain offers to the plain, which is sheltered from the north winds. The temperature usually ranges between 9.5 °C and 24.3 °C, on average. Rainfall is low, about 600 mm per year, and most of the precipitation occurs in spring and autumn. This scarcity meant that in the past numerous works had to be carried out to supply water to the city, including wells, canals and irrigation ditches. The vegetation of the area consists mainly of pines and evergreen oaks, and undergrowth of heather, laurestine, arbutus and climbing plants. In the past, both rainfed and irrigated agriculture was practiced —mainly vineyards and cereals—, although nowadays almost the entire surface area is built up.

Barcelona, capital of the Barcelonès region and of the province of Barcelona, is the most important urban center in Catalonia in demographic, political, economic and cultural terms. It is the seat of the autonomous government and the Parliament of Catalonia, as well as the provincial deputation, the archbishopric and the IV Military Region, and has a port, an airport and an important network of railroads and roads. With a population of 1,604,555 inhabitants in 2015, it is the second most populous city in Spain after Madrid, and the eleventh most populous in the European Union.

Administrative divisions

Barcelona is divided into 10 districts and 73 neighborhoods:

Ciutat Vella (4.37 km², 100 685 inhabitants): corresponds to the old core of the city, the one derived from the Roman and medieval periods, plus the Barceloneta neighborhood, created in the eighteenth century. This area received much immigration from the rest of Spain during the nineteenth and twentieth centuries, settled mainly in the neighborhoods of Sant Pere and Raval; it has continued to do so during the twenty-first century, although with immigrants from other countries. This district has the oldest and lowest socioeconomic level population in the city, although in the new millennium a slow process of gentrification has begun in parallel to the urban development plans carried out in the district. Being the oldest part of the city, it has numerous monuments and architectural works of interest, making it an important focus of tourist attraction. On the other hand, it houses the most important institutions of the city, such as the City Hall or the Generalitat de Catalunya. Eixample (7.46 km², 263,565 inhabitants): this district arose from the expansion of the old city after the demolition of the walls, thanks to the Cerdà Plan drawn up by Ildefons Cerdà. It is a densely populated district, since in its beginnings it was mainly a residential area where wealthy families stayed after leaving the old part of the city. The social level, however, has stabilized, and today corresponds mainly to the middle class. Even so, it is an important focus of tourist attraction, especially due to the presence of modernist architectural works, which has encouraged trade and the installation in the area of major commercial brands. Sants-Montjuïc (21.35 km², 180,824 inhabitants): includes the old town of Sants, annexed to Barcelona in 1897, together with the land of Montjuïc mountain, which makes it the largest district of the city; it also includes the Zona Franca. It has a low population density, and its rate of population of foreign origin exceeds the average. It has a high percentage of green area, thanks mainly to the presence of the Montjuic mountain, as well as industrial land. Les Corts (6.08 km², 81,200 inhabitants): it comes from the old town of Les Corts de Sarrià, added to the city in 1897, with a probable origin in a medieval masia. It was an eminently agricultural area, which in the mid-nineteenth century experienced a significant urban growth with the construction of the area called Corts Noves. The population is mainly autochthonous, and stands out for its high rate of young people. The majority is middle class, although the Pedralbes neighborhood stands out as one of the most exclusive in the city. Its main economic activity is in the tertiary sector, and it is home to numerous financial institutions and office centers. Sarrià-Sant Gervasi (20.09 km², 145,761 inhabitants): it comes from the union of two former municipalities, Sarrià and Sant Gervasi de Cassoles. It is one of the largest districts, especially because it includes a large part of the Collserola mountain range. It is also the district with the lowest population density, mainly because it is a high status residential area, with a predominance of single-family houses. The economy is dominated by quality facilities, as well as private schools and health centers. Its population has the highest rate of higher education and technical and managerial professionals, as well as autochthonous residents, while the foreign population is dominated by the European Union. Gràcia (4.19 km², 120,273 inhabitants): has its origins in the old village of Gràcia, incorporated into the city in 1897. It was an agricultural area, which in the early nineteenth century began to forge an urban and industrial fabric. It has one of the highest population densities in the city, since its old center is characterized by narrow streets and tightly packed houses. Its population has a high percentage of elderly people and, although the level of education is above average, most are of lower-middle social class. Horta-Guinardó (11.96 km², 166,950 inhabitants): comes from the old town of Horta, added in 1904, to which the Guinardó district, formerly belonging to Sant Martí de Provençals, was added administratively. It was an agricultural area and summer residences, which received numerous immigrants, especially in the first two thirds of the twentieth century. Being a peripheral area, it has a low population density, with a predominance of young and lower-middle class population. During the years of massive immigration, it was an area of strong real estate speculation. Nou Barris (8.04 km², 164,516 inhabitants): is the most recently created district, on land segregated from Sant Andreu de Palomar. It is a peripheral area with a majority immigrant population, which also suffered from strong real estate speculation and even suffered from shantyism and self-construction, and which for a long time has suffered from a significant lack of assistance, infrastructure and basic services, which have been mitigated in recent times. The majority of the population is working class and has low purchasing power.