Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:deltares="http://deltares.nl" targetNamespace="http://deltares.nl">
    <xsd:import namespace="http://www.opengis.net/gml/3.2" schemaLocation="http://schemas.opengis.net/gml/3.2.1/gml.xsd"/>
    <xsd:complexType name="r-1_shapeFWAType">
        <xsd:complexContent>
            <xsd:extension base="gml:AbstractFeatureType">
                <xsd:sequence>
                    <xsd:element minOccurs="0" name="geometry" nillable="true" type="gml:MultiGeometryPropertyType"/>
                    <xsd:element minOccurs="0" name="model_type" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="model_reg" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="model_id" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="model_name" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="issue_freq" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="t_issue" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="t_step_int" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="variable" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="prod_type" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="t_start" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="t_end" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="t_length" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="bom_region" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="current" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="expired" nillable="true" type="xsd:string"/>
                    <xsd:element minOccurs="0" name="remarks" nillable="true" type="xsd:string"/>
                </xsd:sequence>
            </xsd:extension>
        </xsd:complexContent>
    </xsd:complexType>
    <xsd:element name="r-1_shapeFWA" substitutionGroup="gml:AbstractFeature" type="deltares:r-1_shapeFWAType"/>
</xsd:schema>


ListStoredQueries

Get a list of 'stored queries' a WFS supports, in this case the only stored query supported is the so-called "GetFeatureById" stored query. This request has been implemented as the WFS 2.0 lists it as a requirement for the "Simple" implementation of a WFS 2.0 service. It will most likely not be of much value to your project as the id's used mainly for the generation of GML output are assigned sequentially, they are not linked to a specific property or attribute in FEWS.

Request parameters

  • version (optional): supported version is 2.0 and is the default if not set. Older versions are not supported

Example request

Code Block
http://localhost:8080/FewsWebServices/wfs?service=wfs&request=ListStoredQueries

Example response:

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<ListStoredQueriesResponse  xmlns="http://www.opengis.net/wfs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0.0/wfs.xsd">
    <StoredQuery id="urn:ogc:def:query:OGC-WFS::GetFeatureById">
        <Title>Get feature by identifier</Title>
    </StoredQuery>
</ListStoredQueriesResponse >


DescribeStoredQueries

Get a more detailed description of 'stored queries' a WFS supports, in this case the only stored query supported is the so-called "GetFeatureById" stored query. This request has been implemented as the WFS 2.0 lists it as a requirement for the "Simple" implementation of a WFS 2.0 service. It will most likely not be of much value to your project as the id's used mainly for the generation of GML output are assigned sequentially, they are not linked to a specific property or attribute in FEWS.

Request parameters

  • version (optional): supported version is 2.0 and is the default if not set. Older versions are not supported

Example request

Code Block
http://localhost:8080/FewsWebServices/wfs?service=wfs&request=DescribeStoredQueries

Example response:

Code Block
<?xml version="1.0" encoding="UTF-8"?>
<DescribeStoredQueriesResponse  xmlns="http://www.opengis.net/wfs/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs/2.0 http://schemas.opengis.net/wfs/2.0.0/wfs.xsd">
    <StoredQueryDescription id="urn:ogc:def:query:OGC-WFS::GetFeatureById">
        <Title>Get feature by identifier</Title>
        <Parameter name="id" type="xs:string"/>
        <QueryExpressionText isPrivate="false" language="urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression" returnFeatureTypes=""/>
    </StoredQueryDescription>
</DescribeStoredQueriesResponse>


Properties

The following WFS specific properties can be configured in the webservices.xml configuration:

...