<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Reginald,</p>
<p>Errors of QGIS server appear in the Apache log files (something like "error_log", potentially in /var/log/httpd or apache).</p>
<p>Additionally, there is a way to enable logging of QGIS Server - see <a href="https://docs.qgis.org/2.18/en/docs/user_manual/working_with_ogc/server/config.html#logging">https://docs.qgis.org/2.18/en/docs/user_manual/working_with_ogc/server/config.html#logging</a></p>
<p>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.</p>
<p>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.</p>
<p>Also, I recommend using gdal_warp instead of gdal_merge for merging raster files. It has more options to merge/manipulate images.</p>
<p>Greetings,</p>
<p>Andreas</p>
<p>On 2018-04-12 14:44, Reginald wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">Thanks a lot Andreas,<br /> <br /> That worked!<br /> Altough, using the vrt succeeded the first time, but when I opened the<br /> project again qgis crashed (2.18.18)<br /> I tried several times, even loading the vrt file in a new project made qgis<br /> crash.<br /> Building the raster with gdal_merge worked. First I have build a vrt file,<br /> and then I created the merged file.<br /> I succeeded in serving the project in qgisserver and opening it in qgis.<br /> Then I adjusted the OWS settings (just filled in title, extent etc. --><br /> tested it: result was ok).<br /> Now when I try to load the wmsservice in qgis, it shows the layer in the WMS<br /> dialog but when I add it I get an error. The problem is that I cannot read<br /> the error as it is shown above the mapwindow but the text is not readable,<br /> it is below the area that is visible.<br /> Any suggestions?<br /> <br /> Thanks a lot by the way :-)<br /> <br /> <br /> <br /> --<br /> Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html" target="_blank" rel="noopener noreferrer">http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html</a><br /> _______________________________________________<br /> Qgis-user mailing list<br /> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br /> List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /> Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a></div>
</blockquote>
<p><br /></p>

</body></html>