<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<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 class="moz-cite-prefix">Le 29/08/2021 à 08:06, aharon david a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:CAAcYN0xzxLgrV4=qHTVWc4v_JngjjvkpYKcwOkdLcx5JU+Y3jQ@mail.gmail.com">
<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 class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/gdal-dev">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a>
</pre>
</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>