<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">I mistakenly posted this to developer list instead of user yesterday, hope it’s ok to post here too.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal">I am trying to troubleshoot a problem we’re having with a WFS service in QGIS 2.14. I am loading in a layer with ‘Only request features overlapping the current view extent’ and have tried cached and uncached. The layer loads only 1 feature
 and that is not within the map canvas. I have used Wireshark to capture the requests and can see that QGIS is making the GetFeature request with no bbox parameter and a maxfeatures parameter set to 1.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">In QGIS 2.12.2 the GetFeature request with no bbox and maxfeatures=1 is still made but then it is followed up with another GetFeature request with the correct bbox and all features are loaded onto the layer as expected. I am wondering if
 the maxfeatures=1 request is a probe to test that valid features are being returned before making the proper request but in 2.14 the proper request never gets sent. Looking at the layer metadata in QGIS the layer source shows the correct request URL.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It’s confusing as we have other WFS services which are working fine in 2.14. If I can narrow the issue down to being a problem with the service itself I can approach the supplier.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">It’s a commercial WFS but if anyone is able to test I can provide the connection URL.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Below are details of the packets being sent from QGIS.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks very much<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Tom<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">WFS connection string:<o:p></o:p></p>
<p class="MsoNormal"><a href="http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap">http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap</a>?<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Layer source from Layer Properties > Metadata tab > Properties<o:p></o:p></p>
<p class="MsoNormal"><a href="http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=topographicarea&SRSNAME=EPSG:27700&BBOX=274257.18611745559610426,195451.63651152816601098,274325.73425826861057431,195546.70830481656594202">http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=topographicarea&SRSNAME=EPSG:27700&BBOX=274257.18611745559610426,195451.63651152816601098,274325.73425826861057431,195546.70830481656594202</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Requests sent when adding WFS layer (caught by Wireshark):<o:p></o:p></p>
<p class="MsoNormal"><a href="http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap?SERVICE=WFS&VERSION=1.0.0&TYPENAME=topographicarea&BBOX=274257.18611745559610426,195451.63651152816601098,274325.73425826861057431,195546.70830481656594202&REQUEST=DescribeFeatureType">http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap?SERVICE=WFS&VERSION=1.0.0&TYPENAME=topographicarea&BBOX=274257.18611745559610426,195451.63651152816601098,274325.73425826861057431,195546.70830481656594202&REQUEST=DescribeFeatureType</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=topographicarea&SRSNAME=EPSG:27700&&MAXFEATURES=1">http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=topographicarea&SRSNAME=EPSG:27700&&MAXFEATURES=1</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><a href="http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetCapabilities&TYPENAME=topographicarea&SRSNAME=EPSG:27700&BBOX=274257.18611745559610426,195451.63651152816601098,274325.73425826861057431,195546.70830481656594202">http://www.getmapping.com/web.feature.service/FeatureService.svc/xxxx/xxxxx/mastermap?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetCapabilities&TYPENAME=topographicarea&SRSNAME=EPSG:27700&BBOX=274257.18611745559610426,195451.63651152816601098,274325.73425826861057431,195546.70830481656594202</a><o:p></o:p></p>
</div>
</body>
</html>