Bug report #6923
WFS 1.1.0 & 2.0.0
|Category:||Web Services clients/WFS|
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||16041|
The (self-admittingly out of date) user guide here: http://docs.qgis.org/html/en/docs/user_manual/working_with_ogc/ogc_client_support.html#wfs-and-wfs-t-client states that WFS 1.0.0 is the only one supported.
I have a GeoServer 2.2.2 install. GeoServer can serve WFS 1.0.0, 1.1.0 and 2.0.0.
The bug is that if QGIS 1.8.0 can't support anything other than 1.0.0, it doesn't tell me as the user that when I try and connect to one.
When I try and connect to 1.1.0 (http://wppgeog3:8082/geoserver/ows?service=wfs&version=1.1.0&request=GetCapabilities) - QGIS picks up the layer and goes through the connection procedure. But no actual data is loaded even though the layer is added.
When I try and connect to 2.0.0 (http://wppgeog3:8082/geoserver/ows?service=wfs&version=2.0.0&request=GetCapabilities) - I get an error "capabilities document contained no layers." - "capabilities" should have a capital C, and that's ignoring the fact that the version is unsupport.
Both versions should give an error:
"This version of WFS is unsupported. Please use: [give a list of supported WFS versions]"