<div dir="ltr"><div><div><div><br></div>Ian <br><br>you may have to enable the  GetFeatureById option in your mapfile as at the moment it looks like you have it turned off. <br><br></div><div>Put something like this in the LAYER block to enable all WFS requests:<br><pre><span class="">"wfs_enable_request"</span> <span class="">"*"</span></pre></div>From there you can begin to test with:<br><br><a href="http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeatureById">http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeatureById</a><br><br></div>And the server will tell you what other parameters you need to add to the URL in order to successfully return a record.<br><br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 7, 2016 at 11:44 AM, Ian Walberg <span dir="ltr"><<a href="mailto:ian.walberg@airborne.aero" target="_blank">ian.walberg@airborne.aero</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div link="blue" vlink="purple" lang="EN-US">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Jukka,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">We could not get that to work, what is the syntax for our setup?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thanks<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Ian<u></u><u></u></span></p>
<p class="MsoNormal"><a name="m_8310492908958490374__MailEndCompose"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></a></p>
<span></span>
<div>
<div style="border:none;border-top:solid #e1e1e1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Rahkonen Jukka (MML) [mailto:<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>]
<br>
<b>Sent:</b> Saturday, May 7, 2016 10:54 AM<br>
<b>To:</b> Ian Walberg <<a href="mailto:ian.walberg@airborne.aero" target="_blank">ian.walberg@airborne.aero</a>>; <a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<b>Subject:</b> VS: [mapserver-users] WFS - featureid/resourceid<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">I would try the GetFeatureById stored query
<a href="http://mapserver.org/ogc/wfs_server.html" target="_blank">http://mapserver.org/ogc/wfs_server.html</a><br>
<br>
Jukka Rahkonen<u></u><u></u></span></p>
</div>
</div>
<div>
<div class="MsoNormal" style="text-align:center" align="center">
<hr align="center" size="3" width="100%">
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Lähettäjä:
</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="mailto:ian.walberg@airborne.aero" target="_blank">Ian Walberg</a></span><br>
<b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Lähetetty: </span>
</b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">‎7.‎5.‎2016 20:47</span><br>
<b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Vastaanottaja:
</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a></span><br>
<b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Aihe: </span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">[mapserver-users] WFS - featureid/resourceid</span><u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.0pt">Folks,<br>
<br>
How do we select just a single feature using FEATUREID or RESOUCEID.<br>
<br>
<a href="http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=DATA_TEST" target="_blank">http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&TYPENAMES=DATA_TEST</a><br>
<br>
Thanks<br>
<br>
Ian<br>
_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><u></u><u></u></span></p>
</div>
</div></div></div>
</div>

<br>_______________________________________________<br>
mapserver-users mailing list<br>
<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br></blockquote></div><br></div>