The script can be passed parameters via command line or through CGI REQUEST. The parameters to the script include:

bbox=minlon,minlat,maxlon,maxlat - This is the bounding box for area of interest. This limits the stations output in GeoJSON to those within that lat/lon range. The default is -130,20,-60,60.

filter=prior - This tells the script to use a priority scheme to filter stations on a priority scheme. It will base what priority to use on the size of the bounding box. The priority is 3 for VORTAC, 4 for VOR/DME and 5 for VOR. The default is to only return stations with a priority of 2 or lower.

priority=# - This sets the default priority. The default is 3.

jsonp=callback - This sets the callback function to be used in a JSONP call. This is just when the script is called on another server. The default is null which outputs straight JSON.