Location: /cgi-bin/json/GairmetJSON.php
This script will create GeoJSON output using data from the ADDS database. The latest set of US Graphical AIRMETs are returned. Here is sample output:
{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"id": "17394-9",
"properties": {
"data": "GAIRMET",
"product": "SIERRA",
"hazard": "IFR",
"dueTo": "CIG BLW 010/VIS BLW 3SM PCPN/BR/FG",
"issueTime": "2019-12-30T14:45:00Z",
"validTime": "2019-12-30T21:00:00Z",
"forecast": "6"
},
"geometry": {
"type": "Polygon",
"coordinates": [
[[-70.86,45.33],[-67.07,41.48],[-66.93,38.91],[-70.31,38.17],
[-72.46,38.19],[-74.21,36.72],[-75.57,36.57],[-75.14,38.84],
[-77.13,40.55],[-74.76,44.17],[-72.47,44.28],[-70.86,45.33] ] ]
}
},
{ "type": "Feature",
"id": "17394-19",
"properties": {
"data": "GAIRMET",
"product": "SIERRA",
"hazard": "IFR",
...
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: