Airports
IMPORTANT!
GPS variables are deprecated in Microsoft Flight Simulator 2024. For more information, please see the GPS Vars In MSFS 2024 section.
The tables below indicate the requirements for the GPS Variables that can be used to get and set the different GPS properties associated with airports. You can find a complete index of all available GPS Vars here: GPSVar Index
| GPS Variable | Units | Settable |
|---|---|---|
WaypointAirportICAO | String | |
WaypointAirportIdent | String | |
WaypointAirportKind | Enum:UNKNOWN_KIND_AIRPORT (0)HARD_SURFACE_AIRPORT (1)SOFT_SURFACE_AIRPORT (2)WATER_SURFACE_AIRPORT (3)HELIPAD_AIRPORT (4)PRIVATE_AIRPORT (5) | |
WaypointAirportLongestRunwayDirection | Degrees | |
WaypointAirportType | Enum:UNKNOWN_TYPE_AIRPORT (0)PUBLIC_TYPE_AIRPORT (1)MILITARY_TYPE_AIRPORT (2)PRIVATE_TYPE_AIRPORT (3) | |
WaypointAirportName | String | |
WaypointAirportCity | String | |
WaypointAirportRegion | String | |
WaypointAirportLatitude | Degrees | |
WaypointAirportLongitude | Degrees | |
WaypointAirportElevation | Meters | |
WaypointAirportFuel | String | |
WaypointAirportRadarCoverage | Enum:UNKNOWN (0)NO (1)YES (2) | |
WaypointAirportAirspace | String | |
WaypointAirportTowered | Boolean | |
WaypointAirportCurrentFrequency | Hz | |
WaypointAirportSelectedFrequencyIndex | Number | |
WaypointAirportSelectedFrequencyValue | Number | |
WaypointAirportFrequenciesNumber | Number | |
WaypointAirportFrequencyName | Number | |
WaypointAirportFrequencyLimit | Enum:NO_LIMIT (0)RX_ONLY (1)TX_ONLY (2)PART_TIME (3) | |
WaypointAirportFrequencyValue | Hz | |
WaypointAirportFrequencyType | Enum:UNKNOWN (0)COM (1)NAV (2)ADF (3) |
Airport Runways
| GPS Variable | Units | Settable |
|---|---|---|
WaypointAirportCurrentRunway | Number | |
WaypointAirportRunwaysNumber | Number | |
WaypointAirportRunwayLatitude | Degrees | |
WaypointAirportRunwayLongitude | Degrees | |
WaypointAirportRunwayElevation | Meters | |
WaypointAirportRunwayDirection | Degrees | |
WaypointAirportRunwayDesignation | String | |
WaypointAirportRunwayLength | Meters | |
WaypointAirportRunwayWidth | Meters | |
WaypointAirportRunwaySurface | Enum:UNKNOWN (0)CONCRETE (1)ASPHALT (2)GRASS (101)TURF (102)DIRT (103)CORAL (104)GRAVEL (105)OIL_TREATED (106)STEEL (107)BITUMINUS (108)BRICK (109)MACADAM (110)PLANKS (111)SAND (112)SHALE (113)TARMAC (114)SNOW (115)ICE (116)WATER (201) | |
WaypointAirportRunwayLighting | Enum:UNKNOWN (0)NONE (1)PART_TIME (2)FULL_TIME (3)FREQUENCY (4) |
Airport Approaches
| GPS Variable | Units | Settable |
|---|---|---|
WaypointAirportBestApproachEnum | Enum:UNKNOWN (0)VFR (1)HEL (2)TACAN (3)NDB (4)LORAN (5)RNAV (6)VOR (7)GPS (8)SDF (9)LDA (10)LOC (11)MLS (12)ILS (13) | |
WaypointAirportBestApproach | String | |
WaypointAirportCurrentApproach | Number | |
WaypointAirportSelectedApproach | Number | |
WaypointAirportApproachesNumber | Number | |
WaypointAirportApproachName | String | |
WaypointAirportApproachGps | Boolean | |
WaypointAirportApproachTransitionsNumber | Number | |
WaypointAirportApproachCurrentTransition | Number | |
WaypointAirportApproachSelectedTransition | Number | |
WaypointAirportApproachTransitionName | String | |
WaypointAirportApproachTransitionLatitude | Degrees | |
WaypointAirportApproachTransitionLongitude | Degrees | |
WaypointAirportApproachTransitionSize | Meters | |
WaypointAirportApproachCurrentLeg | Number | |
WaypointAirportApproachNumberLegs | Number | |
WaypointAirportApproachCurrentLegIcao | String | |
WaypointAirportApproachCurrentLegType | String | |
WaypointAirportApproachCurrentLegBearing | Degrees | |
WaypointAirportApproachCurrentLegDistance | Meters | |
WaypointAirportApproachCurrentLegIsMinutes | Boolean |
Airport Departures
| GPS Variable | Units | Settable |
|---|---|---|
WaypointAirportDeparturesNumber | Number | |
WaypointAirportCurrentDeparture | Number | |
WaypointAirportDepartureName | String | |
WaypointAirportDepartureWaypointsNumber | Number | |
WaypointAirportDepartureCurrentWaypoint | Number | |
WaypointAirportDepartureWaypointICAO | String |
Airport Arrivals
| GPS Variable | Units | Settable |
|---|---|---|
WaypointAirportArrivalsNumber | Number | |
WaypointAirportCurrentArrival | Number | |
WaypointAirportArrivalName | String | |
WaypointAirportArrivalWaypointsNumber | Number | |
WaypointAirportArrivalCurrentWaypoint | Number | |
WaypointAirportArrivalWaypointICAO | String |
Nearest Airports
| GPS Variable | Units | Settable |
|---|---|---|
NearestAirportMaximumItems | Number | |
NearestAirportMaximumDistance | Meters | |
NearestAirportItemsNumber | Number | |
NearestAirportCurrentLine | Number | |
NearestAirportCurrentICAO | String | |
NearestAirportCurrentIdent | String | |
NearestAirportCurrentFrequency | Hz | |
NearestAirportCurrentFrequencyName | String | |
NearestAirportCurrentFuel1 | String | |
NearestAirportCurrentFuel2 | String | |
NearestAirportCurrentAirportKind | Enum:UNKNOWN_KIND_AIRPORT (0)HARD_SURFACE_AIRPORT (1)SOFT_SURFACE_AIRPORT (2)WATER_SURFACE_AIRPORT (3)HELIPAD_AIRPORT (4)PRIVATE_AIRPORT (5) | |
NearestAirportCurrentLongestAirportDirection | Meters | |
NearestAirportCurrentDistance | Meters | |
NearestAirportCurrentTrueBearing | Degrees | |
NearestAirportCurrentBestApproachEnum | Enum:UNKNOWN (0)VFR (1)HEL (2)TACAN (3)NDB (4)LORAN (5)RNAV (6)VOR (7)GPS (8)SDF (9)LDA (10)LOC (11)MLS (12)ILS (13) | |
NearestAirportCurrentBestApproach | String | |
NearestAirportCurrentComFrequencyName | String | |
NearestAirportCurrentComFrequencyValue | Hz | |
NearestAirportCurrentLongestRunwayLength | Meters | |
NearestAirportCurrentApproach | Number | |
NearestAirportCurrentApproachName | String | |
NearestAirportCurrentTowered | Boolean | |
NearestAirportCurrentAirportLatitude | Degrees | |
NearestAirportCurrentAirportLongitude | Degrees | |
NearestAirportCurrentDeparture | Number | |
NearestAirportDeparturesNumber | Number | |
NearestAirportDepartureName | String | |
NearestAirportDepartureWaypointsNumber | Number | |
NearestAirportDepartureCurrentWaypoint | Number | |
NearestAirportDepartureWaypointICAO | String | |
NearestAirportSelected | Number | |
NearestAirportSelectedAirportName | String | |
NearestAirportSelectedLatitude | Degrees | |
NearestAirportSelectedLongitude | Degrees | |
NearestAirportSelectedNumberFrequencies | Number | |
NearestAirportSelectedApproachIndex | Number | |
NearestAirportSelectedNumberApproaches | Number | |
NearestAirportSelectedAirportRunwaysNumber | Number | |
NearestAirportSelectedRunwayDesignation | String | |
NearestAirportSelectedRunwayLength | Meters | |
NearestAirportSelectedRunwayWidth | Meters | |
NearestAirportSelectedRunwaySurface | Enum:UNKNOWN (0)CONCRETE (1)ASPHALT (2)GRASS (101)TURF (102)DIRT (103)CORAL (104)GRAVEL (105)OIL_TREATED (106)STEEL (107)BITUMINUS (108)BRICK (109)MACADAM (110)PLANKS (111)SAND (112)SHALE (113)TARMAC (114)SNOW (115)ICE (116)WATER (201) | |
NearestAirportSelectedAirportCity | String | |
NearestAirportSelectedAirportElevation | Meters | |
NearestAirportSelectedRunway | Numbers | |
NearestAirportSelectedFrequencyValue | Hz | |
NearestAirportSelectedFrequencyIndex | Number | |
NearestAirportSelectedAirportLatitude | Degrees | |
NearestAirportSelectedAirportLongitude | Degrees |