Bug report #6250

WFS Browser Drag and drop not working

Added by Jeremy Palmer about 7 years ago. Updated about 6 years ago.

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

Description

Adding a dragging a WFS layer which has a title with spaces to the map does not work. e.g layer name = "XXX: MyLayer" URL="http://foo/bar?version=1.0.0&VERSION=1.0.0&TYPENAME=v:x1153&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=v:x1153" Gives and error:

MyLayer:http://foo/bar?version=1.0.0&VERSION=1.0.0&TYPENAME=v:x1153&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=v:x1153 is not a valid layer and can not be added to the map is not a valid layer and can not be added to the map

Also seems that there is a bug with the creation of QgsOWSConnection object "WF" instead of "WFS". See

https://github.com/qgis/Quantum-GIS/blob/master/src/providers/wfs/qgswfsdataitems.cpp#L156

History

#1 Updated by Paolo Cavallini about 7 years ago

  • Target version set to Version 2.0.0

#2 Updated by Jeremy Palmer about 6 years ago

  • Status changed from Open to Closed

This is now fixed in QGIS 2.0

#3 Updated by Giovanni Manghi about 6 years ago

  • Resolution set to fixed

Also available in: Atom PDF