-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
qgswfsgetcapabilities: Restore previous empty bounding box behavior
According to the WFS 1.1.0 specs "The <WGS84BoundingBox> element is used to indicate the edges of an enclosing rectangle in decimal degrees of latitude and longitude in WGS84" but the expected behavior is not specified when the data are empty. Up to QGIS 3.32, QGIS server returned: ``` <ows:WGS84BoundingBox dimensions="2"> <ows:LowerCorner>0 0</ows:LowerCorner> <ows:UpperCorner>0 0</ows:UpperCorner> ``` However, as a side effect of a change in `QGSRectangle` (see: #54646), QGIS server now returns since the 3.34 version: ``` <ows:WGS84BoundingBox dimensions="2"> <ows:LowerCorner>inf inf</ows:LowerCorner> <ows:UpperCorner>-inf -inf</ows:UpperCorner> ``` This changes restores the QGIS 3.32 behavior.
- Loading branch information
1 parent
adcd4e5
commit 9936741
Showing
5 changed files
with
832 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.