The two optional standard WFS arguments BBOX and MAXFEATURES limit the amount of features that will appear in the XML file. If a bounding box (BBOX) is specified, the XML response will contain only features located within the specified area. The MAXFEATURES parameter caps the amount of delivered features to the specified number. Their use (especially of the bounding box) is recommended as some feature lists are rather expansive, and therefore the GetFeature response will be a large XML file.
A bounding box specified by maximal and minimal latitude and longitude formatted according to BBOX=<min_lon,min_lat,max_lon_max_lat> (please note the order). The response will only contain features that are located within this area. If left unspecified, all available features will be returned.
An unsigned integer specifying the maximal amount of features contained in the XML response, where it is not specified which features are to be omitted. Unbounded if left unspecified.
A single point in time (UTC) as specified in the section Date/Time Description. TIME always refers to validdatetime. The response depends on the feature type, see the examples below.
The main WFS feature types, lightnings, several weather station types and tropical cyclone tracks are described in more detail below.
With the feature type lightnings you can query the lightning strikes during the 5 minute period ending with the specified TIME, for which we use the current time if not specified. The XML response contains additional information in the form of the currents and strike time.
The following example request will return the locations as well as strike times and currents of the lightning strikes during the last 5 minutes over Switzerland:
Larger intervals can be queried through the API, see here.
Currently there are two available station feature types: stations_mix-obs, which contains most of our combined observational data, and stations_mm-mos for our MOS forecast. In order to fetch data from these weather stations, you'll need to use our custom parameter PARAMETERS:
The parameters that you wish to query formatted as a comma-separated list as specified here. The DescribeFeatureType contains all the relevant parameters provided by the station type. For technical reasons the name of the XML node will have the colons (:) replaced with an underscore (_), e.g. t_2m:C will end up as t_2m_C. For WFS purposes only you may also use this format in the queries.
t_2m:C,dew_point_2m:C or t_2m_C,dew_point_2m_C
Together with the parameters already mentioned above, this allows to query station data for the purposes listed in the following table:
Effect of TIME on the response
TYPENAME: stations_mix-obs for observational data,stations_mm-mos for MOS forecast.
Returns the entire list of stations if unspecified, otherwise only stations that have data available at that time.
Please be aware that not all weather stations can provide all the parameters that are advertised by the DescribeFeatureType XML. Unavailable parameters will have no node in the XML response and GIS software usually leaves the corresponding space in the attribute table empty or indicates the absence by something like NULL.
Tropical Cyclone Track
With the feature type tropical_cyclone_<name> you can display the ensemble members of the forecasted track for tropical cyclones. The names of the currently active tropical cyclones can be found via GetCapabilities request. The XML response contains the tracks for each ensemble member.
The following example request returned the possible tracks of Typhoon Maysak at the end of August 2020. Note that the name of the tropical cyclone has to be selected from the list of currently active tropical cyclones generated by GetCapabilities.