<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="Helvetica, Arial, sans-serif">Even,<br>
      <br>
      Thank you for your findings. There may be another issue. I also
      had tried to use the secondary EPSG:4326 in my mapfile but that
      didn't succeed either. <br>
      <br>
      I just tried putting in the EPSG in the .xml file but I still do
      not get expected answers. Debug output is this:<br>
      """<br>
      WFS: GetFeature operation supports hits<br>
      WFS: No transaction support<br>
      GDAL: GDALOpen(/var/www/html/wfs-request-dop-bkg-age.xml,
      this=0x13949a0) succeeds as WFS.<br>
      HTTP:
Fetch(<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop,info:dtk25%2Dv,info:dtk50,info:dtk100%2Dv_upd,info:basis%2Ddlm_upd,info:dgm1000,info:dgm200,info:dgm100_upd,info:dgm100,info:dgm50_upd,info:dgm50,info:dgm25_upd,info:dgm25,info:dgm10_upd,info:dgm10,info:dgm5_upd,info:dtk25_upd,info:dtk250,info:dtk100%2Dv,info:basis%2Ddlm,info:dtk1000,info:dtk25,info:dtk50%2Dv,info:dtk100,info:dtk100_upd,info:dtk50%2Dv_upd,info:dtk200,info:dop_upd,info:dtk25%2Dv_upd,info:dtk500,info:dtk50_upd,info:dgm5">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop,info:dtk25%2Dv,info:dtk50,info:dtk100%2Dv_upd,info:basis%2Ddlm_upd,info:dgm1000,info:dgm200,info:dgm100_upd,info:dgm100,info:dgm50_upd,info:dgm50,info:dgm25_upd,info:dgm25,info:dgm10_upd,info:dgm10,info:dgm5_upd,info:dtk25_upd,info:dtk250,info:dtk100%2Dv,info:basis%2Ddlm,info:dtk1000,info:dtk25,info:dtk50%2Dv,info:dtk100,info:dtk100_upd,info:dtk50%2Dv_upd,info:dtk200,info:dop_upd,info:dtk25%2Dv_upd,info:dtk500,info:dtk50_upd,info:dgm5</a>)<br>
      WFS: Turn off loading of multiple layer definitions at a single
      time<br>
      WFS:
<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop</a><br>
      HTTP:
Fetch(<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop</a>)<br>
      WFS:
<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop</a><br>
      HTTP:
Fetch(<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop</a>)<br>
      GML: Using Expat reader<br>
      GDAL: GDALOpen(/vsimem/tempwfs_0x14b43c0/file.gml, this=0x149c640)
      succeeds as GML.<br>
      GDAL: GDALClose(/vsimem/tempwfs_0x14b43c0/file.gml,
      this=0x149c640)<br>
      GDAL: GDALClose(/var/www/html/wfs-request-dop-bkg-age.xml,
      this=0x13949a0)<br>
      WFS: GetFeature operation supports hits<br>
      WFS: No transaction support<br>
      GDAL: GDALOpen(/var/www/html/wfs-request-dop-bkg-age.xml,
      this=0x13949a0) succeeds as WFS.<br>
      GDAL: GDALClose(/var/www/html/wfs-request-dop-bkg-age.xml,
      this=0x13949a0)<br>
      WFS: GetFeature operation supports hits<br>
      WFS: No transaction support<br>
      GDAL: GDALOpen(/var/www/html/wfs-request-dop-bkg-age.xml,
      this=0x13949a0) succeeds as WFS.<br>
      HTTP:
Fetch(<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop,info:dtk25%2Dv,info:dtk50,info:dtk100%2Dv_upd,info:basis%2Ddlm_upd,info:dgm1000,info:dgm200,info:dgm100_upd,info:dgm100,info:dgm50_upd,info:dgm50,info:dgm25_upd,info:dgm25,info:dgm10_upd,info:dgm10,info:dgm5_upd,info:dtk25_upd,info:dtk250,info:dtk100%2Dv,info:basis%2Ddlm,info:dtk1000,info:dtk25,info:dtk50%2Dv,info:dtk100,info:dtk100_upd,info:dtk50%2Dv_upd,info:dtk200,info:dop_upd,info:dtk25%2Dv_upd,info:dtk500,info:dtk50_upd,info:dgm5">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop,info:dtk25%2Dv,info:dtk50,info:dtk100%2Dv_upd,info:basis%2Ddlm_upd,info:dgm1000,info:dgm200,info:dgm100_upd,info:dgm100,info:dgm50_upd,info:dgm50,info:dgm25_upd,info:dgm25,info:dgm10_upd,info:dgm10,info:dgm5_upd,info:dtk25_upd,info:dtk250,info:dtk100%2Dv,info:basis%2Ddlm,info:dtk1000,info:dtk25,info:dtk50%2Dv,info:dtk100,info:dtk100_upd,info:dtk50%2Dv_upd,info:dtk200,info:dop_upd,info:dtk25%2Dv_upd,info:dtk500,info:dtk50_upd,info:dgm5</a>)<br>
      WFS: Turn off loading of multiple layer definitions at a single
      time<br>
      WFS:
<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop</a><br>
      HTTP:
Fetch(<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&SRSNAME=EPSG:25832&REQUEST=DescribeFeatureType&TYPENAME=info:dop</a>)<br>
      WFS:
<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop</a><br>
      HTTP:
Fetch(<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop</a>)<br>
      GML: Using Expat reader<br>
      GDAL: GDALOpen(/vsimem/tempwfs_0x14c06b0/file.gml, this=0x149c640)
      succeeds as GML.<br>
      GDAL: GDALClose(/vsimem/tempwfs_0x14c06b0/file.gml,
      this=0x149c640)<br>
      WFS:
<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop</a><br>
      HTTP:
Fetch(<a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&SRSNAME=EPSG:25832&REQUEST=GetFeature&TYPENAME=info:dop</a>)<br>
      GML: Using Expat reader<br>
      GDAL: GDALOpen(/vsimem/tempwfs_0x14c06b0/file.gml, this=0x149c640)
      succeeds as GML.<br>
      GML: ResetReading()<br>
      GML: ResetReading()<br>
      GML: ResetReading()<br>
      GDAL: GDALClose(/vsimem/tempwfs_0x14c06b0/file.gml,
      this=0x149c640)<br>
      GDAL: GDALClose(/var/www/html/wfs-request-dop-bkg-age.xml,
      this=0x13949a0)<br>
       [warn] [pid 27] mod_fcgid: stderr: freeLayer(): freeing layer at
      0x138e110.<br>
      3240054 - 172.17.0.1 - - [31/May/2021:07:25:03 +0000] "GET
/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=DOP_AGE_DE
      HTTP/1.1" 200 1097 "-" "Mozilla/5.0 (X11; Linux x86_64)
      AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.212
      Safari/537.36"<br>
      360 - 172.17.0.1 - - [31/May/2021:07:25:07 +0000] "GET
      /favicon.ico HTTP/1.1" 200 414
<a class="moz-txt-link-rfc2396E" href="http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=DOP_AGE_DE">"http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=DOP_AGE_DE"</a>
      "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
      Gecko) Chrome/90.0.4430.212 Safari/537.36"<br>
      """<br>
      The url in the file now is:<br>
      """</font><br>
    <div style="color: #000000;background-color: #ffffff;font-family: 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback';font-weight: normal;font-size: 14px;line-height: 19px;white-space: pre;"><div><span style="color: #800000;"><URL></span><span style="color: #000000;"><a class="moz-txt-link-freetext" href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&amp;VERSION=1.1.0&amp;MAXFEATURES=500&amp;SRSNAME=EPSG:25832">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&amp;VERSION=1.1.0&amp;MAXFEATURES=500&amp;SRSNAME=EPSG:25832</a></span><span style="color: #800000;"></URL></span></div></div>
    <font face="Helvetica, Arial, sans-serif">"""<br>
      <br>
      Why do I have another reaction as you?<br>
      <br>
      <br>
    </font>
    <div class="moz-signature">
      <meta charset="utf-8">
      <title>SkenData Email Signat</title>
      <div>
        <br>
      </div>
    </div>
    <div class="moz-cite-prefix">Am 28.05.21 um 14:32 schrieb Even
      Rouault:<br>
    </div>
    <blockquote type="cite"
      cite="mid:2eb4a26b-2483-d46b-17ac-cd6d52d6d7ed@spatialys.com">
      <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
      <p>Lars,</p>
      <p>I believe the service you request doesn't implement WFS 1.1
        properly.</p>
      <p>Trying this</p>
      <p>./mapserv
