<<back

Code Sample 2 - NTSB data importer.

This program demonstrates how to use the API to create data which can later be exported in convenient form (for example, GPX format). The resulting data sample for WEST of the United States (saved in GPX format after conversion) can be downloaded here. Download full source code and executable here.

The program opens original NTSB files (Access95 format, freely available at http://www.ntsb.gov/ntsb/query.asp, follow link "Downloadable Datasets", "Access95" - ftp://www.ntsb.gov/avdata/Access95/) and commands QuakeMap to create waypoints for the records that contain coordinates. Only records with specified coordinates are actually useful, which limits Access95 file set to 1983, 1989, 1990, 1995, 2000-2004(March). You can easily create your own datasets using the sample code.

The FULL resulting data (saved in GPX format after conversion, very slow on display) can be downloaded here

In this file the data is divided into four zones:

    file name             longitude           number of waypoints
  ------------------------------------------------------------------
    ntsb-hiak.gpx         -180...-125            437 waypoints
    ntsb-west.gpx         -125...-110           1151 waypoints
    ntsb-central.gpx      -110...-90            1083 waypoints
    ntsb-east.gpx          -90...+180           1886 waypoints

Every waypoint contains a web link to original incident description, so that clicking on waypoints/labels in QuakeMap brings up a web page.

DISCLAIMER.

There is no warranty of any kind for completeness, usability or quality of data. All data provided "as is" for reference only. We do not guarantee bug-free operation of software. Refer to original NTSB data sets for uses associated with any kind of risk.

Click here to see Sample 1 - API demonstration.