[Qgis-user] qgis-mapserver: GetCapabilities returns no layer

Steve.Toutant at inspq.qc.ca Steve.Toutant at inspq.qc.ca
Mon Oct 27 08:40:04 PDT 2014


Hello

I've installed qgis 2.4 and qgis server 2.4 on fedora
I created a simple project containing a vector layer (shapfiles)
GetCapabilities works but  there is no layer. Except the Layer tag 
containing the name of the project. Example 
<Layer queryable="1">
<Name>test3</Name>
<Title>test3</Title>
<EX_GeographicBoundingBox>
<westBoundLongitude>-68.5</westBoundLongitude>
<eastBoundLongitude>-68.5</eastBoundLongitude>
<southBoundLatitude>44</southBoundLatitude>
<northBoundLatitude>44</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox CRS="EPSG:32198" maxx="0" minx="0" maxy="0" miny="0"/>
</Layer>


here is an example of my query
http://localhost/qgis/qgis_mapserv.fcgi?map=test3.qgs&SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities


I also tried with a raster layer, then I receive this type of error
ERROR 4: `/../../data/ilotschaleur/tifs/classe1a7/clas1_7z6.tif' does not 
exist in the file system, and is not recognised as a supported dataset 
name.

All the characters in this path are ascii.

Any idea on what the problem is?
Thanks

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20141027/9a0b9cbe/attachment.html>


More information about the Qgis-user mailing list