# Miscellaneous {{< callout context="caution" title="IMPORTANT!" icon="outline/alert-triangle" >}} GPS variables are **deprecated** in Microsoft Flight Simulator 2024. For more information, please see the [GPS Vars In MSFS 2024](gps-variables/#gps_2024) section. {{< /callout >}} The tables below indicate the requirements for the [GPS Variables](gps-variables/) that can be used to get and set various different GPS properties. You can find a complete index of all available GPS Vars here: [GPSVar Index](gps-variables/#index) ### Nearest Airspace {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="NearestAirspaceCurrentLatitude" />}}`NearestAirspaceCurrentLatitude` | Degrees | {{< check/good >}} | | {{< anchor id="NearestAirspaceCurrentLongitude" />}}`NearestAirspaceCurrentLongitude` | Degrees | {{< check/good >}} | | {{< anchor id="NearestAirspaceCurrentAltitude" />}}`NearestAirspaceCurrentAltitude` | Meters | {{< check/good >}} | | {{< anchor id="NearestAirspaceTrueGroundTrack" />}}`NearestAirspaceTrueGroundTrack` | Degrees | {{< check/good >}} | | {{< anchor id="NearestAirspaceGroundSpeed" />}}`NearestAirspaceGroundSpeed` | Meters per Second | {{< check/good >}} | | {{< anchor id="NearestAirspaceNearDistance" />}}`NearestAirspaceNearDistance` | Meters | {{< check/good >}} | | {{< anchor id="NearestAirspaceNearAltitude" />}}`NearestAirspaceNearAltitude` | Meters | {{< check/good >}} | | {{< anchor id="NearestAirspaceAheadTime" />}}`NearestAirspaceAheadTime` | Seconds | {{< check/good >}} | | {{< anchor id="NearestAirspaceQuery" />}}`NearestAirspaceQuery` | Number | {{< check/good >}} | | {{< anchor id="NearestAirspaceMaximumItems" />}}`NearestAirspaceMaximumItems` | Number | {{< check/good >}} | | {{< anchor id="NearestAirspaceMaximumDistance" />}}`NearestAirspaceMaximumDistance` | Meters | {{< check/good >}} | | {{< anchor id="NearestAirspaceItemsNumber" />}}`NearestAirspaceItemsNumber` | Number | {{< check/bad >}} | | {{< anchor id="NearestAirspaceCurrentLine" />}}`NearestAirspaceCurrentLine` | Number | {{< check/good >}} | | {{< anchor id="NearestAirspaceCurrentName" />}}`NearestAirspaceCurrentName` | String | {{< check/bad >}} | | {{< anchor id="NearestAirspaceCurrentType" />}}`NearestAirspaceCurrentType` | Enum:{{< params/smallfont >}}`NONE` (0)`CENTER` (1)`CLASS_A` (2)`CLASS_B` (3)`CLASS_C` (4)`CLASS_D` (5)`CLASS_E` (6)`CLASS_F` (7)`CLASS_G` (8)`TOWER` (9)`CLEARANCE` (10)`GROUND` (11)`DEPARTURE` (12)`APPROACH` (13)`MOA` (14)`RESTRICTED` (15)`PROHIBITED` (16)`WARNING` (17)`ALERT` (18)`DANGER` (19)`NATIONAL_PARK` (20)`MODE_C` (21)`RADAR` (22)`TRAINING` (23){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NearestAirspaceCurrentFrequency" />}}`NearestAirspaceCurrentFrequency` | Hz | {{< check/bad >}} | | {{< anchor id="NearestAirspaceCurrentFrequencyName" />}}`NearestAirspaceCurrentFrequencyName` | String | {{< check/bad >}} | | {{< anchor id="NearestAirspaceCurrentMinAltitude" />}}`NearestAirspaceCurrentMinAltitude` | Meters | {{< check/bad >}} | | {{< anchor id="NearestAirspaceCurrentMaxAltitude" />}}`NearestAirspaceCurrentMaxAltitude` | Meters | {{< check/bad >}} | | {{< anchor id="NearestAirspaceCurrentStatus" />}}`NearestAirspaceCurrentStatus` | Enum:{{< params/smallfont >}}`NONE` (0)`NEAR` (1)`AHEAD` (2)`NEAR_AHEAD` (3)`INSIDE` (4){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NearestAirspaceCurrentNearDistance" />}}`NearestAirspaceCurrentNearDistance` | Meters | {{< check/bad >}} | | {{< anchor id="NearestAirspaceCurrentAheadTime" />}}`NearestAirspaceCurrentAheadTime` | Seconds | {{< check/bad >}} | {{< /table-wrapper >}} ### Messages {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="MessageItemsNumber" />}}`MessageItemsNumber` | Number | {{< check/bad >}} | | {{< anchor id="MessageCurrentLine" />}}`MessageCurrentLine` | Number | {{< check/good >}} | | {{< anchor id="MessageCurrentType" />}}`MessageCurrentType` | Enum:{{< params/smallfont >}}`NONE` (0)`NEAR` (1)`AHEAD` (2)`NEAR_AHEAD` (3)`INSIDE` (4){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NewMessagesNumber" />}}`NewMessagesNumber` | Number | {{< check/bad >}} | | {{< anchor id="NewMessagesConfirm" />}}`NewMessagesConfirm` | Number | {{< check/good >}} | {{< /table-wrapper >}} ### ICAO Search Data {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="IcaoSearchInitialIcao" />}}`IcaoSearchInitialIcao` | String | {{< check/good >}} | | {{< anchor id="IcaoSearchStartCursor" />}}`IcaoSearchStartCursor` | String | {{< check/good >}} | | {{< anchor id="IcaoSearchStopCursor" />}}`IcaoSearchStopCursor` | Number | {{< check/good >}} | | {{< anchor id="IcaoSearchAdvanceCursor" />}}`IcaoSearchAdvanceCursor` | Number | {{< check/good >}} | | {{< anchor id="IcaoSearchAdvanceCharacter" />}}`IcaoSearchAdvanceCharacter` | Number | {{< check/good >}} | | {{< anchor id="IcaoSearchEnterChar" />}}`IcaoSearchEnterChar` | String | {{< check/good >}} | | {{< anchor id="IcaoSearchBackupChar" />}}`IcaoSearchBackupChar` | Number | {{< check/good >}} | | {{< anchor id="IcaoSearchCursorPosition" />}}`IcaoSearchCursorPosition` | Number | {{< check/bad >}} | | {{< anchor id="IcaoSearchCurrentIdent" />}}`IcaoSearchCurrentIdent` | String | {{< check/bad >}} | | {{< anchor id="IcaoSearchCurrentIcao" />}}`IcaoSearchCurrentIcao` | String | {{< check/good >}} | | {{< anchor id="IcaoSearchCurrentIcaoType" />}}`IcaoSearchCurrentIcaoType` | String | {{< check/bad >}} | | {{< anchor id="IcaoSearchCurrentIcaoRegion" />}}`IcaoSearchCurrentIcaoRegion` | String | {{< check/bad >}} | | {{< anchor id="IcaoSearchMatchedIcaosNumber" />}}`IcaoSearchMatchedIcaosNumber` | Number | {{< check/bad >}} | | {{< anchor id="IcaoSearchMatchedIcao" />}}`IcaoSearchMatchedIcao` | Number | {{< check/good >}} | {{< /table-wrapper >}} ### Name Search Data {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="NameSearchInitialIcao" />}}`NameSearchInitialIcao` | String | {{< check/good >}} | | {{< anchor id="NameSearchInitialName" />}}`NameSearchInitialName` | String | {{< check/good >}} | | {{< anchor id="NameSearchStartCursor" />}}`NameSearchStartCursor` | String | {{< check/good >}} | | {{< anchor id="NameSearchStopCursor" />}}`NameSearchStopCursor` | Number | {{< check/good >}} | | {{< anchor id="NameSearchAdvanceCursor" />}}`NameSearchAdvanceCursor` | Number | {{< check/good >}} | | {{< anchor id="NameSearchAdvanceCharacter" />}}`NameSearchAdvanceCharacter` | Number | {{< check/good >}} | | {{< anchor id="NameSearchEnterChar" />}}`NameSearchEnterChar` | String | {{< check/good >}} | | {{< anchor id="NameSearchBackupChar" />}}`NameSearchBackupChar` | Number | {{< check/good >}} | | {{< anchor id="NameSearchCursorPosition" />}}`NameSearchCursorPosition` | Number | {{< check/bad >}} | | {{< anchor id="NameSearchCurrentName" />}}`NameSearchCurrentName` | String | {{< check/good >}} | | {{< anchor id="NameSearchCurrentMatch" />}}`NameSearchCurrentMatch` | Number | {{< check/bad >}} | | {{< anchor id="NameSearchCurrentIcao" />}}`NameSearchCurrentIcao` | String | {{< check/bad >}} | | {{< anchor id="NameSearchCurrentIcaoType" />}}`NameSearchCurrentIcaoType` | String | {{< check/bad >}} | | {{< anchor id="NameSearchCurrentIcaoRegion" />}}`NameSearchCurrentIcaoRegion` | String | {{< check/bad >}} | {{< /table-wrapper >}} ### Facilities {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="FacilityICAO" />}}`FacilityICAO` | String | {{< check/good >}} | | {{< anchor id="FacilityCode" />}}`FacilityCode` | String | {{< check/bad >}} | | {{< anchor id="FacilityIdent" />}}`FacilityIdent` | String | {{< check/bad >}} | | {{< anchor id="FacilityValid" />}}`FacilityValid` | Boolean | {{< check/bad >}} | | {{< anchor id="FacilityName" />}}`FacilityName` | String | {{< check/bad >}} | | {{< anchor id="FacilityCity" />}}`FacilityCity` | String | {{< check/bad >}} | | {{< anchor id="FacilityRegion" />}}`FacilityRegion` | String | {{< check/bad >}} | | {{< anchor id="FacilityLatitude" />}}`FacilityLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FacilityLongitude" />}}`FacilityLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="FacilityMagneticVariation" />}}`FacilityMagneticVariation` | Degrees | {{< check/bad >}} | {{< /table-wrapper >}} ### Geo Calculations {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="GeoCalcLatitude1" />}}`GeoCalcLatitude1` | Degrees | {{< check/good >}} | | {{< anchor id="GeoCalcLongitude1" />}}`GeoCalcLongitude1` | Degrees | {{< check/good >}} | | {{< anchor id="GeoCalcAzimuth1" />}}`GeoCalcAzimuth1` | Degrees | {{< check/good >}} | | {{< anchor id="GeoCalcLatitude2" />}}`GeoCalcLatitude2` | Degrees | {{< check/good >}} | | {{< anchor id="GeoCalcLongitude2" />}}`GeoCalcLongitude2` | Degrees | {{< check/good >}} | | {{< anchor id="GeoCalcAzimuth2" />}}`GeoCalcAzimuth2` | Degrees | {{< check/good >}} | | {{< anchor id="GeoCalcLength" />}}`GeoCalcLength` | Meters | {{< check/good >}} | | {{< anchor id="GeoCalcCrossTrack" />}}`GeoCalcCrossTrack` | Meters | {{< check/bad >}} | | {{< anchor id="GeoCalcBearing" />}}`GeoCalcBearing` | Degrees | {{< check/bad >}} | | {{< anchor id="GeoCalcDistance" />}}`GeoCalcDistance` | Meters | {{< check/bad >}} | | {{< anchor id="GeoCalcIsIntersect" />}}`GeoCalcIsIntersect` | Boolean | {{< check/bad >}} | | {{< anchor id="GeoCalcIntersectionLatitude" />}}`GeoCalcIntersectionLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="GeoCalcExtrapolationLatitude" />}}`GeoCalcExtrapolationLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="GeoCalcExtrapolationLongitude" />}}`GeoCalcExtrapolationLongitude` | Degrees | {{< check/bad >}} | {{< /table-wrapper >}}