LizMap est une solution complète de publication de cartes QGIS sur Internet.
LizMap is a complete Internet QGIS map publishing.
- To build lizmap with Docker on a PC,server
docker build -t "lizmap" https://github.com/jancelin/docker-lizmap.git#3.1.1-0.1:/ -f Dockerfile
- To build lizmap with Docker on a Raspberry Pi
docker build -t "lizmap" https://github.com/jancelin/docker-lizmap.git#3.1.1-0.1:/ -f Dockerfile.raspberry
- PC
docker pull jancelin/docker-lizmap:3.1.1-0.1
- Raspberry
docker pull jancelin/geopoppy:lizmap-3.1.1
- Create folders for persistent data and config
mkdir /home/lizmap/lizmap_var
mkdir /home/lizmap/lizmap_project
mkdir /home/lizmap/tmp
chown :www-data -R /home/lizmap
- Create a docker-compose.yml for PC or Raspberry Pi
https://github.com/jancelin/docker-lizmap/blob/3.1.1-0.1/docker-compose.yml
- UP
docker-compose up -d
- Now config lizmap on web :
http://ip/websig/lizmap/www/admin.php
- change URL WMS:
- Add /home/ for looking your geo projects
Lizmap working with your data and config at :
http://"your_ip_rpi_wifi_serveur"
exemple for me: http://172.24.1.1
or
http://"your_ip_rpi_wifi_serveur"/websig/lizmap/www/
lizmap admin at
http://"your_ip_rpi_wifi_serveur"/websig/lizmap/www/admin.php
Use https for the location
Lizmap Web Application generates dynamically a web map application (php/html/css/js) with the help of Qgis Server ( QGIS Server Tutorial ). You can configure one web map per Qgis project with the QGIS LizMap Plugin.
Julien ANCELIN ( julien.ancelin@inra.fr) 2017