1. A method of predicting collisions with obstacles on the ground and generating warnings, receiving as input at least one obstacle clearance sensor and a zone for extracting map data comprising the following steps: extraction, from an obstacle database, of a list of pointlike obstacles, the list of pointlike obstacles comprising, for each pointlike obstacle, the horizontal distance separating the pointlike obstacle from the current position of the aircraft, the horizontal accuracy and the height of the pointlike obstacle; extraction, from an obstacle database, of a list of linear obstacles, the list of linear obstacles comprising, for each linear obstacle, a list of pointlike obstacles corresponding to each end of the linear obstacle; determination, according to the obstacle clearance sensor, of the risks associated with the extracted pointlike obstacles and generation of a warning; determination, according to the obstacle clearance sensor, of the risks associated with the extracted linear obstacles and generation of a warning.