QUERY_STRING="map=wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=TestLayer"
        <br>
      </p>
      <p>I see that GDAL does:</p>
      <p>VSICURL: Start download for
        <a class="moz-txt-link-freetext"
href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&REQUEST=GetFeature&TYPENAME=info:dop&FILTER=%3CFilter%20xmlns%3D%22http:%2F%2Fwww.opengis.net%2Fogc%22%20xmlns:gml%3D%22http:%2F%2Fwww.opengis.net%2Fgml%22%3E%3CBBOX%3E%3CPropertyName%3Egeom%3C%2FPropertyName%3E%3Cgml:Box%3E%3Cgml:coordinates%3E362792.2015953020309098,5459899.7109905285760760%20363491.4383923375280574,5460477.4964771848171949%3C%2Fgml:coordinates%3E%3C%2Fgml:Box%3E%3C%2FBBOX%3E%3C%2FFilter%3E"
          moz-do-not-send="true">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&REQUEST=GetFeature&TYPENAME=info:dop&FILTER=%3CFilter%20xmlns%3D%22http:%2F%2Fwww.opengis.net%2Fogc%22%20xmlns:gml%3D%22http:%2F%2Fwww.opengis.net%2Fgml%22%3E%3CBBOX%3E%3CPropertyName%3Egeom%3C%2FPropertyName%3E%3Cgml:Box%3E%3Cgml:coordinates%3E362792.2015953020309098,5459899.7109905285760760%20363491.4383923375280574,5460477.4964771848171949%3C%2Fgml:coordinates%3E%3C%2Fgml:Box%3E%3C%2FBBOX%3E%3C%2FFilter%3E</a><br>
      </p>
      <p>So Mapserver has transmitted to GDAL a BBOX filter in
        epsg:25832 (which is the native SRS of the layer) that is the
        reprojection of your source BBOX from EPSG:3857. All things are
        good up to that point.<br>
      </p>
      <p>But the server returns an empty response.</p>
      <p>Tweaking it manually to include a srsName="EPSG:25832"
        attribute in gml:Box returns a response with 2 features<br>
      </p>
      <p><a class="moz-txt-link-freetext"
