Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Server WFS 1.1: honor srsName and axis order
Fixes #45216
- Loading branch information
Showing
3 changed files
with
68 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
28 changes: 28 additions & 0 deletions
28
tests/testdata/qgis_server/wfs_getFeature_1_1_0_featureid_0_1_1_0.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Content-Type: text/xml; subtype=gml/3.1.1; charset=utf-8 | ||
|
||
<wfs:FeatureCollection xmlns:wfs="http://www.opengis.net/wfs" xmlns:ogc="http://www.opengis.net/ogc" xmlns:gml="http://www.opengis.net/gml" xmlns:ows="http://www.opengis.net/ows" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:qgs="http://www.qgis.org/gml" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wfs http://schemas.opengis.net/wfs/1.1.0/wfs.xsd http://www.qgis.org/gml ?MAP=/home/ale/dev/QGIS/tests/testdata/qgis_server/test_project_wfs.qgs&SERVICE=WFS&VERSION=1.1.0&REQUEST=DescribeFeatureType&TYPENAME=testlayer&OUTPUTFORMAT=text/xml; subtype%3Dgml/3.1.1"> | ||
<gml:boundedBy> | ||
<gml:Envelope srsName="urn:ogc:def:crs:EPSG::4326"> | ||
<gml:lowerCorner>44.90139484 8.20345931</gml:lowerCorner> | ||
<gml:upperCorner>44.90148253 8.20354699</gml:upperCorner> | ||
</gml:Envelope> | ||
</gml:boundedBy> | ||
<gml:featureMember> | ||
<qgs:testlayer gml:id="testlayer.0"> | ||
<gml:boundedBy> | ||
<gml:Envelope srsName="urn:ogc:def:crs:EPSG::4326"> | ||
<gml:lowerCorner>44.90148253 8.20349634</gml:lowerCorner> | ||
<gml:upperCorner>44.90148253 8.20349634</gml:upperCorner> | ||
</gml:Envelope> | ||
</gml:boundedBy> | ||
<qgs:geometry> | ||
<Point xmlns="http://www.opengis.net/gml" srsName="urn:ogc:def:crs:EPSG::4326"> | ||
<pos xmlns="http://www.opengis.net/gml" srsDimension="2">44.90148253 8.20349634</pos> | ||
</Point> | ||
</qgs:geometry> | ||
<qgs:id>1</qgs:id> | ||
<qgs:name>one</qgs:name> | ||
<qgs:utf8nameè>one èé</qgs:utf8nameè> | ||
</qgs:testlayer> | ||
</gml:featureMember> | ||
</wfs:FeatureCollection> |