Export PDF using composer atlas feature, usable in server
Switch branches/tags
Nothing to show
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
filters Improve the use of feature filter May 1, 2018
help 1st commit Sep 26, 2017
i18n 1st commit Sep 26, 2017
scripts 1st commit Sep 26, 2017
test 1st commit Sep 26, 2017
.gitignore 1st commit Sep 26, 2017
Makefile 1st commit Sep 26, 2017
README.md Add installation guide to README Mar 14, 2018
__init__.py [BUGFIX ]Use getprintatlas request instead of getprint Feb 21, 2018
atlasprint.py
atlasprintServer.py 1st commit Sep 26, 2017
atlasprint_dialog.py
atlasprint_dialog_base.ui 1st commit Sep 26, 2017
icon.png 1st commit Sep 26, 2017
metadata.txt 1st commit Sep 26, 2017
pb_tool.cfg
plugin_upload.py 1st commit Sep 26, 2017
pylintrc 1st commit Sep 26, 2017
resources.py 1st commit Sep 26, 2017
resources.qrc

README.md

atlasprint: QGIS Server Plugin to export PDF from composer with atlas capabilities

Description

This plugin adds a new request to QGIS Server getprintatlas which allows to export a print composer with an atlas configured, but passing an expression parameter to choose which feature is the current atlas feature.

Installation

We assume you have a fully functionnal QGIS Server. See https://docs.qgis.org/2.18/en/docs/user_manual/working_with_ogc/server/index.html

We need to download the plugin, and tell QGIS Server where the plugins are stored, the reload the web server. For example on Debian:

# Create needed directory to store plugins
mkdir -p /srv/qgis/plugins

# Get last version
cd /srv/qgis/plugins
wget "https://github.com/3liz/qgis-atlasprint/archive/master.zip"
unzip master.zip
mv qgis-atlasprint-master atlastprint

# Make sure correct environment variables are set in your web server configuration
# for example in Apache2 with mod_fcgid
nano /etc/apache2/mods-available/fcgid.conf
FcgidInitialEnv QGIS_PLUGINPATH "/srv/qgis/plugins/"

# Reload server, for example with Apache2
service apache2 reload

You can now test your installation