Hi Reginald, 

Errors of QGIS server appear in the Apache log files (something like
"error_log", potentially in /var/log/httpd or apache). 

Additionally, there is a way to enable logging of QGIS Server - see
https://docs.qgis.org/2.18/en/docs/user_manual/working_with_ogc/server/config.html#logging


About VRT not working: have you looked into the VRT in a text editor and
made sure that the paths to the tif files are ok? Absolute or relative?
If they are absolute, they probably fail if you move them to QGIS
server, which potentially has a different file system and paths. 

If you merge your raster tiles with GDAL - also make sure that you add
pyramids (see GDAL command gdaladdo) or use the raster properties
dialogue in QGIS to build the pyramids. I usually embed them in the
GEOTIFF file, so you don't end up with many files. 

Also, I recommend using gdal_warp instead of gdal_merge for merging
raster files. It has more options to merge/manipulate images. 

Greetings, 

Andreas 

On 2018-04-12 14:44, Reginald wrote:

> Thanks a lot Andreas,
> 
> That worked!
> Altough, using the vrt succeeded the first time, but when I opened the
> project again qgis crashed (2.18.18)
> I tried several times, even loading the vrt file in a new project made qgis
> crash.
> Building the raster with gdal_merge worked. First I have build a vrt file,
> and then I created the merged file.
> I succeeded in serving the project in qgisserver and opening it in qgis.
> Then I adjusted the OWS settings (just filled in title, extent etc. -->
> tested it: result was ok).
> Now when I try to load the wmsservice in qgis, it shows the layer in the WMS
> dialog but when I add it I get an error. The problem is that I cannot read
> the error as it is shown above the mapwindow but the text is not readable,
> it is below the area that is visible.
> Any suggestions?
> 
> Thanks a lot by the way :-)
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> _______________________________________________
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to