An altitude measuring system is described that includes a radar altimeter configured to measure altitude and a digital terrain map database. The database includes data relating to terrain elevation and at least one data parameter relating to an accuracy of the terrain elevation data and the altitude measured by the radar altimeter. The system is configured to weigh an altitude derived from the terrain elevation data and the radar altimeter measurements according to the at least one data parameter.