My problem is similar to this thread

I've installed QGIS 2.4 and QGIS server 2.4 on Fedora. I created a simple project containing a vector layer (shapefiles)
GetCapabilities request works but there is no layer in it. Except the Layer tag containing the name of the project.


<Layer queryable="1"> 
<BoundingBox CRS="EPSG:32198" maxx="0" minx="0" maxy="0" miny="0"/> 

here is an example of my query


I tried in the browser and curl command line and got the same result.

All the characters in the path are ascii. Perhaps it is a privilege access problem but I could not resolve it. My path is readable by all, since GetCapablities works it can read my .qgs.

Any idea on what the problem is?

  • 1
    I think it is a bug. qgis desktop use relative path for layers data. So in .qgs I get <datasource>./echantillonage.shp</datasource> If I manually set an absolute path GetCapablities returns my layers. I'll get on qgis dev list
    – stetou
    Commented Oct 27, 2014 at 19:03

2 Answers 2


Not a bug, there is a property to set the path absolute http://hub.qgis.org/issues/11509


There isn't a problem. The purpose of the GetCapabilites response is to tell you the name of the layers and the operations available though the service.

You need to construct a GetMap request to get the data.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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