Hi All,

First of all, thank you for your support and great work on Mapserver!

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.

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.

The Server is

`https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022?`

The Layer is
`boris:BR_BodenrichtwertZonal`

A direct call from the browser works:

`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`

I can see in Mapserver log (CONFIG "CPL_DEBUG" "ON"  CONFIG "PROJ_DEBUG" "ON") that the BBOX is missing:

`Fetch(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)`

By the way, it does not matter if WFS 1.1.0 or 2.0.0 are used.

Trying with ogrinfo:
```
ogrinfo -ro -spat 545592 5806696 548144 5810131 WFS:"https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022" "boris:BR_BodenrichtwertZonal"

INFO: Open of `WFS:https://www.geobasisdaten.niedersachsen.de/doorman/noauth/WFS_boris_2022'
      using driver `WFS' successful.
Metadata:
  ABSTRACT=BORIS 2022 WFS by XtraServer
  PROVIDER_NAME=Landesamt für Geoinformation und Landesvermessung Niedersachsen (LGLN) - Landesbetrieb Landesvermessung und Geobasisinformation
  TITLE=BORIS 2022 WFS
ERROR 1: No schema information loaded
Warning 1: NAS: Skipping geometry without feature

Layer name: boris:BR_BodenrichtwertZonal
Metadata:
  TITLE=boris_BR_BodenrichtwertZonal
Geometry: None
Feature Count: 33931
```
There should be some 62 Features in that bbox.

Any help is much appreciated.

Best

Lars
_______________________________________________
MapServer-users mailing list
MapServer-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to