href="http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&REQUEST=GetFeature&TYPENAME=info:dop&FILTER=%3CFilter%20xmlns%3D%22http:%2F%2Fwww.opengis.net%2Fogc%22%20xmlns:gml%3D%22http:%2F%2Fwww.opengis.net%2Fgml%22%3E%3CBBOX%3E%3CPropertyName%3Egeom%3C%2FPropertyName%3E%3Cgml:Box%20srsName=%22EPSG:25832%22%3E%3Cgml:coordinates%3E362792.2015953020309098,5459899.7109905285760760%20363491.4383923375280574,5460477.4964771848171949%3C%2Fgml:coordinates%3E%3C%2Fgml:Box%3E%3C%2FBBOX%3E%3C%2FFilter%3E"
          moz-do-not-send="true">http://sg.geodatenzentrum.de/wfs_info?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&REQUEST=GetFeature&TYPENAME=info:dop&FILTER=%3CFilter%20xmlns%3D%22http:%2F%2Fwww.opengis.net%2Fogc%22%20xmlns:gml%3D%22http:%2F%2Fwww.opengis.net%2Fgml%22%3E%3CBBOX%3E%3CPropertyName%3Egeom%3C%2FPropertyName%3E%3Cgml:Box%20srsName=%22EPSG:25832%22%3E%3Cgml:coordinates%3E362792.2015953020309098,5459899.7109905285760760%20363491.4383923375280574,5460477.4964771848171949%3C%2Fgml:coordinates%3E%3C%2Fgml:Box%3E%3C%2FBBOX%3E%3C%2FFilter%3E</a></p>
      <p>But we shouldn't have to do this has a missing srsName should
        be interpretated as the defaultSRS according to my understand of
        the WFS 1.1 spec<br>
      </p>
      <p>You can however tweak the <URL> element in
        wfs-request-dop-bkg-age and add "&amp;SRSNAME=EPSG:25832" to
        it (since it is the defaultSRS of all the layers of the
        service), and then GDAL will forward it.<br>
      </p>
      <p>Even<br>
      </p>
      <p><br>
      </p>
      <div class="moz-cite-prefix">Le 28/05/2021 à 14:11, Lars Fricke a
        écrit :<br>
      </div>
      <blockquote type="cite"
        cite="mid:c3a698a9-d660-009d-b65b-1372ddadb48e@skendata.de">
        <meta http-equiv="Content-Type" content="text/html;
          charset=UTF-8">
        <font face="Helvetica, Arial, sans-serif">No problem.
          Unfortunately, testing native WFS did not work because it does
          not properly support cascading wfs with different srs (see my
          other post).<br>
          <br>
          Thanks for looking into this.<br>
        </font>
        <div class="moz-signature">
          <meta charset="utf-8">
          <title>SkenData Email Signatur</title>
          <div> <br>
          </div>
        </div>
        <div class="moz-cite-prefix">Am 28.05.21 um 13:55 schrieb Even
          Rouault:<br>
        </div>
        <blockquote type="cite"
          cite="mid:4fa6a6c7-38a4-76d9-f49c-6870eb97471b@spatialys.com">
          <meta http-equiv="Content-Type" content="text/html;
            charset=UTF-8">
          <p>oops, sorry, didn't notice 😅</p>
          <div class="moz-cite-prefix">Le 28/05/2021 à 13:52, Lars
            Fricke a écrit :<br>
          </div>
          <blockquote type="cite"
            cite="mid:10b1dc3f-ed06-33d2-f2d1-15def00d5ac7@skendata.de">
            <meta http-equiv="Content-Type" content="text/html;
              charset=UTF-8">
            <font face="Helvetica, Arial, sans-serif">I put in the files
              as attach. Is that filtered? </font><br>
            <div class="moz-signature">
              <meta charset="utf-8">
              <title>SkenData Email Signatur</title>
              <div> <br>
              </div>
            </div>
            <div class="moz-cite-prefix">Am 28.05.21 um 13:43 schrieb
              Even Rouault:<br>
            </div>
            <blockquote type="cite"
              cite="mid:e0823aea-0e47-5272-4cb6-46aba53b061b@spatialys.com">
              <meta http-equiv="Content-Type" content="text/html;
                charset=UTF-8">
              <p>Please include your mapfile and the
                wfs-request-testlayer.xml file to reproduce. I'm
                confused by the mapfile you posted yesterday that uses
                epsg:25832 and the fact that GDAL through mapserver
                would issue a GetFeature in EPSG:3857 as suggested
                below. I can't see how that could happen (given the
                MapServer/GDAL integration, GDAL should always request
                in the native SRS of the layer and MapServer will do the
                reprojection to the SRSNAME of the WFS request)<br>
              </p>
              <p>But as Daniel suggested using the CONNECTION WFS is
                probably a better way of doing what you want<br>
              </p>
              <div class="moz-cite-prefix">Le 28/05/2021 à 13:13, Lars
                Fricke via mapserver-users a écrit :<br>
              </div>
              <blockquote type="cite"
                cite="mid:2d0c3bab-d3a8-972a-13da-b07a24baa8e9@skendata.de">
                So here is the working not working setup. Unfortunately
                the working OGR WFS client layers are all private so I
                can not share them.<br>
                <br>
                This call delivers objects as expected:<br>
                <a class="moz-txt-link-freetext"
