Skip to content

nboisteault/qgis-atlasprint

 
 

Repository files navigation

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

About

Export PDF using composer atlas feature, usable in server

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 73.3%
  • Makefile 15.8%
  • Batchfile 5.5%
  • Shell 3.3%
  • QML 2.1%