Abstract. The authors attempted to determine the amount of a roof's surface required for the installation of PVs panels, in terms of the type of building, roof shape, slope, exposition and potential shading of the structure. The area selected for the study was the city of Wrocław, Poland.Photovoltaics are perceived to be a viable option for reducing the environmental impact of energy production while simultaneously increasing local energy security. Exploiting the potential of cities in generating energy from photovoltaics is increasingly evident; in particular, to provide the individual needs of cities, estates or buildings. Due to the diversity of the construction of buildings' roofs, as well as the impact of neighbouring buildings, determining the technical potential at the stage of preliminary analyses is necessary. For these aims, it seems almost obvious to use high-resolution LiDAR data and a GIS spatial analysis.The LiDAR data in the form of a classified points cloud (12 pt/m 2 ) and the Database of Topographic Object from which information on the building class was taken was used. A digital surface model of roofs with a spatial resolution of 1 m was created from the LiDAR data. A slope and a roof exposition models were created, and the roofs were finally counted in 90 categories. The authors have also analysed the conditions for the shading of their own and neighbouring objects with regard to the vertical and horizontal angle of the sunlight for Wrocław, Poland, on characteristic dates: the March and September equinox, the summer and winter solstice, and analysing the period from 8 am to 4 pm in one hour intervals. Analyses of the available areas were made regarding the building's class.