Bug report #3991
WFS 1.1 data is not displayed
|Category:||Web Services clients/WFS|
|Affected QGIS version:||master||Regression?:||No|
|Operating System:||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:||fixed/implemented|
|Crashes QGIS or corrupts data:||No||Copied to github as #:||13981|
Data from WFS 1.1 is being loaded but the result is an empty layer (only column names in attributes, no values, no geometries).
Tested with: http://data.wien.gv.at/daten/wfs (any layer)
Fetching the data with wget seems to work fine.
#11 Updated by Evgeniy Nikulin almost 7 years ago
If request is GetFeature (not GetCapabilities?!?!?) and xml encoding is not "utf-8", then data handler write error:
"Error: unknown encoding on line 1, column 30"
Line 1 from respond:
<?xml version='1.0' encoding="windows-1251" ?>
If the encoding is utf-8, the data are displayed normally.
#15 Updated by Médéric RIBREUX over 4 years ago
- Status changed from Open to Feedback
Hello, bug triage...
I have made some tests on a WFS 1.1 service ( http://geoservices.brgm.fr/geologie?SERVICE=WFS&VERSION=1.1.0&REQUEST=GetFeature&TYPENAME=LITHO_1M_SIMPLIFIEE&SRSNAME=EPSG:4326 ). The BRGM WFS service is requested by default as WFS 1.0 from QGIS Client (if you add http://geoservices.brgm.fr/geologie in the WFS server list), so I have manually changed the datasource in the qgs file.
With such a layer, I get all of the attributes and the geometries. The geometries are not well projected but after a quick comparison with the WFS 1.0 version of the layer (that you can get at http://geoservices.brgm.fr/geologie?SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=LITHO_1M_SIMPLIFIEE&SRSNAME=EPSG:4326 ), it seems to be a WFS server side problem. So, for me, QGIS 2.13 seems to be able to get WFS 1.1 layers.
Could someone test on an another service to be sure ?