Bug report #15464

WFS 1.0.0 GetFeature requests from QGIS include a crsuri component in the BBOX parameter

Added by First Name over 8 years ago. Updated about 8 years ago.

Status:Closed
Priority:Normal
Assignee:Even Rouault
Category:Web Services clients/WFS
Affected QGIS version:2.16.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:No Copied to github as #:23390

Description

QGIS adds a crsuri component to WFS 1.0.0 GetFeature requests, e.g.

&BBOX=-71.00,42.00,-72.00,43.00,EPSG:4326

This is an optional component of the BBOX parameter in WFS 1.1.0 but is not documented anywhere in the WFS 1.0.0 specification and causes errors to be returned from older WFS servers. If an error is returned, QGIS then falls back to a GetFeature request with no BBOX parameter and requests all available features from the server, rendering the 'Only request features overlapping the view extent' option ineffective.

QGIS should not add this component to the BBOX parameter for a WFS 1.0.0 GetFeature request.


Related issues

Duplicated by QGIS Application - Bug report #17977: QGIS server 2.99 doesn't handles BBOX parameter on WFS re... Closed 2018-01-26

Associated revisions

Revision 1ebd5a45
Added by Even Rouault about 8 years ago

[WFS provider] Do not append crs at end of BBOX in WFS 1.0

Fixes #15464

Revision a9850ae0
Added by Even Rouault about 8 years ago

[WFS provider] Do not append crs at end of BBOX in WFS 1.0

Fixes #15464

Revision eba8c5d9
Added by Even Rouault about 8 years ago

[WFS provider] Do not append crs at end of BBOX in WFS 1.0

Fixes #15464

History

#1 Updated by Even Rouault about 8 years ago

  • Assignee set to Even Rouault

#2 Updated by Even Rouault about 8 years ago

  • Status changed from Open to Closed

#3 Updated by Even Rouault about 8 years ago

  • Target version set to Version 2.16

#4 Updated by Alessandro Pasotti almost 7 years ago

  • Duplicated by Bug report #17977: QGIS server 2.99 doesn't handles BBOX parameter on WFS request added

Also available in: Atom PDF