DescribeStoredQueries 响应

发送反馈


响应说明

执行 DescribeStoredQueries 操作后,返回的是 XML 格式的响应文档,用于描述 WFS 2.0.0 服务支持的存储查询方式。响应文档的根元素为 DescribeStoredQueriesResponse,可以包含多个 StoredQueryDescription 元素,每个 StoredQueryDescription 元素用来描述一种存储查询方式,由 id 属性标识。

响应示例

请求示例 的响应结果如下:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<wfs:DescribeStoredQueriesResponse

    xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:ows="http://www.opengis.net/ows/1.1"

    xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:fes="http://www.opengis.net/fes/2.0"

    xmlns:gml="http://www.opengis.net/gml/3.2">

    <wfs:StoredQueryDescription id="urn:ogc:def:query:OGC-WFS::GetFeatureById">

        <wfs:Title xml:lang="en">urn:ogc:def:query:OGC-WFS::GetFeatureById

        </wfs:Title>

        <wfs:Parameter xmlns:xs="http://www.w3.org/2001/XMLSchema"

            name="ID" type="xs:string" />

        <wfs:QueryExpressionText xmlns:World="https://www.supermap.com.cn/World"

            returnFeatureTypes="World:Ocean World:OceanBoundary World:ContinentBoundary World:CountryBoundary World:Lakes World:Grids World:OceanLabelP_C World:OceanLabelP_E World:Rivers World:Countries World:Capitals"

            language="urn:ogc:def:queryLanguage:OGC-WFS::WFS_QueryExpression"

            isPrivate="true" />

    </wfs:StoredQueryDescription>

</wfs:DescribeStoredQueriesResponse>