Sixty-one percent of Poland's population is urban. Warsaw (Warszawa), the capital of the country and its largest city, has a population of 1.7 million. Four other cities (Lodz, Krakow, Wroclaw, and Poznan) have over 500,000 inhabitants each. In rural areas, people live predominantly in villages. In the eastern portion of the country, the street village type predominates; in the western areas, other types are more common. Farmsteads are surrounded by a fence and have several buildings located around an open center with the family dwelling facing the road. Traditionally, buildings were wooden with thatched roofs; now they are built of masonry with fireproof roofs.