Bug report #14685
Missing namespace declaration in the GetFeature request
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 #: | 22649 |
Description
In the GetFeature request the namespace declaration is missing. This will result in ServiceExceptions on some WFS server. Please add the namespaces parameter. Example
namespaces=xmlns(bvv,http://www.geodaten.bayern.de).
Please also refer to https://github.com/qgis/QGIS/pull/2977#issuecomment-207578177
Associated revisions
[WFS provider] Add NAMESPACES= parameter to GetFeature requests when needed (fixes #14685)
History
#1
Updated by Juergen Weichand over 8 years ago
#2
Updated by Even Rouault almost 8 years ago
- Status changed from Open to Feedback
I looked at the above links, but couldn't find an example of a server + layer that would require namespace. Do you have one ?
#3
Updated by Juergen Weichand almost 8 years ago
Even Rouault wrote:
I looked at the above links, but couldn't find an example of a server + layer that would require namespace. Do you have one ?
Hi Even,
please check out the following WFS 2.0 reference implementation [1].
GetCapabilities
http://services.interactive-instruments.de/cite-xs-46/simpledemo/cgi-bin/cities-postgresql/wfs?request=GetCapabilities&service=wfs
Best regards
Juergen
[1] https://github.com/opengeospatial/cite/wiki/Reference-Implementations
#4
Updated by Giovanni Manghi over 7 years ago
- Status changed from Feedback to Open
#5
Updated by Giovanni Manghi over 7 years ago
- Regression? set to No
- Easy fix? set to No
#6
Updated by Even Rouault almost 7 years ago
- % Done changed from 0 to 100
- Status changed from Open to Closed
Applied in changeset qgis|94fa450efdf6de2165f2c9c99dfba04c96b1380e.