href="http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&Maxfeatures=10&TYPENAME=TestLayer"
                  moz-do-not-send="true">http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&Maxfeatures=10&TYPENAME=TestLayer</a><br>
                This one, too:<br>
                <a class="moz-txt-link-freetext"
href="http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&Maxfeatures=10&TYPENAME=TestLayer"
                  moz-do-not-send="true">http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&Maxfeatures=10&TYPENAME=TestLayer</a><br>
                <br>
                Data is delivered in the correct srs (verified manually
                with QGIS).<br>
                <br>
                This call doesn't work as described before as BBOX is
                not transmitted to external server:<br>
                <a class="moz-txt-link-freetext"
href="http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=TestLayer"
                  moz-do-not-send="true">http://localhost:8181/cgi-bin/mapserv?map=/var/www/html/wfs.map&SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=TestLayer</a><br>
                <br>
                While the same direct call works:<br>
                <a class="moz-txt-link-freetext"
href="http://sg.geodatenzentrum.de/wfs_info?SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=info:dop"
                  moz-do-not-send="true">http://sg.geodatenzentrum.de/wfs_info?SRSNAME=EPSG:3857&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&BBOX=791880.72463009,6321925.37255709,792929.63787777,6322786.10157277&TYPENAME=info:dop</a><br>
                (funny, epsg 3857 is not in the capabilities but works
                anyhow)<br>
                <br>
                I hope you can find out what is going wrong. Thanks so
                much for looking into this!<br>
                <br>
                Best<br>
                <br>
                Lars<br>
                <div class="moz-signature">
                  <title>SkenData Email Signatur</title>
                  <div><br>
                  </div>
                  <div> <br>
                  </div>
                </div>
                <div class="moz-cite-prefix">Am 27.05.21 um 18:28
                  schrieb Rahkonen Jukka (MML):<br>
                </div>
                <blockquote type="cite"
                  cite="mid:c7eac89bb6fa489babf8e66162cb882f@maanmittauslaitos.fi">
                  <meta name="Generator" content="Microsoft Word 15
                    (filtered medium)">
                  <title>SkenData Email Signatur</title>
                  <div class="WordSection1">
                    <p class="MsoNormal"><span>Hi,</span></p>
                    <p class="MsoNormal"><span> </span></p>
                    <p class="MsoNormal"><span lang="EN-US">Have you
                        already tried to use WFS connection instead of
                        OGR connection?</span></p>
                    <p class="MsoNormal"><span lang="EN-US"> </span></p>
                    <p class="MsoNormal"><span> </span></p>
                    <p class="MsoNormal"><span>-Jukka Rahkonen-</span></p>
                    <p class="MsoNormal"><span> </span></p>
                    <div>
                      <div>
                        <p class="MsoNormal"><b>Lähettäjä:</b>
                          mapserver-users <a
                            class="moz-txt-link-rfc2396E"
                            href="mailto:mapserver-users-bounces@lists.osgeo.org"
                            moz-do-not-send="true"><mapserver-users-bounces@lists.osgeo.org></a>
                          <b>Puolesta </b>Lars Fricke<br>
                          <b>Lähetetty:</b> torstai 27. toukokuuta 2021
                          14.59<br>
                          <b>Vastaanottaja:</b> <a
                            class="moz-txt-link-abbreviated"
                            href="mailto:mapserver-users@lists.osgeo.org"
                            moz-do-not-send="true">mapserver-users@lists.osgeo.org</a><br>
                          <b>Aihe:</b> Re: [mapserver-users] WFS Client
                          returns data at random with very same call</p>
                      </div>
                    </div>
                    <p class="MsoNormal"> </p>
                    <p class="MsoNormal">Dear all, <br>
                      I apologize for finding and posting bits and
                      pieces not all at one time. <br>
                      I fired up 'CONFIG "CPL_DEBUG" "ON"' and there I
                      see, that <br>
                      """</p>
                    <div>
                      <div>
                        <p class="MsoNormal">HTTP: Fetch(<a
href="http://url-to-external-server?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1000&REQUEST=GetFeature&TYPENAME=dop"
                            moz-do-not-send="true">http://url-to-external-server?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=1000&REQUEST=GetFeature&TYPENAME=dop</a>)<br>
                          """<br>
                          So there is no BBOX. On other layers I see<br>
                          """<br>
                          GDALOpen(/vsicurl_streaming/https:... <br>
                          """<br>
                          with BBOX. <br>
                          No wonder I do not get reliable results if the
                          server is calling some 1000 whatsoever result
                          objects and starts filtering the bbox after. <br>
                          <br>
                          Any idea what is happening? Or is this
                          something for a GDAL thread?<br>
                          <br>
                          Best<br>
                          Lars</p>
                      </div>
                      <div>
                        <p class="MsoNormal"> </p>
                      </div>
                    </div>
                  </div>
                </blockquote>
                <br>
                <br>
                <fieldset class="mimeAttachmentHeader"></fieldset>
                <pre class="moz-quote-pre" wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org" moz-do-not-send="true">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="https://lists.osgeo.org/mailman/listinfo/mapserver-users" moz-do-not-send="true">https://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
              </blockquote>
              <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
            </blockquote>
            <br>
          </blockquote>
          <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
        </blockquote>
        <br>
      </blockquote>
      <pre class="moz-signature" cols="72">-- 
<a class="moz-txt-link-freetext" href="http://www.spatialys.com" moz-do-not-send="true">http://www.spatialys.com</a>
My software is free, but my time generally not.</pre>
    </blockquote>
    <br>
  </body>
</html>