I'm using Qgis Server and I am experiencing a few problem.
I would like to display some raster layers ( for basemap) with other vector layers but I only obtain a white backgroung.
My situation :
I have one project ( qjs file) containing all the layer i want to retrieve with this url :
localhost/qgis/qgis_mapserv.fcgi.exe?SERVICE=WMS&VERSION=1.3.0&SRS=EPSG:2154&REQUEST=GetMap&map=c:/myprojects/qgis/V3_dev.qgs&BBOX=320000,6300000,550000,6500000&WIDTH=1000&HEIGHT=1000&LAYERS=ORTHOPHOTO&FORMAT=image/png
ORTHOPHOTO is the group containing some raster layers : http://nsa34.casimages.com/img/2014/06/12/140612095507246249.png
But the only thing i got is a perfect white picture, no errors. There is no problem with Bbox or EPSG because i can easily display vector layer. I tested to directly select ortho1 (included in ORTHOPHOTO) but same result.
I'm quite puzzled because i read that since the 2.2 version of qgis, raster layer could be use in qgis server. Source (chapter Qgis Server) : http://docs.qgis.org/2.2/fr/docs/user_manual/preamble/whats_new.html
My configuration :
→ Windows 7 x64
→ Packages installed with OsGeo4w following this tuto : hub.qgis.org/projects/quantum-gis/wiki/QGIS_Server_Tutorial (qgis server / gdal / fcgid)
→ Apache 2.4.9 with ''fcgid_module'' (and ''cgi_module'' too)
→ The V3_dev OWS properties : nsa34.casimages.com/img/2014/06/12/140612102742321017.png
What i tried :
→ Some re-installation
→ With the GetCapabilities request i can see the group ORTHOPHOTO queryable.
→ Qgis server on a ubuntu VM but same result.
→ i tried to convert raster layer into vector layer : layer quality fail
→ I read that someone have the same problem on CentOS. Source : www.forumsig.org/archive/index.php/t-38101.html
→ I recently discovered the GetCoverage request :
localhost/qgis/qgis_mapserv.fcgi.exe?SERVICE=WCS&VERSION=1.1.0&CRS=EPSG:2154&REQUEST=GetCoverage&map=c:/myprojects/qgis/V3_dev.qgs&BBOX=320000,6300000,550000,6500000&WIDTH=1000&HEIGHT=1000&COVERAGE=ORTHOPHOTO&RESPONSE_CRS=EPSG:2154&FORMAT=image/png
and i obtain : The layer for the COVERAGE 'ORTHOPHOTO' is not found
→ i'm also wondering : Is it possible that some librairie (like gdal) is missing in the OsGeo4W installer ?
Hoping someone can help me :)
PS : Sorry for the french links