TFDi Design Icon
TFDi Design

Adding Airports

Editing file: <PACX Installation Directory>\Assets\Airports.xml

In this file, you will find every airport that PACX recognises as an airport. Each airport has 9 values that need to be entered to be recognised as a valid airport. Ensure that each Airport is inside the Airports tag (before the </Airports> tag). These nine values are:

  • Ident - This is the identifier of the airport, usually a 4 letter combination which is unique to the specific airport
  • Name - This is the name of the airport
  • Latitude and longitude - These are the co-ordinates of the airport. You can usually find these co-ordinates via a mapping tool online
  • Elevation - This is the field elevation of the airport from the mean sea level in feet.
  • Continent - This is the continent of the airport. There are six continent codes, which are: NA (North America), SA (South America), EU (Europe), AF (Africa), AS (Asia), OC (Oceanic)
  • Country - This is the country code. This is the 2 letter country code. Most two letter country codes can be found on this website: https://www.iban.com/country-codes
  • Region - This is an optional field, usually used with United States Airports to separate each state.
  • Municipality - This is an optional field, this is the city the airport is located in

Note: Optional values should still be added, but kept with empty xml data

A valid airport will look similar to the following:

<Airport Ident="EGLL" Name="London Heathrow Airport" Latitude="51.4706" Longitude="-0.461941" Elevation="83" Continent="EU" Country="GB" Region="GB-ENG" Municipality="London" />