London Gatwick Airport is LGW and Dublin Airport is DUB. These codes are created by the International Air Transport Association (IATA) and airlines use them to identify the departing and arrival airports in the flight routes they service.