libacfutils
A general purpose library of utility functions designed to make it easier to develop addons for the X-Plane flight simulator.
|
#include <airportdb.h>
Data Fields | |
char | ident [8] |
char | icao [8] |
char | iata [4] |
char | cc [4] |
geo_pos3_32_t | pos |
uint16_t | max_rwy_len |
uint16_t | TA |
uint16_t | TL |
avl_node_t | node |
This structure is used in the fast-global-lookup index of airportdb_t. This index is stored entirely in memory and thus doesn't incur any disk time access penalty, but it's also not as fully-featured.
This attempts to replicate the most useful fields of ARINC 424 "PA" records in a compact-enough manner that we can hold the entire world-wide database in memory at all times. For more information, lookup the airport using airport_lookup_ident by using the ident field. The other identifier fields may be empty, if the airport lacks this information.
Definition at line 318 of file airportdb.h.
char cc[4] |
2-letter country code. May be empty.
Definition at line 326 of file airportdb.h.
char iata[4] |
IATA code. May be empty
Definition at line 324 of file airportdb.h.
char icao[8] |
ICAO code. May be empty.
Definition at line 322 of file airportdb.h.
char ident[8] |
Globally unique name.
Definition at line 320 of file airportdb.h.
uint16_t max_rwy_len |
Length of longest runway in feet.
Definition at line 328 of file airportdb.h.
avl_node_t node |
Definition at line 331 of file airportdb.h.
geo_pos3_32_t pos |
Reference point, elevation in feet.
Definition at line 327 of file airportdb.h.
uint16_t TA |
Transition alt in feet. Zero if unknown.
Definition at line 329 of file airportdb.h.
uint16_t TL |
Transition level in feet. Zero if undef.
Definition at line 330 of file airportdb.h.