Skip to content

Commit

Permalink
[Server] Update WFS tests for round extent in GetCapabilities
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Nov 21, 2019
1 parent 86f57f0 commit e9251a5
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
22 changes: 11 additions & 11 deletions tests/testdata/qgis_server/wfs_getcapabilities.txt
@@ -1,4 +1,4 @@
Content-Length: 5776
Content-Length: 5942
Content-Type: text/xml; charset=utf-8

<WFS_Capabilities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xmlns:ows="http://www.opengis.net/ows" xmlns="http://www.opengis.net/wfs" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-capabilities.xsd" xmlns:ogc="http://www.opengis.net/ogc" version="1.1.0" xmlns:xlink="http://www.w3.org/1999/xlink" updateSequence="0">
Expand All @@ -21,8 +21,8 @@ Content-Type: text/xml; charset=utf-8
<ows:Operation name="GetCapabilities">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Post xlink:href="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Get xlink:href="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Post xlink:href="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</ows:HTTP>
</ows:DCP>
<ows:Parameter name="service">
Expand All @@ -39,8 +39,8 @@ Content-Type: text/xml; charset=utf-8
<ows:Operation name="DescribeFeatureType">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Post xlink:href="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Get xlink:href="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Post xlink:href="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</ows:HTTP>
</ows:DCP>
<ows:Parameter name="outputFormat">
Expand All @@ -52,8 +52,8 @@ Content-Type: text/xml; charset=utf-8
<ows:Operation name="GetFeature">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Post xlink:href="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Get xlink:href="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Post xlink:href="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</ows:HTTP>
</ows:DCP>
<ows:Parameter name="outputFormat">
Expand All @@ -69,8 +69,8 @@ Content-Type: text/xml; charset=utf-8
<ows:Operation name="Transaction">
<ows:DCP>
<ows:HTTP>
<ows:Get xlink:href="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Post xlink:href="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Get xlink:href="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<ows:Post xlink:href="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</ows:HTTP>
</ows:DCP>
<ows:Parameter name="inputFormat">
Expand Down Expand Up @@ -100,8 +100,8 @@ Content-Type: text/xml; charset=utf-8
<Format>text/xml; subtype=gml/3.1.1</Format>
</OutputFormats>
<ows:WGS84BoundingBox dimensions="2">
<ows:LowerCorner>8.20346 44.9014</ows:LowerCorner>
<ows:UpperCorner>8.20355 44.9015</ows:UpperCorner>
<ows:LowerCorner>8.203459 44.901394</ows:LowerCorner>
<ows:UpperCorner>8.203547 44.901483</ows:UpperCorner>
</ows:WGS84BoundingBox>
</FeatureType>
</FeatureTypeList>
Expand Down
18 changes: 9 additions & 9 deletions tests/testdata/qgis_server/wfs_getcapabilities_1_0_0.txt
@@ -1,4 +1,4 @@
Content-Length: 3001
Content-Length: 3147
Content-Type: text/xml; charset=utf-8

<WFS_Capabilities xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:gml="http://www.opengis.net/gml" xmlns:ows="http://www.opengis.net/ows" xmlns="http://www.opengis.net/wfs" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.0.0/WFS-capabilities.xsd" xmlns:ogc="http://www.opengis.net/ogc" version="1.0.0" xmlns:xlink="http://www.w3.org/1999/xlink" updateSequence="0">
Expand All @@ -13,12 +13,12 @@ Content-Type: text/xml; charset=utf-8
<GetCapabilities>
<DCPType>
<HTTP>
<Get onlineResource="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<Get onlineResource="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</HTTP>
</DCPType>
<DCPType>
<HTTP>
<Post onlineResource="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<Post onlineResource="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</HTTP>
</DCPType>
</GetCapabilities>
Expand All @@ -28,12 +28,12 @@ Content-Type: text/xml; charset=utf-8
</SchemaDescriptionLanguage>
<DCPType>
<HTTP>
<Get onlineResource="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<Get onlineResource="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</HTTP>
</DCPType>
<DCPType>
<HTTP>
<Post onlineResource="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<Post onlineResource="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</HTTP>
</DCPType>
</DescribeFeatureType>
Expand All @@ -45,19 +45,19 @@ Content-Type: text/xml; charset=utf-8
</ResultFormat>
<DCPType>
<HTTP>
<Get onlineResource="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<Get onlineResource="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</HTTP>
</DCPType>
<DCPType>
<HTTP>
<Post onlineResource="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<Post onlineResource="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</HTTP>
</DCPType>
</GetFeature>
<Transaction>
<DCPType>
<HTTP>
<Post onlineResource="?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs"/>
<Post onlineResource="?MAP=/home/dhont/3liz_dev/QGIS/qgis_rldhont/tests/testdata/qgis_server/test_project_wfs.qgs"/>
</HTTP>
</DCPType>
</Transaction>
Expand All @@ -72,7 +72,7 @@ Content-Type: text/xml; charset=utf-8
<Title>A test vector layer</Title>
<Abstract>A test vector layer with unicode òà</Abstract>
<SRS>EPSG:4326</SRS>
<LatLongBoundingBox maxy="44.9015" maxx="8.20355" miny="44.9014" minx="8.20346"/>
<LatLongBoundingBox maxy="44.901483" maxx="8.203547" miny="44.901394" minx="8.203459"/>
<Operations>
<Query/>
<Insert/>
Expand Down

0 comments on commit e9251a5

Please sign in to comment.