Open pathmapper opened 2 months ago
There's definitely an issue on QGIS side which is confused by the DefaultCRS being a compoundCRS "urn:ogc:def:crs,crs:EPSG::25832,crs:EPSG::7837", and that adds a trailing comma at the end of the BBOX parameter, but even if it was solved, the server seems buggy
let's try to specify the BBOX CRS using the defaultCRS and adding minZ,maxZ to the bounding box:
$ curl "https://www.wfs.nrw.de/geobasis/wfs_nw_3d-gebaeudemodell_lod1?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&TYPENAME=core:Address&BBOX=840862.26138782454654574,6663500.88930276967585087,0,909366.07761299889534712,6707375.24030579254031181,1000000,urn:ogc:def:crs,crs:EPSG::25832,crs:EPSG::7837"
<?xml version="1.0" encoding="utf-8" ?>
<ExceptionReport
version="1.1.0"
xmlns="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows http://www.wfs.nrw.de/schemas/ogc/ows/1.0.0/owsExceptionReport.xsd">
<Exception exceptionCode="ErrorInFilterExpression" locator="unknown">
<ExceptionText>
Request rejected due to errors.
InternalExceptionCode: iiErrorInFilterExpression.
Reason:
Error in filter expression: FeatureType "core:Address" has no geometry property or it is missing in the configuration.
</ExceptionText>
</Exception>
</ExceptionReport>
let's try to make it a 2D-only bbox using the non default CRS urn:ogc:def:crs,crs:EPSG::25832:
$ curl "https://www.wfs.nrw.de/geobasis/wfs_nw_3d-gebaeudemodell_lod1?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&TYPENAME=core:Address&BBOX=840862.26138782454654574,6663500.88930276967585087,909366.07761299889534712,6707375.24030579254031181,urn:ogc:def:crs:EPSG::25832"
<?xml version="1.0" encoding="utf-8" ?>
<ExceptionReport
version="1.1.0"
xmlns="http://www.opengis.net/ows" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/ows http://www.wfs.nrw.de/schemas/ogc/ows/1.0.0/owsExceptionReport.xsd">
<Exception exceptionCode="ErrorInFilterExpression" locator="unknown">
<ExceptionText>
Request rejected due to errors.
InternalExceptionCode: iiErrorInFilterExpression.
Reason:
Error in filter expression: FeatureType "core:Address" has no geometry property or it is missing in the configuration.
</ExceptionText>
</Exception>
</ExceptionReport>
What is the bug or the crash?
SRS for BBOX parameter is missing:
https://www.wfs.nrw.de/geobasis/wfs_nw_3d-gebaeudemodell_lod1?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.1.0&TYPENAME=core:Address&BBOX=840862.26138782454654574,6663500.88930276967585087,909366.07761299889534712,6707375.24030579254031181,
Steps to reproduce the issue
Versions
Supported QGIS version
New profile
Additional context
GetCapabilities advertises two crs, one for height: https://www.wfs.nrw.de/geobasis/wfs_nw_3d-gebaeudemodell_lod1?SERVICE=WFS&REQUEST=GetCapabilities&ACCEPTVERSIONS=2.0.0,1.1.0,1.0.0
<ows:Value>urn:ogc:def:crs,crs:EPSG::25832,crs:EPSG::7837</ows:Value>