Jump to content

You're browsing the 2004-2023 VATSIM Forums archive. All content is preserved in a read-only fashion.
For the latest forum posts, please visit https://forum.vatsim.net.

Need to find something? Use the Google search below.

GetPressureAltitude vs GetFlightLevel


Kent Dong 1191810
 Share

Recommended Posts

Kent Dong 1191810
Posted
Posted

In plugin development, there are two methods to retrieve the altitude of an aircraft, CAircraftPositionData::GetPressureAltitude and CAircraftPositionData::GetFlightLevel. It looks like one is for aircrafts below the TA and the other is for those above the TA. But it seems there is no way to get the value of current TA set in ES. So how should we determine which method we should use to retrieve the altitude of an aircraft?

 

Thanks.

Link to comment
Share on other sites

Alen Smriko 1034823
Posted
Posted

Pressure altitude is not QNH altitude, yet QNE altitude

Link to comment
Share on other sites

 Share