Location: /cgi-bin/json/CwaJSON.php
This script will create GeoJSON output using data from the ADDS database. The latest set of Center Weather Advisories are returned. Here is sample output:
{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"id": "3709",
"properties": {
"data": "CWA",
"cwsu": "ZNY",
"name": "New York",
"seriesId": "201",
"validTimeFrom": "2019-12-30T19:08:00Z",
"validTimeTo": "2019-12-30T20:00:00Z",
"hazard": "TS",
"qualifier": "ISOL",
"top": 34000,
"cwaText": "FAUS22 KZNY 301908\nZNY2 CWA 301908 \nZNY CWA 201 VALID UNTIL 302000\n
28ESE ETX\nISOL TS DIAM 20NM MOV FROM 23050KT. TOPS TO FL340. IMPACTS TO THE W \n
GATES OF N90.\n\n="
},
"geometry": {
"type": "Polygon",
"coordinates": [
[[-75.12,40.57],[-75.08,40.56],[-75.05,40.56],[-75.01,40.54],
[-74.98,40.53],[-74.95,40.51],[-74.93,40.48],[-74.91,40.46],
[-74.90,40.43],[-74.90,40.40],[-74.90,40.37],[-74.91,40.34],
[-74.93,40.32],[-74.95,40.29],[-74.98,40.27],[-75.01,40.26],
[-75.05,40.24],[-75.08,40.24],[-75.12,40.23],[-75.16,40.24],
[-75.19,40.24],[-75.23,40.26],[-75.26,40.27],[-75.29,40.29],
[-75.31,40.32],[-75.33,40.34],[-75.34,40.37],[-75.34,40.40],
[-75.34,40.43],[-75.33,40.46],[-75.31,40.48],[-75.29,40.51],
[-75.26,40.53],[-75.23,40.54],[-75.19,40.56],[-75.16,40.56],
[-75.12,40.57]]
]
}
},
{ "type": "Feature",
"id": "3494",
"properties": {
"data": "CWA",
...
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: