[Geoserver-devel] Question marks in workspace URI cause issues when loading WFS into QGIS

Hi,

I’ve been struggling to get my WFS layers to load into QGIS and I have now discovered that my issue was with the Namespace URI in the workspace definition. The URL I had used was actually a URL but it contained the ? character. This character was then being replicated into the XML definition in the WFS GML outputs.

I seems that MapInfo didn’t mind this at all but QGIS was being picky for some reason. Given that it is a unique URI rather than a URL I just replaced the question mark with a forward splash and presto it is working now :blush:

Perhaps it is worth an update to the docs (https://docs.geoserver.org/latest/en/user/data/webadmin/workspaces.html#edit-a-workspace) to recommend that special characters are avoided but then I’m probably the only person in the world that has ever done it so I’m happy to just say it works and move on if we don’t think it needs documenting.

Hopefully it is useful to post it on here as well as in the QGIS mailing list.

Paul

Thanks Paul:

We have some notes on how to do a quick fix to the docs yourself here: https://docs.geoserver.org/latest/en/docguide/quickfix.html

Each page has an “edit” link on the right hand side (in this case to https://github.com/geoserver/geoserver/blob/master/doc/en/user/source/data/webadmin/workspaces.rst ).

···


Jody Garnett