Bug report #17977
QGIS server 2.99 doesn't handles BBOX parameter on WFS request
Status: | Closed | ||
---|---|---|---|
Priority: | High | ||
Assignee: | Alessandro Pasotti | ||
Category: | QGIS Server | ||
Affected QGIS version: | master | Regression?: | Yes |
Operating System: | linux debian | Easy fix?: | No |
Pull Request or Patch supplied: | Yes | Resolution: | fixed/implemented |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 25873 |
Description
Hi all,
Since I recently switched to version 2.99 both for desktop (to edit my .qgs file) and server, I cannot use anymore WFS requests using BBOX parameter.
I get a 400 error code, with the following response to my request :
<ServiceExceptionReport xmlns="http://www.opengis.net/ogc" version="1.2.0">
<ServiceException code="Invalid WFS Parameter">BBOX ('648554.4282185523,6864450.889702165,661798.1058293297,6872079.972632732,EPSG:2154') cannot be converted into a rectangle</ServiceException>
</ServiceExceptionReport>
I both tried using my web application and directly into QGIS 2.99 desktop application, I get the same error.
With the former version, I hadn't such a problem.
Anyway, many thanks to all QGIS contributors. It's a great project.
Rémi.
Related issues
Associated revisions
[server][bugfix][wfs] Allow CRS in BBOX
Fixes #17977 - QGIS server 2.99 doesn't handles BBOX parameter on WFS request
History
#1 Updated by Rémi Bonnefoi almost 7 years ago
By the way, no problem when I use a "loading strategy: all", i.e. without a BBOX parameter.
#2 Updated by Alessandro Pasotti almost 7 years ago
- Assignee set to Alessandro Pasotti
#3 Updated by Alessandro Pasotti almost 7 years ago
- Duplicates Bug report #15464: WFS 1.0.0 GetFeature requests from QGIS include a crsuri component in the BBOX parameter added
#4 Updated by Alessandro Pasotti almost 7 years ago
- Status changed from Open to Feedback
If I get this right, the fifth parameter to BBOX is an option for WFS 1.1.0 only and it's illegal in 1.0.
If you set the WFS version to 1.0 everything works as expected, if you leave it to AUTO, it fails.
BTW, I see that the QGIS server should support that, I'm working on a fix...
#5 Updated by Alessandro Pasotti almost 7 years ago
- Status changed from Feedback to In Progress
#6 Updated by Alessandro Pasotti almost 7 years ago
- Pull Request or Patch supplied changed from No to Yes
#7 Updated by Anonymous almost 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 0 to 100
Applied in changeset qgis|1f2109a51f86e177f3994f97c3e8e1d93cfa1ac1.
#8 Updated by Rémi Bonnefoi almost 7 years ago
Dear Alessandro,
I am sorry to have left unsanswered your question.
Anyway, thank you very much for your support and the patch.
Best regards,
Remi
#9 Updated by Alessandro Pasotti almost 7 years ago
np, thank you for reporting the issue and using QGIS!
#10 Updated by Giovanni Manghi almost 7 years ago
- Resolution set to fixed/implemented