Bug report #14686

Better exception handling if the WFS server is providing complex features

Added by Juergen Weichand about 8 years ago. Updated over 7 years ago.

Status:Closed
Priority:Normal
Assignee:-
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 #:22650

Description

I've also did some testing with WFS 2.0 server providing complex features, which are not supported.

In the first case, the QGIS WFS provider is not able to parse the complex schema structure and returns the following message DescribeFeatureType failed for url srsname='EPSG:4326' typename='ad:Address' url='http://demo.deegree.org/inspire-workspace/services/wfs' version='2.0.0' table="" sql=: failed retrieving attributes from schema.
http://demo.deegree.org/inspire-workspace/services/wfs

In the second case, the layer is containing null values and is non spatial.
http://services.cuzk.cz/wfs/inspire-cp-wfs.asp

Please also refer to:
https://github.com/qgis/QGIS/pull/2977#issuecomment-207578177
https://github.com/qgis/QGIS/pull/2977#issuecomment-207599833

History

#1 Updated by Even Rouault over 7 years ago

  • Status changed from Open to Closed

A more explicit error message is given now.

Also available in: Atom PDF