Location: /cgi-bin/json/NavSiteJSON.php
This script will create GeoJSON output using data from the NASR database. This will extract a list of Navigation Aids from the database. Here is sample output:
{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"id": "66",
"properties": {
"data": "NAVAIDS",
"id": "DCU",
"type": "VOR/DME",
"name": "DECATUR",
"state": "AL",
"country": "US",
"elev": "182",
"freq": "112.80",
"mag_dev": "01W"
},
"geometry": {
"type": "Point",
"coordinates": [-86.939,34.648]
}
},
{ "type": "Feature",
"id": "74",
"properties": {
"data": "NAVAIDS",
"id": "RQZ",
"type": "VORTAC",
"name": "ROCKET",
"state": "AL",
"country": "US",
"elev": "369",
"freq": "112.20",
"mag_dev": "02E"
},
"geometry": {
"type": "Point",
"coordinates": [-86.634,34.797]
}
},
{ "type": "Feature",
"id": "79",
"properties": {
...
The properties output from the script are:
The script can be passed parameters via command line or through CGI REQUEST. The parameters to the script include: