Tag Info

New answers tagged

0

I just noticed that you missed to set the QGIS installation path, so no provider may be loaded properly and probably this is the root of the problem. Try to change your script as follow: def main(): ## second argument (GUI Enabled) may be False ## if you do not need of GUI stuff QgsApplication([], False) ## installation path for Linux: ...


2

You don't say how you are opening your JS script in FireFox. I believe this layer type is using Ajax calls. You cannot open the file with file://myfirstmap.html. You have to use a web server to view the map. The problem that you will face with OpenLayers is that some formats like the text/tab/csv format does not use Ajax calls. So you start with these ...


0

Found my answer here With an existing wordpress installation I can just follow: http://anitagraser.com/2012/03/30/qgis-server-on-ubuntu-step-by-step/ key change is to append within /etc/apache2/apache.conf the following: ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ <Directory "/usr/lib/cgi-bin/"> Options ExecCGI FollowSymLinks Require all granted ...


0

Not a bug, there is a property to set the path absolute http://hub.qgis.org/issues/11509



Top 50 recent answers are included