Scope
File structure
Changes from previous file versions
Example data and explanation
Return to the X-Plane File Definition home page
This document describes the file format and codes used in X-Plane's nav.dat file, 740 version.
This data file format is usable with X-Plane version 7.40 - 8.09. It was superceded by the nav.dat 810 version.
This is the "official" definition of the X-Plane file formats. If you spot any errors or inconsistencies, then please let me know. Likewise if you do not think that X-Plane is interpreting these data correctly.
The nav.dat file defines all navigation aid data in X-Plane, including global NDBs, VORs, VORTACs, VOR-DMEs, DMEs, and ILS components (localisers, glideslopes, marker beacons and any associated DMEs).
The file structure is similar to all other X-Plane data files.
Here is an example of the two header lines, six nav-ads and a file termination line:
I
740 Version - DAFIF data cycle 200502, build 1921, metadata NavXP740, Copyright ©
2005, Robin A. Peel (robin@xsquawkbox.net). This data is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program ("AptNavGNULicence.txt"); if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. This product was developed using DAFIF (the Defense Aeronautical Flight Information File), a product of the US National Imagery and Mapping Agency (NIMA). NIMA requires the following warranty statements: (A) Under 10 U.S.C. 456, no civil action may be brought against the United States on the basis of the content of a navigational aid prepared or disseminated by either the former Defense Mapping Agency (DMA) or the National Imagery and Mapping Agency (NIMA). (B) The DAFIF product is provided "as is," and no warranty, express or implied, including, but not limited to the implied warranties of merchantability and fitness for particular purpose or arising by statute or otherwise in law or from a course of dealing or usage in trade, is made by NIMA as to the accuracy and functioning of the product. (C): Neither NIMA nor its personnel will be liable for any claims, losses, or damages arising from or connected with the use of this product. The user agrees to hold harmless the United States National Imagery and Mapping Agency. The user's sole and exclusive remedy is to stop using the DAFIF product.
2 34.987022 -106.620384 5304 247 50 0.000 ILT Isleta NDB
3 35.043796 -106.816312 5740 11320 130 13.000 ABQ Albuquerque VORTAC
4 35.044026 -106.570548 0 11190 18 90.428 ISPT KABQ 08 ILS
6 35.043212 -106.614641 5352 11190 10 300090.428 ISPT KABQ 08 GS
7 35.046352 -106.742583 0 0
0 90.428 ---- KABQ 08 OM
8 35.044686 -106.628247 0 0
0 90.428 ---- KABQ 08 MM
99
The codes used to identify data are:
| Line codes used in nav.dat (740 version) | |
| Code (nav.dat) | Used for |
| 2 | NDB. |
| 3 | VOR, VORTAC or VOR-DME. |
| 4 | Localiser (LLZ) that is part of a full ILS. |
| 5 | Stand-alone localiser (LLZ), also including LDA (Landing Directional Aid) and SDF (Simplified Directional Facility). |
| 6 | Glideslope (GS). |
| 7 | Outer marker (OM). |
| 8 | Middle marker (MM). |
| 9 | Inner marker (IM). |
| 12 | DME (including the DME element of an ILS, VORTAC or VOR-DME). |
Sequencing of data is conceptually unimportant. But it controls the display of data on X-Plane's menu options. By default, data is sorted by the "line code", then alphabetically by nav-aid name.
Here is a simplified file fragment some nav-aids in nav.dat:
2 34.987022 -106.620384 5304 247 50 0.000 ILT Isleta NDB
3 35.043796 -106.816312 5740 11320 130 13.000 ABQ Albuquerque VORTAC
4 35.044026 -106.570548 0 11190 18 90.428 ISPT KABQ 08 ILS-cat-I
6 35.043212 -106.614641 5352 11190 10 300090.428 ISPT KABQ 08 GS
7 35.046352 -106.742583 0 0
0 90.428 ---- KABQ 08 OM
8 35.044686 -106.628247 0 0
0 90.428 ---- KABQ 08 MM
12 49.201986 -123.164006 28 11190 130 0.000 IRD Vancouver DME
This shows an NDB, VORTAC and an ILS (including localiser, glideslope, outer marker and inner marker) and a DME. The meaning of the data (for the first record) is:
| Meaning of example nav-aid data (nav.dat 740 version) | |
| Nav-aid example | Example Usage |
| 2 | Type of nav-aid |
| 34.987022 | Latitude of nav-aid in decimal degrees |
| -106.620384 | Longitude of nav-aid in decimal degrees. |
| 5304 | Elevation of nav-aid in feet above MSL. |
| 247 | Frequency of nav-aid. (Always an integer – so VOR and localiser frequencies multiplied by 100). |
| 50 | Range of the nav-aid in nautical miles. |
| 0.000 |
Used for several purposes, depending upon the type of nav-aid:
|
| ILT | Identification of nav-aid (broadcast in Morse code in X-Plane). Note that these are not unique. |
| Isleta NDB | Name of nav-aid. Note that for ILS components these are carefully structured (see below) to identify the airport and runway.. |
Localisers (code 4 and 5) are very similar, except that:
Glideslopes (code 6) have very similar data to localisers, except that the glideslope angle (typically 3 degrees) is combined with the heading in a slightly complex fashion. A glideslope of 3.00 degrees on a heading of 90.428 (true) will be listed as “300090.428”. This is calculated by:
ILS marker beacons (codes, 7, 8 and 9) are formatted just like localisers, but note that:
DMEs (code 12) are shown for:
© Robin Peel, 2005. Last updated September 09, 2006