<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Hi All,<br>
<br>
First of all, thank you for your support and great work on
Mapserver!<br>
<br>
I have a strange issue using either OGR WFS driver on Mapserver
7.6.4-1 or ogrinfo (GDAL 3.0.4, released 2020/01/28) on Ubuntu 20.<br>
<br>
When I call on a particular public server, mapserver / gdal / ogr
does not seem to forward the bbox. I had a similar issue before
(over a year ago) on another server but this was fixed by an update
in GDAL it seemed. <br>
<br>
The Server is <br>
<br>
`<a class="moz-txt-link-freetext"
href="https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022">https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022</a>?`<br>
<br>
The Layer is <br>
`boris:BR_BodenrichtwertZonal`<br>
<br>
A direct call from the browser works:<br>
<br>
`<a class="moz-txt-link-freetext"
href="https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&SRSNAME=EPSG:25832&BBOX=545592,5806696,548144,5810131&TYPENAMES=boris:BR_BodenrichtwertZonal">https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022?SERVICE=WFS&VERSION=2.0.0&REQUEST=GetFeature&SRSNAME=EPSG:25832&BBOX=545592,5806696,548144,5810131&TYPENAMES=boris:BR_BodenrichtwertZonal</a>`<br>
<br>
I can see in Mapserver log (CONFIG "CPL_DEBUG" "ON" CONFIG
"PROJ_DEBUG" "ON") that the BBOX is missing:<br>
<br>
`Fetch(<a class="moz-txt-link-freetext"
href="https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&SRSNAME=EPSG:25832&TRUST_CAPABILITIES_BOUNDS=YES&REQUEST=GetFeature&TYPENAME=boris:BR_BodenrichtwertZonal">https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022?SERVICE=WFS&VERSION=1.1.0&MAXFEATURES=500&SRSNAME=EPSG:25832&TRUST_CAPABILITIES_BOUNDS=YES&REQUEST=GetFeature&TYPENAME=boris:BR_BodenrichtwertZonal</a>)`<br>
<br>
By the way, it does not matter if WFS 1.1.0 or 2.0.0 are used.<br>
<br>
Trying with ogrinfo:<br>
```<br>
ogrinfo -ro -spat 545592 5806696 548144 5810131
WFS:<a class="moz-txt-link-rfc2396E"
href="https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022">"https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022"</a>
"boris:BR_BodenrichtwertZonal"<br>
<br>
INFO: Open of
`WFS:<a class="moz-txt-link-freetext"
href="https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022">https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022</a>'<br>
using driver `WFS' successful.<br>
Metadata:<br>
ABSTRACT=BORIS 2022 WFS by XtraServer<br>
PROVIDER_NAME=Landesamt für Geoinformation und Landesvermessung
Niedersachsen (LGLN) - Landesbetrieb Landesvermessung und
Geobasisinformation<br>
TITLE=BORIS 2022 WFS<br>
ERROR 1: No schema information loaded<br>
Warning 1: NAS: Skipping geometry without feature<br>
<br>
Layer name: boris:BR_BodenrichtwertZonal<br>
Metadata:<br>
TITLE=boris_BR_BodenrichtwertZonal<br>
Geometry: None<br>
Feature Count: 33931<br>
```<br>
There should be some 62 Features in that bbox.<br>
<br>
Any help is much appreciated.<br>
<br>
Best<br>
<br>
Lars
</body>
</html>