The construction of a three-dimensional (3D) geological model to the scale of a city (greater Bordeaux area, France) has been undertaken, using several thousand boreholes and several hundred geotechnical tests on a more limited area. Data from some specific geographical areas have also been analysed for the purposes of professional applications related to geotechnical engineering, urban archaeology and asset management of buried networks. This paper focuses on the geotechnical dimensions, uncertainties and associated hazards. First, a geometrical model of the quaternary layer basis was built to the scale of the city, the variogram of which quantifies and models the anisotropic spatial correlation of this layer. Two specific studies were then made, as described in the following:modelling of the stratigraphy, to the scale of the city, in order to assess the depth and extent of the Flandrian formations. The thickness of these formations is directly linked to the staircase terraces of the Garonne river. on-site site analysis of an area where an infrastructure has suffered damage, resulting from large differential settlements, owing to its poor geotechnical properties. We show how geostatistical methods applied to in-situ or laboratory parameters can improve knowledge and understanding of the site, and can be useful in improving the settlement predictions which had been initially underestimated.