diff options
author | Benjamin Trigona-Harany <slackbuilds@jaxartes.net> | 2014-02-02 06:41:03 +0700 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2014-02-02 02:09:49 -0600 |
commit | 8e68364dbb16ce0bca716d05a47b44a6dee6c419 (patch) | |
tree | c331781d6ff607b948e5abeedd716bd3ebcd51a9 /gis/qgis/README.server | |
parent | 391aa7c2ed513bdcd9768e8afc357d840e29b94c (diff) |
gis/qgis: Moved from Academic category.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/qgis/README.server')
-rw-r--r-- | gis/qgis/README.server | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/gis/qgis/README.server b/gis/qgis/README.server new file mode 100644 index 0000000000000..40fb86b098c22 --- /dev/null +++ b/gis/qgis/README.server @@ -0,0 +1,23 @@ +QGIS Server is a WMS server for your QGIS 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/: + + ln -s /home/user/maps/mymap.qgs /var/www/cgi-bin/qgis/ + |