Friday 16 August 2019

QGIS Server does not display test WMS



I'm having a similar problem to this post: Using Qgis server with Ubuntu 12.04


I am using Mint 15 desktop and QGIS 2.0.1.


I read the above post and decided to go back a step or two and followed this tutorial: http://docs.qgis.org/2.0/html/en/docs/user_manual/working_with_ogc/ogc_server_support.html


I only got to the testing part. I am able to connect to localhost/cgi-bin/qgis_mapserv.fcgi using the 'Add WMS/WMST Layers' tool and I can see 'wfslayer' in the list. The 'Add' button is greyed out and the dialogue says Coordinate Reference System (0 available).


When I create my own QGIS project the 'Add' button is also greyed out unless I add the shapefile's CRS to Project Properties>'CRS Exclusions' list. If I add the CRS then I can add the layer to the TOC but it does not render.


I started to check if my web server (apache2) configuration was correct as per: http://karlinapp.ethz.ch/qgis_wms/configuration/index.html but am having the following issues:



  1. I have two fcgid.conf so do I edit both?

  2. I do not know the 'syntax' of 'DefaultInitEnv LD_LIBRARY_PATH' for apache2.conf or fcgid.conf

  3. I used /usr/lib/qgis for QGIS libraries (is this correct?) but cannot determine the path to 'qt libraries'.



Do I need to configure these 3 conf files?


Are they the likely cause of not being able to add the test WMS layer?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...