<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>(Adding back the list again, please "Answer all")<br>
    </p>
    <div class="moz-cite-prefix">Le 29/08/2021 à 19:59, aharon david a
      écrit :<br>
    </div>
    <blockquote type="cite"
cite="mid:CAAcYN0wifO9Ls3MNuY4m_k1wax9GFLRtp8p5QbtW4_1wxmsu9Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="auto">Ok, you right. But what about to add it as an
        extention? Why to remove it by force?</div>
    </blockquote>
    To avoid emitting confusing requests.<br>
    <blockquote type="cite"
cite="mid:CAAcYN0wifO9Ls3MNuY4m_k1wax9GFLRtp8p5QbtW4_1wxmsu9Q@mail.gmail.com">
      <div dir="auto">
        <div dir="auto">As far as i can see in the code, other arbitary
          extenetions are permitted, why not to permit also this one?</div>
      </div>
    </blockquote>
    This would only make sense if there were popular servers to
    implement such an extension.<br>
    <blockquote type="cite"
cite="mid:CAAcYN0wifO9Ls3MNuY4m_k1wax9GFLRtp8p5QbtW4_1wxmsu9Q@mail.gmail.com"><br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">בתאריך יום א׳, 29 באוג׳ 2021,
          17:59, מאת Even Rouault ‏<<a
            href="mailto:even.rouault@spatialys.com"
            moz-do-not-send="true">even.rouault@spatialys.com</a>>:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          <div>
            <p>(Adding back the list)</p>
            you can see in the following URL that typename\typenames are
            exist in the WFS2 schema examples:
            <blockquote type="cite">
              <div dir="rtl">
                <div dir="ltr"><a
                    href="http://schemas.opengis.net/wfs/2.0/examples/KVP/kvp.txt"
                    target="_blank" rel="noreferrer"
                    moz-do-not-send="true">http://schemas.opengis.net/wfs/2.0/examples/KVP/kvp.txt</a><br>
                </div>
              </div>
            </blockquote>
            In those examples, Typename is just for GetFeature and
            DescribeFeatureType, not GetCapabilities<br>
            <blockquote type="cite">
              <div dir="rtl">
                <div dir="ltr"><br>
                </div>
                <div dir="ltr">anyway, it is the standard of servers
                  less than WFS 2.0 by sure.</div>
              </div>
            </blockquote>
            <p>Not in WFS 1.1 as far as I can see in <a
                href="http://docs.opengeospatial.org/is/04-094r1/04-094r1.html#88"
                target="_blank" rel="noreferrer" moz-do-not-send="true">http://docs.opengeospatial.org/is/04-094r1/04-094r1.html#88</a></p>
            <p>Even<br>
            </p>
            <blockquote type="cite">
              <div dir="rtl">
                <div dir="ltr"><br>
                </div>
                <div dir="ltr"><br>
                </div>
                <div dir="ltr"><br>
                </div>
                <div dir="ltr"><br>
                </div>
                <div dir="ltr"><br>
                </div>
              </div>
              <br>
              <div class="gmail_quote">
                <div dir="rtl" class="gmail_attr">‫בתאריך יום א׳, 29
                  באוג׳ 2021 ב-16:51 מאת ‪Even Rouault‬‏ <‪<a
                    href="mailto:even.rouault@spatialys.com"
                    target="_blank" rel="noreferrer"
                    moz-do-not-send="true">even.rouault@spatialys.com</a>‬‏>:‬<br>
                </div>
                <blockquote class="gmail_quote" style="margin:0px 0px
                  0px 0.8ex;border-left:1px solid
                  rgb(204,204,204);padding-left:1ex">
                  <div>
                    <p>David,</p>
                    <p>Per the standard (at least I checked in WFS 2.0),
                      typename/typenames is not a standardized query
                      parameter for GetCapabilities. Are you referring
                      to some servers that would accept it as an
                      extension ?</p>
                    <p>Even<br>
                    </p>
                    <div>Le 29/08/2021 à 08:06, aharon david a écrit :<br>
                    </div>
                    <blockquote type="cite">
                      <div dir="rtl">
                        <div dir="ltr">Hi,</div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr">I want to suggest an  improvement
                          in WFS Vector Layer.</div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr">my suggestion is just to remove
                          the lines 839 and 840:</div>
                        <div dir="ltr"> osURL = CPLURLAddKVP(osURL,
                          "TYPENAME", nullptr);<br>
                           osURL = CPLURLAddKVP(osURL, "TYPENAMES",
                          nullptr);<br>
                        </div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr">in file:
                          "gdal-3.3.1\ogr\ogrsf_frmts\wfs\ogrwfsdatasource.cpp".</div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr">The big advantage is that the
                          GetCapabilitiy Response will be minimal and
                          contain info only</div>
                        <div dir="ltr">for the layers that are set in
                          the tag - TYPENAME in case it is placed in
                          the pszBaseURL.</div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr">There is no disadvantage to this
                          change.</div>
                        <div dir="ltr">There is no change in the
                          function behavior.</div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr">THanks.</div>
                        <div dir="ltr"> </div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr"><br>
                        </div>
                        <div dir="ltr"><br>
                        </div>
                      </div>
                      <br>
                      <fieldset></fieldset>
                      <pre>_______________________________________________
gdal-dev mailing list
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank" rel="noreferrer" moz-do-not-send="true">gdal-dev@lists.osgeo.org</a>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" target="_blank" rel="noreferrer" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
                    </blockquote>
                    <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank" rel="noreferrer" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
                  </div>
                </blockquote>
              </div>
            </blockquote>
            <pre cols="72">-- 
<a href="http://www.spatialys.com" target="_blank" rel="noreferrer" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
          </div>
        </blockquote>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
  </body>
</html>