diff options
author | David Spencer <baildon.research@googlemail.com> | 2011-08-03 17:33:31 -0300 |
---|---|---|
committer | Niels Horn <niels.horn@slackbuilds.org> | 2011-08-03 17:33:31 -0300 |
commit | 7cd2c647393d1c4a54ff3787f22dc71473a429ac (patch) | |
tree | 72ec62dd2d88f6877b4837ed0412ebbd073562aa /academic/qgis/README.server | |
parent | 4e9754fce2dfd21d37f6e360eab75df911a28665 (diff) |
academic/qgis: Updated for version 1.7.0.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'academic/qgis/README.server')
-rw-r--r-- | academic/qgis/README.server | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/academic/qgis/README.server b/academic/qgis/README.server new file mode 100644 index 0000000000000..5ab3b45d1a7da --- /dev/null +++ b/academic/qgis/README.server @@ -0,0 +1,23 @@ +QGIS Server is a WMS server for your QGS project. It requires fcgi. It is +optionally built at the same time as QGIS; you need to specify SERVER=yes +to the SlackBuild, for example + + SERVER=yes sh qgis.SlackBuild + +By default, the server is installed into /var/www/cgi-bin/qgis, and so the +WMS URL is 'http://<hostname>/cgi-bin/qgis/qgis_mapserv.fcgi'. However, a +different directory can be specified by passing CGIBINDIR=<path> to the +SlackBuild script. + +After installing QGIS (and the server), you will need to set up the server. +To serve a single QGIS project, this can be done as follows: + +* In the qgis 'Project Properties' window, on the 'General' tab, ensure +that 'Save paths' is set to 'absolute', and on the 'WMS Server' tab, fill +in all relevant details (particularly including 'Coordinate Systems +Restrictions'). + +* Create a symlink to your QGIS project file from /var/www/cgi-bin/qgis/, +e.g., + + ln -s /home/user/maps/mymap.qgs /var/www/cgi-bin/qgis/ |