[Qgis-developer] WFS loader does not work if spaces in layer names

John Abraham jea at hbaspecto.com
Wed Feb 12 08:58:25 PST 2014

I couldn't figure out what was wrong with loading WFS layers into QGIS, it always worked before, but it wasn't working in my new project.  Turns out I had spaces in the layer names.  QGIS wasn't parsing the layer names right if the layers had spaces in them, it would try to load a different layer than the one I had selected.  

Do spaces in layer names need to be escaped so that they work in the URL?  Should QGIS be escaping them? Or are spaces in layer names just a bad idea overall?

Anyone care to enter this into the bug tracking/issue tracking system?  It would be great if it at least threw an error/warning.

John Abraham
jea at hbaspecto.com

More information about the Qgis-developer mailing list