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:

  1. UNKNOWN_KIND_AIRPORT (0)
  2. HARD_SURFACE_AIRPORT (1)
  3. SOFT_SURFACE_AIRPORT (2)
  4. WATER_SURFACE_AIRPORT (3)
  5. HELIPAD_AIRPORT (4)
  6. PRIVATE_AIRPORT (5)
WaypointAirportLongestRunwayDirection Degrees
WaypointAirportType

Enum:

  1. UNKNOWN_TYPE_AIRPORT (0)
  2. PUBLIC_TYPE_AIRPORT (1)
  3. MILITARY_TYPE_AIRPORT (2)
  4. PRIVATE_TYPE_AIRPORT (3)
WaypointAirportName String
WaypointAirportCity String
WaypointAirportRegion String
WaypointAirportLatitude Degrees
WaypointAirportLongitude Degrees
WaypointAirportElevation Meters
WaypointAirportFuel1 String
WaypointAirportFuel2 String
WaypointAirportRadarCoverage

Enum:

  1. UNKNOWN (0)
  2. NO (1)
  3. YES (2)
WaypointAirportAirspace String
WaypointAirportTowered Boolean
WaypointAirportCurrentFrequency Hz
WaypointAirportSelectedFrequencyIndex Number
WaypointAirportSelectedFrequencyValue Number
WaypointAirportFrequenciesNumber Number
WaypointAirportFrequencyName Number
WaypointAirportFrequencyLimit

Enum:

  1. NO_LIMIT (0)
  2. RX_ONLY (1)
  3. TX_ONLY (2)
  4. PART_TIME (3)
WaypointAirportFrequencyValue Hz
WaypointAirportFrequencyType

Enum:

  1. UNKNOWN (0)
  2. COM (1)
  3. NAV (2)
  4. 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:

  1. UNKNOWN (0)
  2. CONCRETE (1)
  3. ASPHALT (2)
  4. GRASS (101)
  5. TURF (102)
  6. DIRT (103)
  7. CORAL (104)
  8. GRAVEL (105)
  9. OIL_TREATED (106)
  10. STEEL (107)
  11. BITUMINUS (108)
  12. BRICK (109)
  13. MACADAM (110)
  14. PLANKS (111)
  15. SAND (112)
  16. SHALE (113)
  17. TARMAC (114)
  18. SNOW (115)
  19. ICE (116)
  20. WATER (201)0
WaypointAirportRunwayLighting

Enum:

  1. UNKNOWN (0)
  2. NONE (1)
  3. PART_TIME (2)
  4. FULL_TIME (3)
  5. FREQUENCY (4)

 

 

Airport Approaches

 

GPS Variable Units Settable
WaypointAirportBestApproachEnum

Enum:

  1. UNKNOWN (0)
  2. VFR (1)
  3. HEL (2)
  4. TACAN (3)
  5. NDB (4)
  6. LORAN (5)
  7. RNAV (6)
  8. VOR (7)
  9. GPS (8)
  10. SDF (9)
  11. LDA (10)
  12. LOC (11)
  13. MLS (12)
  14. 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:

  1. UNKNOWN_KIND_AIRPORT (0)
  2. HARD_SURFACE_AIRPORT (1)
  3. SOFT_SURFACE_AIRPORT (2)
  4. WATER_SURFACE_AIRPORT (3)
  5. HELIPAD_AIRPORT (4)
  6. PRIVATE_AIRPORT (5)
NearestAirportCurrentLongestAirportDirection Meters
NearestAirportCurrentDistance Meters
NearestAirportCurrentTrueBearing Degrees
NearestAirportCurrentBestApproachEnum

Enum:

  1. UNKNOWN (0)
  2. VFR (1)
  3. HEL (2)
  4. TACAN (3)
  5. NDB (4)
  6. LORAN (5)
  7. RNAV (6)
  8. VOR (7)
  9. GPS (8)
  10. SDF (9)
  11. LDA (10)
  12. LOC (11)
  13. MLS (12)
  14. 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:

  1. UNKNOWN (0)
  2. CONCRETE (1)
  3. ASPHALT (2)
  4. GRASS (101)
  5. TURF (102)
  6. DIRT (103)
  7. CORAL (104)
  8. GRAVEL (105)
  9. OIL_TREATED (106)
  10. STEEL (107)
  11. BITUMINUS (108)
  12. BRICK (109)
  13. MACADAM (110)
  14. PLANKS (111)
  15. SAND (112)
  16. SHALE (113)
  17. TARMAC (114)
  18. SNOW (115)
  19. ICE (116)
  20. WATER (201)
NearestAirportSelectedAirportCity String
NearestAirportSelectedAirportElevation Meters
NearestAirportSelectedRunway Numbers
NearestAirportSelectedFrequencyValue Hz
NearestAirportSelectedFrequencyIndex Number
NearestAirportSelectedAirportLatitude Degrees
NearestAirportSelectedAirportLongitude Degrees