<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Perhaps the mapserver need a validation block in mapserver to
      check the ID value from parameter ?</p>
    A.
    <p><br>
    </p>
    <br>
    <div class="moz-cite-prefix">Il 07/05/2016 21:39, TC Haddad ha
      scritto:<br>
    </div>
    <blockquote
cite="mid:CAFVrPyiZqjdkxh9MuMxKfFWK=uOBg0GSy75J9mU-LS8qdu9Vpg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div><br>
          </div>
          Well it looks like your map file settings are fine, and a
          correctly formatted URL would be:<br>
          <br>
          <a moz-do-not-send="true"
href="http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&STOREDQUERY_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById&ID=DATA_TEST.1">http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&STOREDQUERY_ID=urn:ogc:def:query:OGC-WFS::GetFeatureById&ID=DATA_TEST.1</a><br>
          <br>
        </div>
        However the resulting error message indicates that something may
        else may be amiss:<br>
        <br>
        msQueryByFilter(): Search returned no results. No matching
        record(s) found.<br>
        LayerDefaultTranslateFilter(): General error message. This data
        driver does not implement filter translation support<br>
      </div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On Sat, May 7, 2016 at 12:29 PM, Ian
          Walberg <span dir="ltr"><<a moz-do-not-send="true"
              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">And
                    also in the WEB section</span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif"> 
                    METADATA</span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif">               
                    "wfs_title"          "WFS Test"</span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif">  
                                 "wfs_onlineresource" "<a
                      moz-do-not-send="true"
                      href="http://127.0.0.1/cgi-bin/mapserv"
                      target="_blank"><a class="moz-txt-link-freetext" href="http://127.0.0.1/cgi-bin/mapserv">http://127.0.0.1/cgi-bin/mapserv</a></a>?"</span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif">               
                    "wfs_srs"            "EPSG:4326"</span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif">               
                    "wfs_abstract"       "WFS Test"</span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif">               
                    "wfs_enable_request" "*"</span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif">               
                    "wfs_getfeature_formatlist" "geojson"</span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></p>
                <p class="MsoNormal"><span
                    style="font-size:11.0pt;font-family:"Calibri",sans-serif">Ian</span></p>
                <p class="MsoNormal"><a moz-do-not-send="true"
                    name="m_-284735010065437892__MailEndCompose"><span
                      style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </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">
                        mapserver-users [mailto:<a
                          moz-do-not-send="true"
                          href="mailto:mapserver-users-bounces@lists.osgeo.org"
                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:mapserver-users-bounces@lists.osgeo.org">mapserver-users-bounces@lists.osgeo.org</a></a>]
                        <b>On Behalf Of </b>Ian Walberg<br>
                        <b>Sent:</b> Saturday, May 7, 2016 12:27 PM<br>
                        <b>To:</b> TC Haddad <<a
                          moz-do-not-send="true"
                          href="mailto:tchaddad@gmail.com"
                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:tchaddad@gmail.com">tchaddad@gmail.com</a></a>><br>
                        <b>Cc:</b> <a moz-do-not-send="true"
                          href="mailto:mapserver-users@lists.osgeo.org"
                          target="_blank">mapserver-users@lists.osgeo.org</a></span></p>
                    <div>
                      <div class="h5"><br>
                        <b>Subject:</b> Re: [mapserver-users] WFS -
                        featureid/resourceid</div>
                    </div>
                  </div>
                </div>
                <div>
                  <div class="h5">
                    <p class="MsoNormal"> </p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">Here
                        is what we have in the map file layer, what have
                        we missed?</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">METADATA</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">                       
                        "wfs_srs" "EPSG:4326"</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">                       
                        "wfs_title" "DATA_POI"</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">                      
                         "gml_featureid" "id"</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">                       
                        "gml_include_items" "all"</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">                       
                        "wfs_enable_request" "*"</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">                       
                        "wfs_encoding" "UTF-8"</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">                       
                        "wfs_abstract" "Points"</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">                       
                        "wfs_getfeature_formatlist" "geojson"</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">               
                        END</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thanks</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif">Ian</span></p>
                    <p class="MsoNormal"><span
                        style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></p>
                    <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"> TC
                        Haddad [<a moz-do-not-send="true"
                          href="mailto:tchaddad@gmail.com"
                          target="_blank">mailto:tchaddad@gmail.com</a>]
                        <br>
                        <b>Sent:</b> Saturday, May 7, 2016 12:12 PM<br>
                        <b>To:</b> Ian Walberg <<a
                          moz-do-not-send="true"
                          href="mailto:ian.walberg@airborne.aero"
                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ian.walberg@airborne.aero">ian.walberg@airborne.aero</a></a>><br>
                        <b>Cc:</b> Rahkonen Jukka (MML) <<a
                          moz-do-not-send="true"
                          href="mailto:jukka.rahkonen@maanmittauslaitos.fi"
                          target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:jukka.rahkonen@maanmittauslaitos.fi">jukka.rahkonen@maanmittauslaitos.fi</a></a>>;
                        <a moz-do-not-send="true"
                          href="mailto:mapserver-users@lists.osgeo.org"
                          target="_blank">mapserver-users@lists.osgeo.org</a><br>
                        <b>Subject:</b> Re: [mapserver-users] WFS -
                        featureid/resourceid</span></p>
                    <p class="MsoNormal"> </p>
                    <div>
                      <div>
                        <div>
                          <div>
                            <p class="MsoNormal"> </p>
                          </div>
                          <p class="MsoNormal"
                            style="margin-bottom:12.0pt">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.
                          </p>
                        </div>
                        <div>
                          <p class="MsoNormal">Put something like this
                            in the LAYER block to enable all WFS
                            requests:</p>
                          <pre>"wfs_enable_request" "*"</pre>
                        </div>
                        <p class="MsoNormal"
                          style="margin-bottom:12.0pt">From there you
                          can begin to test with:<br>
                          <br>
                          <a moz-do-not-send="true"
href="http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeatureById"
                            target="_blank">http://wfs-dev.airborne.aero/cgi-bin/mapserv?map=/data/wfs/WFS_TEST.map&SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeatureById</a></p>
                      </div>
                      <p class="MsoNormal" style="margin-bottom:12.0pt">And
                        the server will tell you what other parameters
                        you need to add to the URL in order to
                        successfully return a record.</p>
                    </div>
                    <div>
                      <p class="MsoNormal"> </p>
                      <div>
                        <p class="MsoNormal">On Sat, May 7, 2016 at
                          11:44 AM, Ian Walberg <<a
                            moz-do-not-send="true"
                            href="mailto:ian.walberg@airborne.aero"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ian.walberg@airborne.aero">ian.walberg@airborne.aero</a></a>>
                          wrote:</p>
                        <blockquote style="border:none;border-left:solid
                          #cccccc 1.0pt;padding:0in 0in 0in
6.0pt;margin-left:4.8pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt">
                          <div>
                            <div>
                              <p class="MsoNormal"><span
                                  style="font-size:11.0pt;font-family:"Calibri",sans-serif">Jukka,</span></p>
                              <p class="MsoNormal"><span
                                  style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </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?</span></p>
                              <p class="MsoNormal"><span
                                  style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></p>
                              <p class="MsoNormal"><span
                                  style="font-size:11.0pt;font-family:"Calibri",sans-serif">Thanks</span></p>
                              <p class="MsoNormal"><span
                                  style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></p>
                              <p class="MsoNormal"><span
                                  style="font-size:11.0pt;font-family:"Calibri",sans-serif">Ian</span></p>
                              <p class="MsoNormal"><a
                                  moz-do-not-send="true"
                                  name="m_-284735010065437892_m_8310492908958490374__MailEndCompose"><span
style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span></a></p>
                              <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
                                        moz-do-not-send="true"
                                        href="mailto:jukka.rahkonen@maanmittauslaitos.fi"
                                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:jukka.rahkonen@maanmittauslaitos.fi">jukka.rahkonen@maanmittauslaitos.fi</a></a>]
                                      <br>
                                      <b>Sent:</b> Saturday, May 7, 2016
                                      10:54 AM<br>
                                      <b>To:</b> Ian Walberg <<a
                                        moz-do-not-send="true"
                                        href="mailto:ian.walberg@airborne.aero"
                                        target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:ian.walberg@airborne.aero">ian.walberg@airborne.aero</a></a>>;
                                      <a moz-do-not-send="true"
                                        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</span></p>
                                </div>
                              </div>
                              <div>
                                <div>
                                  <p class="MsoNormal"> </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 moz-do-not-send="true"
                                              href="http://mapserver.org/ogc/wfs_server.html"
                                              target="_blank">http://mapserver.org/ogc/wfs_server.html</a><br>
                                            <br>
                                            Jukka Rahkonen</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
                                            moz-do-not-send="true"
                                            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
                                            moz-do-not-send="true"
                                            href="mailto:mapserver-users@lists.osgeo.org"
                                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a></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></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 moz-do-not-send="true"
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 moz-do-not-send="true"
                                          href="mailto:mapserver-users@lists.osgeo.org"
                                          target="_blank">mapserver-users@lists.osgeo.org</a><br>
                                        <a moz-do-not-send="true"
                                          href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
                                          target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></span></p>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                          <p class="MsoNormal"><br>
_______________________________________________<br>
                            mapserver-users mailing list<br>
                            <a moz-do-not-send="true"
                              href="mailto:mapserver-users@lists.osgeo.org"
                              target="_blank">mapserver-users@lists.osgeo.org</a><br>
                            <a moz-do-not-send="true"
                              href="http://lists.osgeo.org/mailman/listinfo/mapserver-users"
                              target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></p>
                        </blockquote>
                      </div>
                      <p class="MsoNormal"> </p>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a></pre>
    </blockquote>
    <br>
  </body>
</html>