WFS、WMS、WCS、TAS、WTFS、专题图、标绘、瓦片的测试用例

更新时间:2023-06-23 07:05:27 阅读: 评论:0

WFS测试用例
一)GET方式
GetCapabilities操作
172.17.1.211:7001/mywfs45/wfs?version=1.0.0&rvice=wfs&request=getCapabilities
DescribeFeatureType操作
172.17.1.211:7001/mywfs45/wfs?version=1.0.0&rvice=wfs&request=DESCRIBEFEATURETYPE&typeName=bou1_4m_s
GetFeature操作
1.根据typeName查询所有属性
172.17.2.90:8989/mywfs45/wfs?version=1.1.0&rvice=wfs&request=getFeature&typeName=bou1_4m_s&maxFeatures=5&outputFormat=GML3
2.根据范围查询
172.17.2.90:8989/mywfs45/wfs?version=1.1.0&rvice=wfs&request=getFeature&typeName=bou1_4m_s&BBOX=120,25,121,28&maxFeatures=5&outputFormat=GML3
3.根据Id查询
172.17.2.90:8989/mywfs45/wfs?version=1.1.0&rvice=wfs&request=getFeature&typeName=bou1_4m_s&FEATUREID=bou1_4m_s.80&maxFeatures=5&outputFormat=GML3
4.Filter查询
172.17.2.90:8989/mywfs45/wfs?version=1.1.0&rvice=wfs&request=getFeature&typeName=bou1_4m_s&PROPERTYNAME=NAME&outputFormat=GML3&FILTER=<ogc:Filter%20xmlns:ogc="www.opengis/ogc"><ogc:FeatureId%20fid="bou1_4m_s.90"/></ogc:Filter>
172.17.2.90:8989/mywfs45/wfs?version=1.1.0&rvice=wfs&request=getFeature&t
ypeName=bou1_4m_s&PROPERTYNAME=NAME&outputFormat=GML3&maxFeatures=5&FILTER=<ogc:Filter%20xmlns:ogc="www.opengis/ogc"><ogc:BBOX xmlns:gml="www.opengis/gml"><gml:Envelope><gml:lowerCorner>120 20</gml:lowerCorner><gml:upperCorner>130 40</gml:upperCorner></gml:Envelope></ogc:BBOX></ogc:Filter>
二)POST方式
***outputFormat 属性指定GML的输出标准,可选值有:"text/xml; subtype=gml/3.1.1"、"GML2"、
DescribeFeatureType操作
<?xml version="1.0" encoding="UTF-8"?>
<DescribeFeatureType xmlns="www.opengis/wfs" xmlns:xsi="www.w3/2001/XMLSchema-instance"
    rvice="WFS" version="1.1.0" outputFormat="text/xml;subtype=gml/3.1.1">
rollback<TypeName>BOU1_4M_L</TypeName></DescribeFeatureType>
GetFeature操作
1.根据typeName查询所有属性,最大返回五条记录
托福雅思哪个好考<?xml version="1.0" encoding="UTF-8"?>
<GetFeature version="1.1.0" rvice="WFS" maxFeatures="5" outputFormat="text/xml; subtype=gml/3.1.1"
    xmlns="www.opengis/wfs"
    xmlns:ogc="www.opengis/ogc"
    xmlns:gml="www.opengis/gml">
    <Query typeName="BOU1_4M_S">
    </Query>
</GetFeature>
2.根据typeName查询部分属性
<?xml version="1.0" encoding="UTF-8"?>
louder<GetFeature version="1.1.0" rvice="WFS" maxFeatures="5" outputFormat="text/xml; subtype=gml/3.1.1"
    xmlns="www.opengis/wfs"
课外辅导班    xmlns:ogc="www.opengis/ogc"
    xmlns:gml="www.opengis/gml">
    <Query typeName="BOU1_4M_S">
        <ogc:PropertyName>AREA</ogc:PropertyName>
        <ogc:PropertyName>NAME</ogc:PropertyName>
    </Query>
</GetFeature>
3.点查询
<GetFeature version="1.1.0" rvice="WFS" maxFeatures="5" outputFormat="text/xml; subtype=gml/3.1.1"beautiful什么意思
    xmlns="www.opengis/wfs"
    xmlns:ogc="www.opengis/ogc"
    xmlns:gml="www.opengis/gml">
    <Query typeName="BOU1_4M_S">
        <ogc:PropertyName>GEOMETRY</ogc:PropertyName>
        <ogc:PropertyName>NAME</ogc:PropertyName>
高三英语听力
        <ogc:Filter xmlns:ogc="www.opengis/ogc">
            <ogc:Intercts>
                <gml:Point xmlns:gml="www.opengis/gml">
                    <gml:coordinates>120,30</gml:coordinates>
                </gml:Point>
            </ogc:Intercts>
        </ogc:Filter>
    </Query>
</GetFeature>
4.矩形查询iridescent歌词
<GetFeature version="1.1.0" rvice="WFS" maxFeatures="5" outputFormat="text/xml; subtype=gml/3.1.1"
    xmlns="www.opengis/wfs"
    xmlns:ogc="www.opengis/ogc"
    xmlns:gml="www.opengis/gml">
    <Query typeName="BOU1_4M_S">
        <ogc:PropertyName>NAME</ogc:PropertyName>red stone
        <ogc:Filter xmlns:ogc="www.opengis/ogc">
            <ogc:BBOX>
                <gml:Envelope>
                    <gml:lowerCorner>80 10</gml:lowerCorner>
          <gml:upperCorner>130 50</gml:upperCorner>   
                </gml:Envelope>   
            </ogc:BBOX>
        </ogc:Filter>
    </Query>
</GetFeature>
<GetFeature version="1.1.0" rvice="WFS" maxFeatures="5" outputFormat="text/xml; subtype=gml/3.1.1"
    xmlns="www.opengis/wfs"
    xmlns:ogc="www.opengis/ogc"
    xmlns:gml="www.opengis/gml">
    <Query typeName="BOU1_4M_S">
        <ogc:PropertyName>NAME</ogc:PropertyName>
        <ogc:Filter xmlns:ogc="www.opengis/ogc">
            <ogc:BBOX>
poisoned                <gml:box>
                    <gml:coordinates>100,30 110,40</gml:coordinates>
                </gml:box>   
            </ogc:BBOX>
        </ogc:Filter>
    </Query>
</GetFeature>
5.圆查询f e a r
<GetFeature version="1.1.0" rvice="WFS" maxFeatures="5" outputFormat="text/xml; subtype=gml/3.1.1"
    xmlns="www.opengis/wfs"
    xmlns:ogc="www.opengis/ogc"
    xmlns:gml="www.opengis/gml">

本文发布于:2023-06-23 07:05:27,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/90/154578.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:属性   查询   输出   标准   辅导班   课外
相关文章
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图