Bug report #15721
Updated by Giovanni Manghi over 7 years ago
The WFS service of French National Institute of Geographic and Forest Information (IGN-F) provide some geometry with an altitude.
<pre>
<BDTOPO_BDD_WLD_WGS84G:the_geom>
<gml:MultiCurve srsDimension="3" srsName="urn:ogc:def:crs:EPSG::4326">
<gml:curveMember>
<gml:LineString srsDimension="3">
<gml:posList>48.2012911 -3.1509894 276.5 48.2011541 -3.1508829 275.4 48.2010451 -3.1508094 274.9 48.2009594 -3.1507913 273.7</gml:posList>
</gml:LineString>
</gml:curveMember>
</gml:MultiCurve>
</BDTOPO_BDD_WLD_WGS84G:the_geom>
</pre>
QGIS 2.16 & WFS 2.0 does not understand the srsDimension="3" and use the altitude as a coordinate (see screenshot).
When I do a GetFeature by hand and add in QGIS, the geometry is well displayed.
When I force version 1.0 or 1.1 of WFS, there is no problem.
<pre>
<BDTOPO_BDD_WLD_WGS84G:the_geom>
<gml:MultiCurve srsDimension="3" srsName="urn:ogc:def:crs:EPSG::4326">
<gml:curveMember>
<gml:LineString srsDimension="3">
<gml:posList>48.2012911 -3.1509894 276.5 48.2011541 -3.1508829 275.4 48.2010451 -3.1508094 274.9 48.2009594 -3.1507913 273.7</gml:posList>
</gml:LineString>
</gml:curveMember>
</gml:MultiCurve>
</BDTOPO_BDD_WLD_WGS84G:the_geom>
</pre>
QGIS 2.16 & WFS 2.0 does not understand the srsDimension="3" and use the altitude as a coordinate (see screenshot).
When I do a GetFeature by hand and add in QGIS, the geometry is well displayed.
When I force version 1.0 or 1.1 of WFS, there is no problem.