Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I use Quantum GIS 1.8.0 on Windows 7 Professional, 64 bit. I have problem with WFS Layer. I tried tree WFS:

1) Download services - Parcels (Czech Republic)

2) Geonames (Czech Republic)

3) Example

Example #3 is OK.

Example #2 shows Error "The layer is not a valid layer and can not be added to the map"

Example #1 shows Error "capabilities document contained no layers."

I don't know, where are the differences between services. Could you help me?

Thanks Petr

share|improve this question

The two that fail appear to be WFS 2.0 servers so it may be that the default QGIS WFS client can't handle that version - try the WFS 2.0 client plugin and see if that helps.

share|improve this answer
Example 3 also appears to be WFS 2.0, but it does have earlier "AcceptVersion" for 1.0.0. The 2.2.0 was new to me... – BradHards Oct 22 '12 at 9:57

Example #2 is a protected service. You have to add an additional parameter (in this case "sid") to the request for authorisation. The WFS 2.0 Plugin already supports standard HTTP-Auth (username, password). I will add support for this type of protection in one of the next releases.


The new version 0.8.2 is online. Now you are able to use the protected WFS 2.0 (Geonames (Czech Republic))

  1. Add a custom SRS to QGIS (EPSG:102067 is non official and the only SRS which is supported by the WFS)

  2. Use the following URL (WFS 2.0 Client):

  3. Overwrite the SRS (WFS 2.0 Client): EPSG:0 --> EPSG:102067

share|improve this answer
Thank you, I look forward to the next version. – Petr Souček Oct 27 '12 at 11:46

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.