Lizmap WPS Web Client is a Lizmap module to add a WPS panel into Lizmap Web Client.
This is an example showing the QGIS Processing Buffer algorithm, exposed as a WPS algorithm within Lizmap Web Client:
It's also providing another panel showing you the results which have been executed on the Lizmap instance.
Since version 0.1.1, it is recommended to install the module with Composer, the package manager for PHP. If you can't use it or if you are using Lizmap 3.3 or lower, use the manual way to install the module (jump to the corresponding section below)
- into
lizmap/my-packages
, create the filecomposer.json
(if it doesn't exists) by copying the filecomposer.json.dist
, and install the module with Composer:
cp -n lizmap/my-packages/composer.json.dist lizmap/my-packages/composer.json
composer require --working-dir=lizmap/my-packages "lizmap/lizmap-wps-web-client"
- Then execute Lizmap install scripts into
lizmap/install/
:
php lizmap/install/installer.php
./lizmap/install/clean_vartmp.sh
./lizmap/install/set_rights.sh
Go to the "Configuration" section.
- Download the zip archive from the release page into github.
- Extract files from the archive and copy the directory
wps
intolizmap/lizmap-modules/
of Lizmap. - Edit the file
lizmap/var/config/localconfig.ini.php
to add this into the[modules]
section
wps.access=2
- Then execute Lizmap install scripts into
lizmap/install/
:
php lizmap/install/installer.php
./lizmap/install/clean_vartmp.sh
./lizmap/install/set_rights.sh
Add a section [wps]
in your localconfig.ini.php
and add the variables:
[wps]
wps_url=http://wps:8080
wps_rootDirectories=/projects/wps
redis_host=localhost
redis_port=6379
redis_key_prefix=lzmwps
ows_url=http://map:8080
The WPS configuration:
wps_url
is the URL of the WPS servicewps_rootDirectories
is the path of the directories defined for the WPS Service MAP
The redis configuration for saving process status: uuid, INPUTS, OUTPUTS.
redis_host
the redis host to useredis_port
the redis port to useredis_key_prefix
the redis key prefix to use
The OWS proxy configuration:
ows_url
is the URL of the OWS service used by the WPS service