Changes between Version 21 and Version 22 of NERCPortals


Ignore:
Timestamp:
18/03/08 17:44:29 (12 years ago)
Author:
mkochan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • NERCPortals

    v21 v22  
    100100This also shows the preferred location of the config file. 
    101101 
     102Example format of the config file is as follows: 
     103{{{ 
     104<GrapherWebService> 
     105  <DisplayIntervalStart>1-1-2003</DisplayIntervalStart> 
     106  <DisplayIntervalEnd>31-1-2003</DisplayIntervalEnd> 
     107  <GeoServerURL>http://130.246.76.98:8084/geoserver/wfs</GeoServerURL> 
     108</GrapherWebService> 
     109}}} 
     110The interval of dates determines which range of dates to request from the GeoServer and to plot. The {{{GeoServerURL}}} is the URL to be used as a base of the GetFeatureInfo call. 
     111 
     112Assuming that the pylon is served at URL ''{{{http://server:port}}}'', the web service can be used in two ways: 
     113 - To provide a listing of CSML features available for a given station identified by its name (e.g. "{{{FAIR ISLE}}}", as opposed to the station ID, e.g. "{{{midas.station.3}}}"): 
     114{{{ 
     115http://server:port/csmlGrapher/list?station_name=FAIR%20ISLE 
     116}}} 
     117 - The {{{plot}}} function... 
     118 
     119The web service can return the following HTTP errors: 
     120 - x 
     121 - y 
     122 - z 
     123 
    102124== Code notes == 
    103125