├── .gitignore ├── 2.8 ├── tests │ ├── test.cpg │ ├── test.shp │ ├── test.shx │ ├── test.prj │ ├── test.qpj │ ├── test.dbf │ ├── test.sh │ └── project.qgs ├── qgis-icon-60x60.png ├── build │ ├── getCode.sh │ ├── clean.sh │ ├── make.sh │ └── getDeps.sh ├── run-qgis-2.8-in-docker.sh ├── QGIS-2.8.Docker.desktop ├── Dockerfile ├── build.sh ├── start.sh └── README.md ├── 3.0 ├── tests │ ├── test.cpg │ ├── test.shp │ ├── test.shx │ ├── test.prj │ ├── test.qpj │ ├── test.dbf │ ├── test.sh │ └── project.qgs ├── qgis-icon-60x60.png ├── build │ ├── getCode.sh │ ├── clean.sh │ └── make.sh ├── run-qgis-3.0-in-docker.sh ├── build.sh ├── QGIS-3.0.Docker.desktop ├── Dockerfile ├── start.sh └── README.md ├── 2.14 ├── tests │ ├── test.cpg │ ├── test.shp │ ├── test.shx │ ├── test.prj │ ├── test.qpj │ ├── test.dbf │ ├── test.sh │ └── project.qgs ├── qgis-icon-60x60.png ├── build │ ├── getCode.sh │ ├── clean.sh │ ├── make.sh │ └── getDeps.sh ├── run-qgis-2.14ltr-in-docker.sh ├── QGIS-2.14LTR.Docker.desktop ├── build.sh ├── start.sh ├── Dockerfile └── README.md ├── 2.18 ├── tests │ ├── test.cpg │ ├── test.shp │ ├── test.shx │ ├── test.prj │ ├── test.qpj │ ├── test.dbf │ ├── test.sh │ └── project.qgs ├── qgis-icon-60x60.png ├── globals.sh ├── build │ ├── getCode.sh │ ├── clean.sh │ ├── make.sh │ └── getDeps.sh ├── run-qgis-2.18ltr-in-docker.sh ├── QGIS-2.18LTR.Docker.desktop ├── Dockerfile ├── start.sh ├── build.sh └── README.md ├── master ├── tests │ ├── test.cpg │ ├── test.shp │ ├── test.shx │ ├── test.prj │ ├── test.qpj │ ├── test.dbf │ ├── test.sh │ └── project.qgs ├── qgis-icon-60x60.png ├── build │ ├── getCode.sh │ ├── clean.sh │ ├── apache.sh │ ├── make.sh │ └── getDeps.sh ├── run-qgis-master-in-docker.sh ├── QGIS-Master.Docker.desktop ├── build.sh ├── Dockerfile ├── start.sh └── README.md ├── 2.10 ├── qgis-icon-60x60.png ├── 71-apt-cacher-ng ├── run-qgis-2.10-in-docker.sh ├── QGIS-2.10.Docker.desktop ├── build.sh ├── start.sh ├── Dockerfile └── README.md ├── 2.12 ├── qgis-icon-60x60.png ├── run-qgis-2.12-in-docker.sh ├── QGIS-2.12.Docker.desktop ├── build.sh ├── start.sh ├── Dockerfile └── README.md ├── 2.6 ├── qgis-icon-60x60.png ├── sshd.conf ├── 71-apt-cacher-ng ├── QGIS-2.4.Docker.desktop ├── build.sh ├── run-qgis-in-docker.sh ├── start.sh ├── Dockerfile └── README.md ├── nightly-builds.sh ├── nightly-build.sh ├── README.md └── LICENSE /.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | -------------------------------------------------------------------------------- /2.8/tests/test.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /3.0/tests/test.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /2.14/tests/test.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /2.18/tests/test.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /master/tests/test.cpg: -------------------------------------------------------------------------------- 1 | UTF-8 -------------------------------------------------------------------------------- /2.14/tests/test.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.14/tests/test.shp -------------------------------------------------------------------------------- /2.14/tests/test.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.14/tests/test.shx -------------------------------------------------------------------------------- /2.18/tests/test.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.18/tests/test.shp -------------------------------------------------------------------------------- /2.18/tests/test.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.18/tests/test.shx -------------------------------------------------------------------------------- /2.8/tests/test.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.8/tests/test.shp -------------------------------------------------------------------------------- /2.8/tests/test.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.8/tests/test.shx -------------------------------------------------------------------------------- /3.0/tests/test.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/3.0/tests/test.shp -------------------------------------------------------------------------------- /3.0/tests/test.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/3.0/tests/test.shx -------------------------------------------------------------------------------- /master/tests/test.shp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/master/tests/test.shp -------------------------------------------------------------------------------- /master/tests/test.shx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/master/tests/test.shx -------------------------------------------------------------------------------- /2.10/qgis-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.10/qgis-icon-60x60.png -------------------------------------------------------------------------------- /2.12/qgis-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.12/qgis-icon-60x60.png -------------------------------------------------------------------------------- /2.14/qgis-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.14/qgis-icon-60x60.png -------------------------------------------------------------------------------- /2.18/qgis-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.18/qgis-icon-60x60.png -------------------------------------------------------------------------------- /2.6/qgis-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.6/qgis-icon-60x60.png -------------------------------------------------------------------------------- /2.8/qgis-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/2.8/qgis-icon-60x60.png -------------------------------------------------------------------------------- /3.0/qgis-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/3.0/qgis-icon-60x60.png -------------------------------------------------------------------------------- /2.6/sshd.conf: -------------------------------------------------------------------------------- 1 | [program:sshd] 2 | user=root 3 | command=/usr/sbin/sshd -D 4 | autorestart=true 5 | stopsignal=INT 6 | -------------------------------------------------------------------------------- /master/qgis-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kartoza/docker-qgis-desktop/HEAD/master/qgis-icon-60x60.png -------------------------------------------------------------------------------- /2.18/globals.sh: -------------------------------------------------------------------------------- 1 | ## 2 | ## GLOBALS for use by build, test, run etc scripts 3 | ## 4 | MAJOR=2 5 | MINOR=18 6 | BUGFIX=20 7 | 8 | 9 | -------------------------------------------------------------------------------- /2.8/build/getCode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | cd /build 5 | git clone --depth 1 -b final-2_8_9 git://github.com/qgis/QGIS.git 6 | cd QGIS 7 | -------------------------------------------------------------------------------- /2.18/build/getCode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | cd /build 5 | git clone --depth 1 -b final-2_18_20 git://github.com/qgis/QGIS.git 6 | cd QGIS 7 | -------------------------------------------------------------------------------- /3.0/build/getCode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | cd /build 5 | 6 | git clone --depth 1 -b final-3_0_1 git://github.com/qgis/QGIS.git 7 | 8 | cd QGIS 9 | -------------------------------------------------------------------------------- /2.14/tests/test.prj: -------------------------------------------------------------------------------- 1 | GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]] -------------------------------------------------------------------------------- /2.18/tests/test.prj: -------------------------------------------------------------------------------- 1 | GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]] -------------------------------------------------------------------------------- /2.8/tests/test.prj: -------------------------------------------------------------------------------- 1 | GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]] -------------------------------------------------------------------------------- /3.0/tests/test.prj: -------------------------------------------------------------------------------- 1 | GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]] -------------------------------------------------------------------------------- /master/tests/test.prj: -------------------------------------------------------------------------------- 1 | GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]] -------------------------------------------------------------------------------- /master/build/getCode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | cd /build 5 | git clone --depth 1 -b master git://github.com/qgis/QGIS.git 6 | cd QGIS 7 | git checkout final-2_14_6 8 | -------------------------------------------------------------------------------- /2.14/build/getCode.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | cd /build 5 | git clone --depth 1 -b final-2_14_16 git://github.com/qgis/QGIS.git 6 | cd QGIS 7 | #git checkout final-2_14_8 8 | -------------------------------------------------------------------------------- /2.10/71-apt-cacher-ng: -------------------------------------------------------------------------------- 1 | #Acquire::http { Proxy "http://192.168.0.104:3142"; }; 2 | #Acquire::http { Proxy "http://192.168.1.7:3142"; }; 3 | #Acquire::http { Proxy "http://192.168.1.13:3142"; }; 4 | -------------------------------------------------------------------------------- /3.0/build/clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | apt-get clean 5 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 6 | rm -rf /build 7 | 8 | # Clean some stuff that are not needed by the server 9 | rm -r /usr/share/qgis/i18n 10 | -------------------------------------------------------------------------------- /2.6/71-apt-cacher-ng: -------------------------------------------------------------------------------- 1 | #Acquire::http { Proxy "http://192.168.0.104:3142"; }; 2 | #Acquire::http { Proxy "http://192.168.2.9:3142"; }; 3 | #Acquire::http { Proxy "http://192.168.0.108:3142"; }; 4 | #Acquire::http { Proxy "http://192.168.1.13:3142"; }; 5 | -------------------------------------------------------------------------------- /2.14/tests/test.qpj: -------------------------------------------------------------------------------- 1 | GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]] 2 | -------------------------------------------------------------------------------- /2.18/run-qgis-2.18ltr-in-docker.sh: -------------------------------------------------------------------------------- 1 | xhost + 2 | docker run --rm --name="qgis-desktop-ltr" \ 3 | -i -t \ 4 | -v ${HOME}:/home/${USER} \ 5 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 6 | -e DISPLAY=unix$DISPLAY \ 7 | --net=host \ 8 | kartoza/qgis-desktop:LTR 9 | xhost - 10 | -------------------------------------------------------------------------------- /2.18/tests/test.qpj: -------------------------------------------------------------------------------- 1 | GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]] 2 | -------------------------------------------------------------------------------- /2.8/tests/test.qpj: -------------------------------------------------------------------------------- 1 | GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]] 2 | -------------------------------------------------------------------------------- /3.0/tests/test.qpj: -------------------------------------------------------------------------------- 1 | GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]] 2 | -------------------------------------------------------------------------------- /master/tests/test.qpj: -------------------------------------------------------------------------------- 1 | GEOGCS["WGS 84",DATUM["WGS_1984",SPHEROID["WGS 84",6378137,298.257223563,AUTHORITY["EPSG","7030"]],AUTHORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4326"]] 2 | -------------------------------------------------------------------------------- /2.10/run-qgis-2.10-in-docker.sh: -------------------------------------------------------------------------------- 1 | xhost + 2 | # --rm will remove the container as soon as it ends 3 | docker run --rm --name="qgis-desktop-2.10" \ 4 | -i -t \ 5 | -v ${HOME}:/home/${USER} \ 6 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 7 | -e DISPLAY=unix$DISPLAY \ 8 | kartoza/qgis-desktop:2.10 9 | xhost - 10 | -------------------------------------------------------------------------------- /2.12/run-qgis-2.12-in-docker.sh: -------------------------------------------------------------------------------- 1 | xhost + 2 | # --rm will remove the container as soon as it ends 3 | docker run --rm --name="qgis-desktop-2-12" \ 4 | -i -t \ 5 | -v ${HOME}:/home/${USER} \ 6 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 7 | -e DISPLAY=unix$DISPLAY \ 8 | kartoza/qgis-desktop:2.12 9 | xhost - 10 | -------------------------------------------------------------------------------- /2.14/run-qgis-2.14ltr-in-docker.sh: -------------------------------------------------------------------------------- 1 | xhost + 2 | # --rm will remove the container as soon as it ends 3 | docker run --rm --name="qgis-desktop-ltr" \ 4 | -i -t \ 5 | -v ${HOME}:/home/${USER} \ 6 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 7 | -e DISPLAY=unix$DISPLAY \ 8 | kartoza/qgis-desktop:LTR 9 | xhost - 10 | -------------------------------------------------------------------------------- /2.8/run-qgis-2.8-in-docker.sh: -------------------------------------------------------------------------------- 1 | xhost + 2 | # --rm will remove the container as soon as it ends 3 | docker run --rm --name="qgis-desktop-2.8" \ 4 | -i -t \ 5 | -v ${HOME}:/home/${USER} \ 6 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 7 | -e DISPLAY=unix$DISPLAY \ 8 | kartoza/qgis-desktop:2.8.9 9 | xhost - 10 | -------------------------------------------------------------------------------- /3.0/run-qgis-3.0-in-docker.sh: -------------------------------------------------------------------------------- 1 | xhost + 2 | # --rm will remove the container as soon as it ends 3 | docker run --rm --name="qgis-desktop-3.0" \ 4 | -i -t \ 5 | -v ${HOME}:/home/${USER} \ 6 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 7 | -e DISPLAY=unix$DISPLAY \ 8 | samtwesa/qgis-desktop:3.0 9 | xhost - 10 | -------------------------------------------------------------------------------- /master/run-qgis-master-in-docker.sh: -------------------------------------------------------------------------------- 1 | xhost + 2 | # --rm will remove the container as soon as it ends 3 | docker run --rm --name="qgis-desktop-ltr" \ 4 | -i -t \ 5 | -v ${HOME}:/home/${USER} \ 6 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 7 | -e DISPLAY=unix$DISPLAY \ 8 | kartoza/qgis-desktop:LTR 9 | xhost - 10 | -------------------------------------------------------------------------------- /3.0/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker build -t samtwesa/qgis-desktop:3.0 . 3 | sudo cp run-qgis-3.0-in-docker.sh /usr/local/bin 4 | sudo cp qgis-icon-60x60.png /usr/local 5 | 6 | echo "A shortcut was created to run your docker - " 7 | echo "you may need to reload your desktop" 8 | echo "or log out and in again for the shortcut to be available." 9 | -------------------------------------------------------------------------------- /2.8/QGIS-2.8.Docker.desktop: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env xdg-open 2 | [Desktop Entry] 3 | Name=QGIS 2.8 in Docker 4 | GenericName=QGIS 2.8 in Docker 5 | Comment=GIS 2.8 in Docker 6 | Exec=/usr/local/bin/run-qgis-2.8.in-docker.sh %U 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | MimeType=text/shp; 11 | Icon=/usr/local/qgis-icon-60x60.png 12 | Categories=Science, 13 | -------------------------------------------------------------------------------- /3.0/QGIS-3.0.Docker.desktop: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env xdg-open 2 | [Desktop Entry] 3 | Name=QGIS 3.0.0 in Docker 4 | GenericName=QGIS 3.0 in Docker 5 | Comment=GIS 3.0 in Docker 6 | Exec=/usr/local/bin/run-qgis-3.0-in-docker.sh %U 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | MimeType=text/shp; 11 | Icon=/usr/local/qgis-icon-60x60.png 12 | Categories=Science, 13 | -------------------------------------------------------------------------------- /2.10/QGIS-2.10.Docker.desktop: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env xdg-open 2 | [Desktop Entry] 3 | Name=QGIS 2.10 in Docker 4 | GenericName=QGIS 2.10 in Docker 5 | Comment=GIS 2.10 in Docker 6 | Exec=/usr/local/bin/run-qgis-2.10-in-docker.sh %U 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | MimeType=text/shp; 11 | Icon=/usr/local/qgis-icon-60x60.png 12 | Categories=Science, 13 | -------------------------------------------------------------------------------- /2.12/QGIS-2.12.Docker.desktop: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env xdg-open 2 | [Desktop Entry] 3 | Name=QGIS Master in Docker 4 | GenericName=QGIS Master in Docker 5 | Comment=GIS Master in Docker 6 | Exec=/usr/local/bin/run-qgis-master-in-docker.sh %U 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | MimeType=text/shp; 11 | Icon=/usr/local/qgis-icon-60x60.png 12 | Categories=Science, 13 | -------------------------------------------------------------------------------- /2.8/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER Tim Sutton 3 | # Based off work by Patrick Valsecchi 4 | 5 | ENV LANG C 6 | 7 | COPY build /build/scripts 8 | RUN /build/scripts/getDeps.sh && \ 9 | /build/scripts/getCode.sh && \ 10 | /build/scripts/make.sh && \ 11 | /build/scripts/clean.sh 12 | 13 | CMD ["/start.sh"] 14 | 15 | -------------------------------------------------------------------------------- /master/QGIS-Master.Docker.desktop: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env xdg-open 2 | [Desktop Entry] 3 | Name=QGIS Master in Docker 4 | GenericName=QGIS Master in Docker 5 | Comment=GIS Master in Docker 6 | Exec=/usr/local/bin/run-qgis-master-in-docker.sh %U 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | MimeType=text/shp; 11 | Icon=/usr/local/qgis-icon-60x60.png 12 | Categories=Science, 13 | -------------------------------------------------------------------------------- /2.14/QGIS-2.14LTR.Docker.desktop: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env xdg-open 2 | [Desktop Entry] 3 | Name=QGIS 2.14 LTR in Docker 4 | GenericName=QGIS 2.14 LTR in Docker 5 | Comment=GIS 2.14 LTR in Docker 6 | Exec=/usr/local/bin/run-qgis-2.14ltr-in-docker.sh %U 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | MimeType=text/shp; 11 | Icon=/usr/local/qgis-icon-60x60.png 12 | Categories=Science, 13 | -------------------------------------------------------------------------------- /2.18/QGIS-2.18LTR.Docker.desktop: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env xdg-open 2 | [Desktop Entry] 3 | Name=QGIS 2.18 LTR in Docker 4 | GenericName=QGIS 2.18 LTR in Docker 5 | Comment=GIS 2.18 LTR in Docker 6 | Exec=/usr/local/bin/run-qgis-2.18ltr-in-docker.sh %U 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | MimeType=text/shp; 11 | Icon=/usr/local/qgis-icon-60x60.png 12 | Categories=Science, 13 | -------------------------------------------------------------------------------- /2.6/QGIS-2.4.Docker.desktop: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env xdg-open 2 | [Desktop Entry] 3 | Name=QGIS 2.4 in Docker 4 | GenericName=QGIS 2.4 in Docker 5 | Comment=GIS 2.4 in Docker 6 | Exec=/home/timlinux/bin/run-qgis-in-docker.sh %U 7 | Terminal=false 8 | Type=Application 9 | StartupNotify=true 10 | MimeType=text/shp; 11 | Icon=/usr/local/qgis-2.4/share/qgis/images/icons/qgis-icon-60x60.png 12 | Categories=Science, 13 | -------------------------------------------------------------------------------- /2.10/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker build -t kartoza/qgis-desktop:2.10 . 3 | sudo cp run-qgis-2.10-in-docker.sh /usr/local/bin 4 | sudo cp QGIS-2.10.Docker.desktop /usr/share/applications/ 5 | sudo cp qgis-icon-60x60.png /usr/local 6 | 7 | echo "A shortcut was created to run your docker - " 8 | echo "you may need to reload your desktop" 9 | echo "or log out and in again for the shortcut to be available." 10 | -------------------------------------------------------------------------------- /2.8/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker build -t kartoza/qgis-desktop:2.8.9 . 3 | sudo cp run-qgis-2.8-in-docker.sh /usr/local/bin 4 | sudo cp QGIS-2.8.Docker.desktop /usr/share/applications/ 5 | sudo cp qgis-icon-60x60.png /usr/local 6 | 7 | echo "A shortcut was created to run your docker - " 8 | echo "you may need to reload your desktop" 9 | echo "or log out and in again for the shortcut to be available." 10 | -------------------------------------------------------------------------------- /2.12/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker build -t kartoza/qgis-desktop:2.12 . 3 | sudo cp run-qgis-2.12-in-docker.sh /usr/local/bin 4 | sudo cp QGIS-Master.Docker.desktop /usr/share/applications/ 5 | sudo cp qgis-icon-60x60.png /usr/local 6 | 7 | echo "A shortcut was created to run your docker - " 8 | echo "you may need to reload your desktop" 9 | echo "or log out and in again for the shortcut to be available." 10 | -------------------------------------------------------------------------------- /master/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker build -t kartoza/qgis-desktop:master . 3 | sudo cp run-qgis-master-in-docker.sh /usr/local/bin 4 | sudo cp QGIS-master.Docker.desktop /usr/share/applications/ 5 | sudo cp qgis-icon-60x60.png /usr/local 6 | 7 | echo "A shortcut was created to run your docker - " 8 | echo "you may need to reload your desktop" 9 | echo "or log out and in again for the shortcut to be available." 10 | -------------------------------------------------------------------------------- /2.6/build.sh: -------------------------------------------------------------------------------- 1 | docker build -t kartoza/qgis-desktop:latest . 2 | sudo cp run-qgis-in-docker.sh /usr/local/bin 3 | sudo chmod +x ${HOME}/bin/run-qgis-in-docker.sh 4 | sudo cp QGIS-2.4.Docker.desktop /usr/share/applications/ 5 | sudo cp qgis-icon-60x60.png /usr/local 6 | 7 | echo "A shortcut was created to run your docker - " 8 | echo "you may need to reload your desktop" 9 | echo "or log out and in again for the shortcut to be available." 10 | -------------------------------------------------------------------------------- /2.14/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | docker build -t kartoza/qgis-desktop:2.14.16 . 3 | # docker build -t kartoza/qgis-desktop:LTR . 4 | sudo cp run-qgis-2.14ltr-in-docker.sh /usr/local/bin 5 | sudo cp QGIS-2.14LTR.Docker.desktop /usr/share/applications/ 6 | sudo cp qgis-icon-60x60.png /usr/local 7 | 8 | echo "A shortcut was created to run your docker - " 9 | echo "you may need to reload your desktop" 10 | echo "or log out and in again for the shortcut to be available." 11 | -------------------------------------------------------------------------------- /2.8/tests/test.dbf: -------------------------------------------------------------------------------- 1 | _a[idN 2 | nameCP 0T up 3T vert 1E 2E+ -------------------------------------------------------------------------------- /3.0/tests/test.dbf: -------------------------------------------------------------------------------- 1 | _a[idN 2 | nameCP 0T up 3T vert 1E 2E+ -------------------------------------------------------------------------------- /2.14/tests/test.dbf: -------------------------------------------------------------------------------- 1 | _a[idN 2 | nameCP 0T up 3T vert 1E 2E+ -------------------------------------------------------------------------------- /2.18/tests/test.dbf: -------------------------------------------------------------------------------- 1 | _a[idN 2 | nameCP 0T up 3T vert 1E 2E+ -------------------------------------------------------------------------------- /master/tests/test.dbf: -------------------------------------------------------------------------------- 1 | _a[idN 2 | nameCP 0T up 3T vert 1E 2E+ -------------------------------------------------------------------------------- /nightly-builds.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "Building docker containers and pushing to docker hub" 4 | echo "Note the user running the builds needs to be logged in to docker for the push to work" 5 | docker pull kartoza/qgis-base:v2 6 | for DIR in `ls` 7 | do 8 | echo $DIR 9 | cd $DIR 10 | docker rmi kartoza/qgis-desktop:$DIR 11 | docker build -t kartoza/qgis-desktop:$DIR . 12 | cd - 13 | docker push kartoza/qgis-desktop:$DIR 14 | done 15 | docker push kartoza/qgis-desktop:LTR 16 | -------------------------------------------------------------------------------- /3.0/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM qgis/qgis3-build-deps:final-3_0_1 2 | 3 | MAINTAINER Tim Sutton 4 | # Based off work by Denis Rouzaud 5 | 6 | ENV CC=/usr/lib/ccache/clang 7 | ENV CXX=/usr/lib/ccache/clang++ 8 | ENV QT_SELECT=5 9 | 10 | COPY build /build/scripts 11 | 12 | RUN /build/scripts/getCode.sh && \ 13 | /build/scripts/make.sh && \ 14 | /build/scripts/clean.sh 15 | 16 | 17 | ADD start.sh /start.sh 18 | RUN chmod +x /start.sh 19 | CMD ["/start.sh"] 20 | 21 | -------------------------------------------------------------------------------- /3.0/build/make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | mkdir /build/release 5 | cd /build/release 6 | 7 | cmake /build/QGIS \ 8 | -GNinja \ 9 | -DWITH_STAGED_PLUGINS=OFF \ 10 | -DCMAKE_INSTALL_PREFIX=/usr \ 11 | -DWITH_GRASS=ON \ 12 | -DSUPPRESS_QT_WARNINGS=ON \ 13 | -DENABLE_TESTS=OFF \ 14 | -DWITH_QSPATIALITE=ON \ 15 | -DWITH_QWTPOLAR=OFF \ 16 | -DWITH_APIDOC=OFF \ 17 | -DWITH_ASTYLE=OFF \ 18 | -DWITH_DESKTOP=ON \ 19 | -DWITH_BINDINGS=ON \ 20 | -DDISABLE_DEPRECATED=ON 21 | 22 | ninja install 23 | -------------------------------------------------------------------------------- /2.6/run-qgis-in-docker.sh: -------------------------------------------------------------------------------- 1 | xhost + 2 | # Config so QGIS finds your Qt and QGIS settings 3 | # Gtkrc so Qt finds your Gtk settings 4 | # Users home is mounted as home 5 | # --rm will remove the container as soon as it ends 6 | # -v ${HOME}/.config:/.config \ 7 | # -v ${HOME}/.gtkrc-2.0:/.gtkrc-2.0 \ 8 | 9 | docker run --rm --name="qgis-desktop-2-4" \ 10 | -i -t \ 11 | -v ${HOME}:/home/${USER} \ 12 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 13 | -e DISPLAY=unix$DISPLAY \ 14 | kartoza/qgis-desktop:latest 15 | xhost - 16 | -------------------------------------------------------------------------------- /2.14/build/clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | apt-get remove -y --purge krb5-multidev build-essential bison cmake make cpp cpp-5 gfortran-5 g++ gcc gcc-5 \ 5 | flex libclang1-3.5 git qt4-qmake rsync cmake-data g++-5 git-man liberror-perl qt4-linguist-tools libqt4-dev-bin 6 | dpkg --purge `dpkg -l "*-dev" | sed -ne 's/ii \(.*-dev\(:amd64\)\?\) .*/\1/p'` || true 7 | 8 | apt-get clean 9 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 10 | rm -rf /build 11 | 12 | # Clean some stuff that are not needed by the server 13 | rm -r /usr/share/qgis/i18n 14 | -------------------------------------------------------------------------------- /2.18/build/clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | apt-get remove -y --purge krb5-multidev build-essential bison cmake make cpp cpp-4.9 g++ g++-4.9 gcc gcc-4.9 \ 5 | flex libclang1-3.5 git qt4-qmake rsync cmake-data g++-5 git-man liberror-perl qt4-linguist-tools libqt4-dev-bin 6 | dpkg --purge `dpkg -l "*-dev" | sed -ne 's/ii \(.*-dev\(:amd64\)\?\) .*/\1/p'` || true 7 | 8 | apt-get clean 9 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 10 | rm -rf /build 11 | 12 | # Clean some stuff that are not needed by the server 13 | rm -r /usr/share/qgis/i18n 14 | -------------------------------------------------------------------------------- /2.8/build/clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | apt-get remove -y --purge krb5-multidev build-essential bison cmake make cpp cpp-4.9 g++ g++-4.9 gcc gcc-4.9 \ 5 | flex libclang1-3.5 git qt4-qmake rsync cmake-data g++-5 git-man liberror-perl qt4-linguist-tools libqt4-dev-bin 6 | dpkg --purge `dpkg -l "*-dev" | sed -ne 's/ii \(.*-dev\(:amd64\)\?\) .*/\1/p'` || true 7 | 8 | apt-get clean 9 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 10 | rm -rf /build 11 | 12 | # Clean some stuff that are not needed by the server 13 | rm -r /usr/share/qgis/i18n 14 | -------------------------------------------------------------------------------- /master/build/clean.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | apt-get remove -y --purge krb5-multidev build-essential bison cmake make cpp cpp-4.9 g++ g++-4.9 gcc gcc-4.9 \ 5 | flex libclang1-3.5 git qt4-qmake rsync cmake-data g++-5 git-man liberror-perl qt4-linguist-tools libqt4-dev-bin 6 | dpkg --purge `dpkg -l "*-dev" | sed -ne 's/ii \(.*-dev\(:amd64\)\?\) .*/\1/p'` || true 7 | 8 | apt-get clean 9 | rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 10 | rm -rf /build 11 | 12 | # Clean some stuff that are not needed by the server 13 | rm -r /usr/share/qgis/i18n 14 | -------------------------------------------------------------------------------- /master/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER Tim Sutton 3 | # Based off work by Patrick Valsecchi 4 | 5 | ENV LANG C 6 | 7 | COPY build /build/scripts 8 | RUN /build/scripts/getDeps.sh && \ 9 | /build/scripts/getCode.sh && \ 10 | /build/scripts/make.sh && \ 11 | /build/scripts/clean.sh 12 | 13 | # A few tunable variables for QGIS 14 | ENV QGIS_DEBUG 5 15 | ENV QGIS_LOG_FILE /proc/self/fd/1 16 | ENV PGSERVICEFILE /project/pg_service.conf 17 | ENV QGIS_PROJECT_FILE /project/project.qgs 18 | 19 | CMD ["/start.sh"] 20 | 21 | -------------------------------------------------------------------------------- /2.14/tests/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | docker stop server || true 5 | docker rm server || true 6 | 7 | docker build -t qgis-server .. 8 | docker run -d -p 8380:80 --volume=$PWD:/project --name server qgis-server 9 | 10 | URL=http://localhost:8380/ 11 | 12 | curl "$URL?SERVICE=WMS&REQUEST=GetCapabilities" > /dev/null 13 | curl "$URL?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-0.69003700000000001,-1.54244000000000003,1.30996000000000001,1.03689999999999993&CRS=EPSG:4326&WIDTH=667&HEIGHT=518&LAYERS=Test&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96" > /dev/null 14 | 15 | docker stop server 16 | -------------------------------------------------------------------------------- /2.18/tests/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | docker stop server || true 5 | docker rm server || true 6 | 7 | docker build -t qgis-server .. 8 | docker run -d -p 8380:80 --volume=$PWD:/project --name server qgis-server 9 | 10 | URL=http://localhost:8380/ 11 | 12 | curl "$URL?SERVICE=WMS&REQUEST=GetCapabilities" > /dev/null 13 | curl "$URL?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-0.69003700000000001,-1.54244000000000003,1.30996000000000001,1.03689999999999993&CRS=EPSG:4326&WIDTH=667&HEIGHT=518&LAYERS=Test&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96" > /dev/null 14 | 15 | docker stop server 16 | -------------------------------------------------------------------------------- /2.8/tests/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | docker stop server || true 5 | docker rm server || true 6 | 7 | docker build -t qgis-server .. 8 | docker run -d -p 8380:80 --volume=$PWD:/project --name server qgis-server 9 | 10 | URL=http://localhost:8380/ 11 | 12 | curl "$URL?SERVICE=WMS&REQUEST=GetCapabilities" > /dev/null 13 | curl "$URL?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-0.69003700000000001,-1.54244000000000003,1.30996000000000001,1.03689999999999993&CRS=EPSG:4326&WIDTH=667&HEIGHT=518&LAYERS=Test&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96" > /dev/null 14 | 15 | docker stop server 16 | -------------------------------------------------------------------------------- /3.0/tests/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | docker stop server || true 5 | docker rm server || true 6 | 7 | docker build -t qgis-server .. 8 | docker run -d -p 8380:80 --volume=$PWD:/project --name server qgis-server 9 | 10 | URL=http://localhost:8380/ 11 | 12 | curl "$URL?SERVICE=WMS&REQUEST=GetCapabilities" > /dev/null 13 | curl "$URL?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-0.69003700000000001,-1.54244000000000003,1.30996000000000001,1.03689999999999993&CRS=EPSG:4326&WIDTH=667&HEIGHT=518&LAYERS=Test&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96" > /dev/null 14 | 15 | docker stop server 16 | -------------------------------------------------------------------------------- /master/tests/test.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | docker stop server || true 5 | docker rm server || true 6 | 7 | docker build -t qgis-server .. 8 | docker run -d -p 8380:80 --volume=$PWD:/project --name server qgis-server 9 | 10 | URL=http://localhost:8380/ 11 | 12 | curl "$URL?SERVICE=WMS&REQUEST=GetCapabilities" > /dev/null 13 | curl "$URL?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=-0.69003700000000001,-1.54244000000000003,1.30996000000000001,1.03689999999999993&CRS=EPSG:4326&WIDTH=667&HEIGHT=518&LAYERS=Test&STYLES=&FORMAT=image/jpeg&DPI=96&MAP_RESOLUTION=96&FORMAT_OPTIONS=dpi:96" > /dev/null 14 | 15 | docker stop server 16 | -------------------------------------------------------------------------------- /2.18/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER Tim Sutton 3 | # Based off work by Patrick Valsecchi 4 | 5 | ENV LANG C 6 | 7 | COPY build /build/scripts 8 | RUN /build/scripts/getDeps.sh && \ 9 | /build/scripts/getCode.sh && \ 10 | /build/scripts/make.sh && \ 11 | /build/scripts/clean.sh 12 | 13 | # A few tunable variables for QGIS 14 | ENV QGIS_DEBUG 5 15 | ENV QGIS_LOG_FILE /proc/self/fd/1 16 | ENV PGSERVICEFILE /project/pg_service.conf 17 | ENV QGIS_PROJECT_FILE /project/project.qgs 18 | 19 | ADD start.sh /start.sh 20 | RUN chmod +x /start.sh 21 | CMD ["/start.sh"] 22 | 23 | -------------------------------------------------------------------------------- /2.6/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Put any tasks you would like to have carried 4 | # out when the container is first created here 5 | 6 | # We expect the container is started with the 7 | # the users ~ directory mounted as /home/$USER 8 | 9 | # Make the user matching the user from the mounted home 10 | # We assume there will only be one user dir in home 11 | # hence tail -1 12 | USER_ID=`ls -lahn /home | tail -1 | awk {'print $3'}` 13 | GROUP_ID=`ls -lahn /home | tail -1 | awk {'print $4'}` 14 | USER_NAME=`ls -lah /home/ | tail -1 | awk '{print $9}'` 15 | 16 | groupadd -g $GROUP_ID qgis 17 | useradd --shell /bin/bash --uid $USER_ID --gid $GROUP_ID $USER_NAME 18 | su $USER_NAME -c "/usr/bin/qgis" 19 | -------------------------------------------------------------------------------- /2.10/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Put any tasks you would like to have carried 4 | # out when the container is first created here 5 | 6 | # We expect the container is started with the 7 | # the users ~ directory mounted as /home/$USER 8 | 9 | # Make the user matching the user from the mounted home 10 | # We assume there will only be one user dir in home 11 | # hence tail -1 12 | USER_ID=`ls -lahn /home | tail -1 | awk {'print $3'}` 13 | GROUP_ID=`ls -lahn /home | tail -1 | awk {'print $4'}` 14 | USER_NAME=`ls -lah /home/ | tail -1 | awk '{print $9}'` 15 | 16 | groupadd -g $GROUP_ID qgis 17 | useradd --shell /bin/bash --uid $USER_ID --gid $GROUP_ID $USER_NAME 18 | su $USER_NAME -c "/usr/bin/qgis" 19 | -------------------------------------------------------------------------------- /master/build/apache.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | # Disable the modules we don't need and enable the modules we need 5 | a2enmod fcgid 6 | a2dismod -f auth_basic authn_file authn_core authz_host authz_user autoindex dir status 7 | rm /etc/apache2/mods-enabled/alias.conf 8 | 9 | mkdir -p $APACHE_RUN_DIR $APACHE_LOCK_DIR $APACHE_LOG_DIR 10 | 11 | mv /usr/bin/qgis_mapserv.fcgi /usr/lib/cgi-bin/ 12 | 13 | # Make sure logs go to STDOUT 14 | sed -ri ' 15 | s!^(\s*CustomLog)\s+\S+!\1 /proc/self/fd/1!g; 16 | s!^(\s*ErrorLog)\s+\S+!\1 /proc/self/fd/2!g; 17 | ' /etc/apache2/sites-enabled/000-default.conf /etc/apache2/apache2.conf 18 | 19 | mkdir -p /var/www/.qgis2 20 | chown www-data: /var/www/.qgis2 21 | -------------------------------------------------------------------------------- /2.14/build/make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | mkdir /build/release 5 | cd /build/release 6 | cmake /build/QGIS \ 7 | -DQWT_INCLUDE_DIR=/usr/include/qwt \ 8 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ 9 | -DCMAKE_INSTALL_PREFIX=/usr \ 10 | -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \ 11 | -DQSCINTILLA_INCLUDE_DIR=/usr/include/qt4 \ 12 | -DQWT_LIBRARY=/usr/lib/libqwt.so \ 13 | -DWITH_DESKTOP=ON \ 14 | -DWITH_SERVER=ON \ 15 | -DBUILD_TESTING=OFF \ 16 | -DWITH_INTERNAL_QWTPOLAR=ON 17 | 18 | make install -j8 19 | ldconfig 20 | 21 | #strip /usr/bin/qgis_mapserv.fcgi 22 | strip `find /usr/lib/ -name "libqgis*" -type f` 23 | strip `find /usr/share/qgis/ -name "*.so" -type f` 24 | 25 | -------------------------------------------------------------------------------- /2.18/build/make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | mkdir /build/release 5 | cd /build/release 6 | cmake /build/QGIS \ 7 | -DQWT_INCLUDE_DIR=/usr/include/qwt \ 8 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ 9 | -DCMAKE_INSTALL_PREFIX=/usr \ 10 | -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \ 11 | -DQSCINTILLA_INCLUDE_DIR=/usr/include/qt4 \ 12 | -DQWT_LIBRARY=/usr/lib/libqwt.so \ 13 | -DWITH_DESKTOP=ON \ 14 | -DWITH_SERVER=ON \ 15 | -DBUILD_TESTING=OFF \ 16 | -DWITH_INTERNAL_QWTPOLAR=ON 17 | 18 | make install -j8 19 | ldconfig 20 | 21 | strip /usr/bin/qgis_mapserv.fcgi 22 | strip `find /usr/lib/ -name "libqgis*" -type f` 23 | strip `find /usr/share/qgis/ -name "*.so" -type f` 24 | 25 | -------------------------------------------------------------------------------- /2.8/build/make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | mkdir /build/release 5 | cd /build/release 6 | cmake /build/QGIS \ 7 | -DQWT_INCLUDE_DIR=/usr/include/qwt \ 8 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ 9 | -DCMAKE_INSTALL_PREFIX=/usr \ 10 | -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \ 11 | -DQSCINTILLA_INCLUDE_DIR=/usr/include/qt4 \ 12 | -DQWT_LIBRARY=/usr/lib/libqwt.so \ 13 | -DWITH_DESKTOP=OFF \ 14 | -DWITH_SERVER=ON \ 15 | -DBUILD_TESTING=OFF \ 16 | -DWITH_INTERNAL_QWTPOLAR=ON 17 | 18 | make install -j8 19 | ldconfig 20 | 21 | strip /usr/bin/qgis_mapserv.fcgi 22 | strip `find /usr/lib/ -name "libqgis*" -type f` 23 | strip `find /usr/share/qgis/ -name "*.so" -type f` 24 | 25 | -------------------------------------------------------------------------------- /master/build/make.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | mkdir /build/release 5 | cd /build/release 6 | cmake /build/QGIS \ 7 | -DQWT_INCLUDE_DIR=/usr/include/qwt \ 8 | -DCMAKE_BUILD_TYPE=RelWithDebInfo \ 9 | -DCMAKE_INSTALL_PREFIX=/usr \ 10 | -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \ 11 | -DQSCINTILLA_INCLUDE_DIR=/usr/include/qt4 \ 12 | -DQWT_LIBRARY=/usr/lib/libqwt.so \ 13 | -DWITH_DESKTOP=OFF \ 14 | -DWITH_SERVER=ON \ 15 | -DBUILD_TESTING=OFF \ 16 | -DWITH_INTERNAL_QWTPOLAR=ON 17 | 18 | make install -j8 19 | ldconfig 20 | 21 | strip /usr/bin/qgis_mapserv.fcgi 22 | strip `find /usr/lib/ -name "libqgis*" -type f` 23 | strip `find /usr/share/qgis/ -name "*.so" -type f` 24 | 25 | -------------------------------------------------------------------------------- /2.12/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Put any tasks you would like to have carried 4 | # out when the container is first created here 5 | 6 | # We expect the container is started with the 7 | # the users ~ directory mounted as /home/$USER 8 | 9 | # Make the user matching the user from the mounted home 10 | # We assume there will only be one user dir in home 11 | # hence tail -1 12 | USER_ID=`ls -lahn /home | tail -1 | awk {'print $3'}` 13 | GROUP_ID=`ls -lahn /home | tail -1 | awk {'print $4'}` 14 | USER_NAME=`ls -lah /home/ | tail -1 | awk '{print $9}'` 15 | 16 | groupadd -g $GROUP_ID qgis 17 | useradd --shell /bin/bash --uid $USER_ID --gid $GROUP_ID $USER_NAME 18 | export LD_LIBRARY_PATH=/usr/lib 19 | su $USER_NAME -c "/usr/bin/qgis" 20 | -------------------------------------------------------------------------------- /2.14/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Put any tasks you would like to have carried 4 | # out when the container is first created here 5 | 6 | # We expect the container is started with the 7 | # the users ~ directory mounted as /home/$USER 8 | 9 | # Make the user matching the user from the mounted home 10 | # We assume there will only be one user dir in home 11 | # hence tail -1 12 | USER_ID=`ls -lahn /home | tail -1 | awk {'print $3'}` 13 | GROUP_ID=`ls -lahn /home | tail -1 | awk {'print $4'}` 14 | USER_NAME=`ls -lah /home/ | tail -1 | awk '{print $9}'` 15 | 16 | groupadd -g $GROUP_ID qgis 17 | useradd --shell /bin/bash --uid $USER_ID --gid $GROUP_ID $USER_NAME 18 | export LD_LIBRARY_PATH=/usr/lib 19 | su $USER_NAME -c "/usr/bin/qgis" 20 | -------------------------------------------------------------------------------- /2.18/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Put any tasks you would like to have carried 4 | # out when the container is first created here 5 | 6 | # We expect the container is started with the 7 | # the users ~ directory mounted as /home/$USER 8 | 9 | # Make the user matching the user from the mounted home 10 | # We assume there will only be one user dir in home 11 | # hence tail -1 12 | USER_ID=`ls -lahn /home | tail -1 | awk {'print $3'}` 13 | GROUP_ID=`ls -lahn /home | tail -1 | awk {'print $4'}` 14 | USER_NAME=`ls -lah /home/ | tail -1 | awk '{print $9}'` 15 | 16 | groupadd -g $GROUP_ID qgis 17 | useradd --shell /bin/bash --uid $USER_ID --gid $GROUP_ID $USER_NAME 18 | export LD_LIBRARY_PATH=/usr/lib 19 | su $USER_NAME -c "/usr/bin/qgis" 20 | -------------------------------------------------------------------------------- /2.8/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Put any tasks you would like to have carried 4 | # out when the container is first created here 5 | 6 | # We expect the container is started with the 7 | # the users ~ directory mounted as /home/$USER 8 | 9 | # Make the user matching the user from the mounted home 10 | # We assume there will only be one user dir in home 11 | # hence tail -1 12 | USER_ID=`ls -lahn /home | tail -1 | awk {'print $3'}` 13 | GROUP_ID=`ls -lahn /home | tail -1 | awk {'print $4'}` 14 | USER_NAME=`ls -lah /home/ | tail -1 | awk '{print $9}'` 15 | 16 | groupadd -g $GROUP_ID qgis 17 | useradd --shell /bin/bash --uid $USER_ID --gid $GROUP_ID $USER_NAME 18 | export LD_LIBRARY_PATH=/usr/lib 19 | su $USER_NAME -c "/usr/bin/qgis" 20 | -------------------------------------------------------------------------------- /3.0/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Put any tasks you would like to have carried 4 | # out when the container is first created here 5 | 6 | # We expect the container is started with the 7 | # the users ~ directory mounted as /home/$USER 8 | 9 | # Make the user matching the user from the mounted home 10 | # We assume there will only be one user dir in home 11 | # hence tail -1 12 | USER_ID=`ls -lahn /home | tail -1 | awk {'print $3'}` 13 | GROUP_ID=`ls -lahn /home | tail -1 | awk {'print $4'}` 14 | USER_NAME=`ls -lah /home/ | tail -1 | awk '{print $9}'` 15 | 16 | groupadd -g $GROUP_ID qgis 17 | useradd --shell /bin/bash --uid $USER_ID --gid $GROUP_ID $USER_NAME 18 | export LD_LIBRARY_PATH=/usr/lib 19 | su $USER_NAME -c "/usr/bin/qgis" 20 | -------------------------------------------------------------------------------- /master/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | # Put any tasks you would like to have carried 4 | # out when the container is first created here 5 | 6 | # We expect the container is started with the 7 | # the users ~ directory mounted as /home/$USER 8 | 9 | # Make the user matching the user from the mounted home 10 | # We assume there will only be one user dir in home 11 | # hence tail -1 12 | USER_ID=`ls -lahn /home | tail -1 | awk {'print $3'}` 13 | GROUP_ID=`ls -lahn /home | tail -1 | awk {'print $4'}` 14 | USER_NAME=`ls -lah /home/ | tail -1 | awk '{print $9}'` 15 | 16 | groupadd -g $GROUP_ID qgis 17 | useradd --shell /bin/bash --uid $USER_ID --gid $GROUP_ID $USER_NAME 18 | export LD_LIBRARY_PATH=/usr/lib 19 | su $USER_NAME -c "/usr/bin/qgis" 20 | -------------------------------------------------------------------------------- /2.14/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | MAINTAINER Tim Sutton 3 | # Based off work by Patrick Valsecchi 4 | 5 | ENV LANG C 6 | 7 | COPY build /build/scripts 8 | RUN /build/scripts/getDeps.sh && \ 9 | /build/scripts/getCode.sh && \ 10 | /build/scripts/make.sh && \ 11 | /build/scripts/clean.sh 12 | 13 | # Called on first run of docker 14 | ADD start.sh /start.sh 15 | RUN chmod 0755 /start.sh 16 | 17 | # A few tunable variables for QGIS 18 | ENV QGIS_DEBUG 5 19 | ENV QGIS_LOG_FILE /proc/self/fd/1 20 | ENV PGSERVICEFILE /project/pg_service.conf 21 | ENV QGIS_PROJECT_FILE /project/project.qgs 22 | 23 | ADD start.sh /start.sh 24 | RUN chmod +x /start.sh 25 | CMD ["/start.sh"] 26 | 27 | -------------------------------------------------------------------------------- /2.6/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM kartoza/qgis-base:v2 2 | MAINTAINER Tim Sutton 3 | 4 | # Clone the 2.6 branch 5 | RUN git clone --depth 1 -b final-2_6_1 git://github.com/qgis/QGIS.git; \ 6 | mkdir /build; \ 7 | cd /build; \ 8 | cmake /QGIS -DQWT_INCLUDE_DIR=/usr/include/qwt -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_LIBRARY=/usr/lib64/libpython2.7.so -DQSCINTILLA_INCLUDE_DIR=/usr/include/qt4 -DQWT_LIBRARY=/usr/lib/libqwt.so -DGRASS_INCLUDE_DIR=/usr/include -DWITH_INTERNAL_QWTPOLAR=OFF -DQSCINTILLA_INCLUDE_DIR=/usr/include/ -DQWT_LIBRARY=/usr/lib64/libqwt.so; \ 9 | make install -j8; \ 10 | cd /; \ 11 | rm -rf /QGIS; \ 12 | rm -rf /build; \ 13 | ldconfig 14 | 15 | # Called on first run of docker 16 | ADD start.sh /start.sh 17 | RUN chmod 0755 /start.sh 18 | 19 | CMD /start.sh 20 | -------------------------------------------------------------------------------- /nightly-build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | echo "Building docker containers and pushing to docker hub" 4 | echo "Note the user running the builds needs to be logged in to docker for the push to work" 5 | # Make sure we have the latest base image so that 6 | # any security updates etc are used. The base image 7 | # has all the build dependencies but none of the 8 | # actual QGIS sources in it. It is an automated build and 9 | # should be rebuilt whenever there is an update pushed to the 10 | # debian base image. 11 | docker pull kartoza/qgis-base:v2 12 | for DIR in `ls` 13 | do 14 | echo $DIR 15 | cd $DIR 16 | # Remove old image so if forces a recompile 17 | docker rmi kartoza/qgis-desktop:$DIR 18 | docker build -t kartoza/qgis-desktop:$DIR . 19 | cd - 20 | docker push kartoza/qgis-desktop:$DIR 21 | done 22 | docker push kartoza/qgis-desktop:LTR 23 | -------------------------------------------------------------------------------- /2.12/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM kartoza/qgis-base:v2 2 | MAINTAINER Tim Sutton 3 | 4 | # Clone the master branch 5 | RUN git clone --depth 1 -b release-2_12 git://github.com/qgis/QGIS.git; \ 6 | mkdir /build; \ 7 | cd /build; \ 8 | cmake /QGIS \ 9 | -DQWT_INCLUDE_DIR=/usr/include/qwt \ 10 | -DCMAKE_BUILD_TYPE=Release \ 11 | -DCMAKE_INSTALL_PREFIX=/usr \ 12 | -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so \ 13 | -DQSCINTILLA_INCLUDE_DIR=/usr/include/qt4 \ 14 | -DQWT_LIBRARY=/usr/lib/libqwt.so \ 15 | -DWITH_SERVER=ON \ 16 | -DBUILD_TESTING=OFF \ 17 | -DWITH_INTERNAL_QWTPOLAR=ON; \ 18 | make install -j4; \ 19 | cd /; \ 20 | rm -rf /QGIS; \ 21 | rm -rf /build; \ 22 | ldconfig 23 | 24 | WORKDIR /tmp 25 | 26 | # Called on first run of docker 27 | ADD start.sh /start.sh 28 | RUN chmod 0755 /start.sh 29 | 30 | CMD /start.sh 31 | -------------------------------------------------------------------------------- /2.8/build/getDeps.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | apt-get -y update 5 | 6 | # #-------------Application Specific Stuff ---------------------------------------------------- 7 | # removed: doxygen cmake-curses-gui 8 | LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get update && \ 9 | apt-get install -y git cmake flex bison libproj-dev libgeos-dev libgdal1-dev \ 10 | libexpat1-dev libfcgi-dev libgsl0-dev libpq-dev libqca2-dev libqca2-plugin-ossl \ 11 | libqscintilla2-dev libqt4-dev libqt4-opengl-dev libqt4-sql-sqlite \ 12 | libqtwebkit-dev libqwt-dev libspatialindex-dev libspatialite-dev libsqlite3-dev \ 13 | lighttpd locales pkg-config poppler-utils pyqt4-dev-tools python python-dev \ 14 | python-qt4 python-qt4-dev python-qt4-sql python-sip python-sip-dev \ 15 | spawn-fcgi xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb 16 | 17 | chmod -R a+w /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/ 18 | chmod -R a+w /usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/ 19 | -------------------------------------------------------------------------------- /master/build/getDeps.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | 4 | apt-get -y update 5 | 6 | # #-------------Application Specific Stuff ---------------------------------------------------- 7 | # removed: doxygen cmake-curses-gui 8 | LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get update && \ 9 | apt-get install -y git cmake flex bison libproj-dev libgeos-dev libgdal1-dev \ 10 | libexpat1-dev libfcgi-dev libgsl0-dev libpq-dev libqca2-dev libqca2-plugin-ossl \ 11 | libqscintilla2-dev libqt4-dev libqt4-opengl-dev libqt4-sql-sqlite \ 12 | libqtwebkit-dev libqwt-dev libspatialindex-dev libspatialite-dev libsqlite3-dev \ 13 | lighttpd locales pkg-config poppler-utils pyqt4-dev-tools python python-dev \ 14 | python-qt4 python-qt4-dev python-qt4-sql python-sip python-sip-dev \ 15 | spawn-fcgi xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb 16 | 17 | chmod -R a+w /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/ 18 | chmod -R a+w /usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/ 19 | -------------------------------------------------------------------------------- /2.10/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM kartoza/qgis-base:v2 2 | MAINTAINER Tim Sutton 3 | 4 | # Clone the 2.8 branch 5 | RUN git clone --depth 1 -b release-2_10 git://github.com/qgis/QGIS.git; \ 6 | mkdir /build; \ 7 | cd /build; \ 8 | cmake /QGIS -DQWT_INCLUDE_DIR=/usr/include/qwt -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=/usr -DPYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so -DQSCINTILLA_INCLUDE_DIR=/usr/include/qt4 -DQWT_LIBRARY=/usr/lib/libqwt.so; \ 9 | make install -j4; \ 10 | cd /; \ 11 | rm -rf /QGIS; \ 12 | rm -rf /build; \ 13 | ldconfig 14 | 15 | WORKDIR /tmp 16 | 17 | # Called on first run of docker 18 | ADD start.sh /start.sh 19 | RUN chmod 0755 /start.sh 20 | 21 | # Slim down things by clearing apt cache dir, removing all dev packages etc. 22 | RUN apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* 23 | RUN apt-get remove `dpkg -l | grep -e \-dev | sed 's/ii//g' \ 24 | | sed 's/rc//g' | sed 's/^ *//;s/ *$//' \ 25 | | sed 's/ \+ /\t/g' | cut -f 1` 26 | 27 | CMD /start.sh 28 | -------------------------------------------------------------------------------- /2.14/build/getDeps.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | apt-get -y update 4 | apt-get install -y software-properties-common 5 | add-apt-repository ppa:ubuntugis/ubuntugis-unstable 6 | apt-get -y update 7 | 8 | # #-------------Application Specific Stuff ---------------------------------------------------- 9 | # removed: doxygen cmake-curses-gui 10 | LC_ALL=C DEBIAN_FRONTEND=noninteractive apt-get update && \ 11 | apt-get install -y git cmake flex bison libproj-dev libgeos-dev libgdal1-dev \ 12 | libexpat1-dev libfcgi-dev libgsl0-dev libpq-dev libqca2-dev libqca2-plugin-ossl \ 13 | libqscintilla2-dev libqt4-dev libqt4-opengl-dev libqt4-sql-sqlite \ 14 | libqtwebkit-dev libqwt-dev libspatialindex-dev libspatialite-dev libsqlite3-dev \ 15 | lighttpd locales pkg-config poppler-utils pyqt4-dev-tools python python-dev \ 16 | python-qt4 python-qt4-dev python-qt4-sql python-sip python-sip-dev \ 17 | spawn-fcgi xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb 18 | 19 | chmod -R a+w /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/ 20 | chmod -R a+w /usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/ 21 | -------------------------------------------------------------------------------- /2.18/build.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | ## 3 | ## GLOBALS 4 | ## 5 | source globals.sh 6 | ## 7 | ## Build 8 | ## 9 | docker build -t kartoza/qgis-desktop:${MAJOR}.${MINOR}.${BUGFIX} . 10 | sudo cp run-qgis-${MAJOR}.${MINOR}ltr-in-docker.sh /usr/local/bin 11 | sudo cp QGIS-${MAJOR}.${MINOR}LTR.Docker.desktop /usr/share/applications/ 12 | sudo cp qgis-icon-60x60.png /usr/local 13 | 14 | echo "A shortcut was created to run your docker - " 15 | echo "you may need to reload your desktop" 16 | echo "or log out and in again for the shortcut to be available." 17 | 18 | docker tag kartoza/qgis-desktop:${MAJOR}.${MINOR}.${BUGFIX} kartoza/qgis-desktop:LTR 19 | docker tag kartoza/qgis-desktop:${MAJOR}.${MINOR}.${BUGFIX} kartoza/qgis-desktop:${MAJOR}.${MINOR} 20 | # We should rather push the 3.x image as latest 21 | #docker tag kartoza/qgis-desktop:${MAJOR}.${MINOR}.${BUGFIX} kartoza/qgis-desktop:latest 22 | docker push kartoza/qgis-desktop:${MAJOR}.${MINOR}.${BUGFIX} 23 | docker push kartoza/qgis-desktop:${MAJOR}.${MINOR} 24 | docker push kartoza/qgis-desktop:LTR 25 | # We should rather push the 3.x image as latest 26 | #docker push kartoza/qgis-desktop:latest 27 | -------------------------------------------------------------------------------- /2.18/build/getDeps.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | set -e 3 | apt -y update 4 | apt install -y software-properties-common 5 | add-apt-repository ppa:ubuntugis/ubuntugis-unstable 6 | apt -y update 7 | 8 | # #-------------Application Specific Stuff ---------------------------------------------------- 9 | # removed: doxygen cmake-curses-gui 10 | LC_ALL=C DEBIAN_FRONTEND=noninteractive apt install --no-install-recommends -y \ 11 | git cmake flex bison libproj-dev libgeos-dev libgdal1-dev \ 12 | libexpat1-dev libfcgi-dev libgsl0-dev libpq-dev libqca2-dev libqca2-plugin-ossl \ 13 | libqscintilla2-dev libqt4-dev libqt4-opengl-dev libqt4-sql-sqlite \ 14 | libqtwebkit-dev libqwt-dev libspatialindex-dev libspatialite-dev libsqlite3-dev \ 15 | lighttpd locales pkg-config poppler-utils pyqt4-dev-tools python python-dev \ 16 | python-qt4 python-qt4-dev python-qt4-sql python-sip python-sip-dev python-setuptools \ 17 | spawn-fcgi xauth xfonts-100dpi xfonts-75dpi xfonts-base xfonts-scalable xvfb \ 18 | python-pip gdal-bin python-gdal pyqt4.qsci-dev python-qscintilla2 python-pyspatialite g++ 19 | 20 | pip install --upgrade pip==9.0.3 21 | pip install requests psycopg2 jinja2 pygments 22 | 23 | chmod -R a+w /usr/lib/x86_64-linux-gnu/qt4/plugins/designer/ 24 | chmod -R a+w /usr/lib/python2.7/dist-packages/PyQt4/uic/widget-plugins/ 25 | -------------------------------------------------------------------------------- /2.6/README.md: -------------------------------------------------------------------------------- 1 | docker-qgis-desktop 2 | =================== 3 | 4 | A simple docker container that runs QGIS desktop 5 | 6 | Note this is still experimental and probably does not represent 7 | the most optimal way to do this. Current limitations: 8 | 9 | * Qt4 theme is not carried over nicely 10 | * Uses xhost + which is not ideal since it allows all remote 11 | hosts to display windows on your X display (probably not 12 | an issue if you are on a local network). 13 | 14 | 15 | # Getting the image 16 | 17 | ## Use the docker repository: 18 | 19 | This will consume the most bandwidth for the initial build but 20 | will be easy to update thereafter. 21 | 22 | ``` 23 | docker pull kartoza/qgis-desktop 24 | ``` 25 | 26 | 27 | You will also need to create the 28 | desktop shortcut yourself by taking the resources from the git repo e.g.: 29 | 30 | 31 | ``` 32 | sudo cp run-qgis-in-docker.sh /usr/local/bin 33 | sudo chmod +x ${HOME}/bin/run-qgis-in-docker.sh 34 | sudo cp QGIS-2.4.Docker.desktop /usr/share/applications/ 35 | sudo cp qgis-icon-60x60.png /usr/local 36 | ``` 37 | 38 | 39 | ## Build the image yourself: 40 | 41 | Clone the repo to your local system and then run the ``build.sh`` 42 | script - it will create a launcher script in `~/bin`, add `~/bin/` 43 | to your `.bashrc` and create a desktop shortcut that will launch 44 | QGIS. 45 | 46 | ``` 47 | git clone git://github.com/kartoza/docker-qgis-desktop 48 | cd docker-qgis-desktop 49 | ./build.sh 50 | ``` 51 | 52 | ##Alternative build: 53 | 54 | To build the image do: 55 | 56 | ``` 57 | docker build -t kartoza/qgis-desktop git://github.com/kartoza/docker-qgis-desktop 58 | ``` 59 | 60 | # Run a container 61 | 62 | To run a container do: 63 | 64 | ``` 65 | xhost + 66 | # Users home is mounted as home 67 | # --rm will remove the container as soon as it ends 68 | 69 | docker run --rm --name="qgis-desktop-2-4" \ 70 | -i -t \ 71 | -v ${HOME}:/home/${USER} \ 72 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 73 | -e DISPLAY=unix$DISPLAY \ 74 | kartoza/qgis-desktop:latest 75 | xhost - 76 | ``` 77 | The above is the content of run-qgis-in-docker.sh so you can just 78 | ``` 79 | ./run-qgis-in-docker.sh 80 | ``` 81 | 82 | Follow the instructions above to create a desktop shortcut. Then, when you click on the QGIS icon this script will run and start the container. 83 | 84 | Note that your home directory will be mounted in the container and thus accessible to QGIS. If you want other directories to be available, just add then to run-qgis-in-docker.sh with -v flags. 85 | 86 | If QGIS crashes or hangs it might leave an orphan docker process running. If you see the process with 87 | ``` 88 | docker ps 89 | ``` 90 | Then run 91 | ``` 92 | docker stop 93 | ``` 94 | Else run 95 | ``` 96 | docker ps -a 97 | ``` 98 | then 99 | ``` 100 | docker rm 101 | 102 | 103 | 104 | ----------- 105 | 106 | Tim Sutton (tim@kartoza.com) 107 | July 2014 108 | -------------------------------------------------------------------------------- /2.10/README.md: -------------------------------------------------------------------------------- 1 | docker-qgis-desktop 2 | =================== 3 | 4 | A simple docker container that runs QGIS desktop 5 | 6 | Note this is still experimental and probably does not represent 7 | the most optimal way to do this. Current limitations: 8 | 9 | * Qt4 theme is not carried over nicely 10 | * Uses xhost + which is not ideal since it allows all remote 11 | hosts to display windows on your X display (probably not 12 | an issue if you are on a local network). 13 | 14 | 15 | # Getting the image 16 | 17 | ## Use the docker repository: 18 | 19 | This will consume the most bandwidth for the initial build but 20 | will be easy to update thereafter. 21 | 22 | ``` 23 | docker pull kartoza/qgis-desktop 24 | ``` 25 | 26 | 27 | You will also need to create the 28 | desktop shortcut yourself by taking the resources from the git repo e.g.: 29 | 30 | 31 | ``` 32 | sudo cp run-qgis-2.10-in-docker.sh /usr/local/bin 33 | sudo cp QGIS-2.10.Docker.desktop /usr/share/applications/ 34 | sudo cp qgis-icon-60x60.png /usr/local 35 | ``` 36 | 37 | 38 | ## Build the image yourself: 39 | 40 | Clone the repo to your local system and then run the ``build.sh`` 41 | script - it will create a launcher script in `/usr/local/bin` 42 | and create a desktop shortcut that will launch QGIS. 43 | 44 | ``` 45 | git clone git://github.com/kartoza/docker-qgis-desktop 46 | cd docker-qgis-desktop 47 | ./build.sh 48 | ``` 49 | 50 | ##Alternative build: 51 | 52 | To build the image do: 53 | 54 | ``` 55 | docker build -t kartoza/qgis-desktop git://github.com/kartoza/docker-qgis-desktop 56 | ``` 57 | 58 | If you follow this approach you will need to create the 59 | application launcher yourself, manually. Consult the sources in this 60 | repository for more details on how to do that. 61 | 62 | # Run a container 63 | 64 | To run a container do: 65 | 66 | ``` 67 | xhost + 68 | # Users home is mounted as home 69 | # --rm will remove the container as soon as it ends 70 | 71 | docker run --rm --name="qgis-desktop-2.10" \ 72 | -i -t \ 73 | -v ${HOME}:/home/${USER} \ 74 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 75 | -e DISPLAY=unix$DISPLAY \ 76 | kartoza/qgis-desktop:latest 77 | xhost - 78 | ``` 79 | The above is the content of run-qgis-2.8.0-in-docker.sh so you can just 80 | ``` 81 | ./run-qgis-2.10-in-docker.sh 82 | ``` 83 | 84 | Follow the instructions above to create a desktop shortcut. Then, when you 85 | click on the QGIS icon this script will run and start the container. 86 | 87 | Note that your home directory will be mounted in the container and thus 88 | accessible to QGIS. If you want other directories to be available, just add 89 | then to run-qgis-in-docker.sh with -v flags. 90 | 91 | If QGIS crashes or hangs it might leave an orphan docker process running. If 92 | you see the process with 93 | ``` 94 | docker ps 95 | ``` 96 | Then run 97 | ``` 98 | docker stop 99 | ``` 100 | Else run 101 | ``` 102 | docker ps -a 103 | ``` 104 | then 105 | ``` 106 | docker rm 107 | 108 | 109 | 110 | ----------- 111 | 112 | Tim Sutton (tim@kartoza.com) 113 | July 2014 114 | -------------------------------------------------------------------------------- /2.8/README.md: -------------------------------------------------------------------------------- 1 | docker-qgis-desktop 2 | =================== 3 | 4 | A simple docker container that runs QGIS desktop 5 | 6 | Note this is still experimental and probably does not represent 7 | the most optimal way to do this. Current limitations: 8 | 9 | * Qt4 theme is not carried over nicely 10 | * Uses xhost + which is not ideal since it allows all remote 11 | hosts to display windows on your X display (probably not 12 | an issue if you are on a local network). 13 | 14 | 15 | # Getting the image 16 | 17 | ## Use the docker repository: 18 | 19 | This will consume the most bandwidth for the initial build but 20 | will be easy to update thereafter. 21 | 22 | ``` 23 | docker pull kartoza/qgis-desktop:2.8.9 24 | ``` 25 | 26 | 27 | You will also need to create the 28 | desktop shortcut yourself by taking the resources from the git repo e.g.: 29 | 30 | 31 | ``` 32 | sudo cp run-qgis-2.8.9-in-docker.sh /usr/local/bin 33 | sudo cp QGIS-2.8.9.Docker.desktop /usr/share/applications/ 34 | sudo cp qgis-icon-60x60.png /usr/local 35 | ``` 36 | 37 | 38 | ## Build the image yourself: 39 | 40 | Clone the repo to your local system and then run the ``build.sh`` 41 | script - it will create a launcher script in `/usr/local/bin` 42 | and create a desktop shortcut that will launch QGIS. 43 | 44 | ``` 45 | git clone git://github.com/kartoza/docker-qgis-desktop 46 | cd docker-qgis-desktop 47 | ./build.sh 48 | ``` 49 | 50 | ##Alternative build: 51 | 52 | To build the image do: 53 | 54 | ``` 55 | docker build -t kartoza/qgis-desktop:2.8 git://github.com/kartoza/docker-qgis-desktop 56 | ``` 57 | 58 | If you follow this approach you will need to create the 59 | application launcher yourself, manually. Consult the sources in this 60 | repository for more details on how to do that. 61 | 62 | # Run a container 63 | 64 | To run a container do: 65 | 66 | ``` 67 | xhost + 68 | # Users home is mounted as home 69 | # --rm will remove the container as soon as it ends 70 | 71 | docker run --rm --name="qgis-desktop-2.8" \ 72 | -i -t \ 73 | -v ${HOME}:/home/${USER} \ 74 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 75 | -e DISPLAY=unix$DISPLAY \ 76 | kartoza/qgis-desktop:2:8 77 | xhost - 78 | ``` 79 | The above is the content of run-qgis-2.8-in-docker.sh so you can just 80 | ``` 81 | ./run-qgis-2.8-in-docker.sh 82 | ``` 83 | 84 | Follow the instructions above to create a desktop shortcut. Then, when you 85 | click on the QGIS icon this script will run and start the container. 86 | 87 | Note that your home directory will be mounted in the container and thus 88 | accessible to QGIS. If you want other directories to be available, just add 89 | then to run-qgis-in-docker.sh with -v flags. 90 | 91 | If QGIS crashes or hangs it might leave an orphan docker process running. If 92 | you see the process with 93 | ``` 94 | docker ps 95 | ``` 96 | Then run 97 | ``` 98 | docker stop 99 | ``` 100 | Else run 101 | ``` 102 | docker ps -a 103 | ``` 104 | then 105 | ``` 106 | docker rm 107 | 108 | 109 | 110 | ----------- 111 | 112 | Tim Sutton (tim@kartoza.com) 113 | July 2014 114 | -------------------------------------------------------------------------------- /2.12/README.md: -------------------------------------------------------------------------------- 1 | docker-qgis-desktop 2 | =================== 3 | 4 | A simple docker container that runs QGIS desktop 5 | 6 | Note this is still experimental and probably does not represent 7 | the most optimal way to do this. Current limitations: 8 | 9 | * Qt4 theme is not carried over nicely 10 | * Uses xhost + which is not ideal since it allows all remote 11 | hosts to display windows on your X display (probably not 12 | an issue if you are on a local network). 13 | 14 | 15 | # Getting the image 16 | 17 | ## Use the docker repository: 18 | 19 | This will consume the most bandwidth for the initial build but 20 | will be easy to update thereafter. 21 | 22 | ``` 23 | docker pull kartoza/qgis-desktop 24 | ``` 25 | 26 | 27 | You will also need to create the 28 | desktop shortcut yourself by taking the resources from the git repo e.g.: 29 | 30 | 31 | ``` 32 | sudo cp run-qgis-master-in-docker.sh /usr/local/bin 33 | sudo cp QGIS-2.12.Docker.desktop /usr/share/applications/ 34 | sudo cp qgis-icon-60x60.png /usr/local 35 | ``` 36 | 37 | 38 | ## Build the image yourself: 39 | 40 | Clone the repo to your local system and then run the ``build.sh`` 41 | script - it will create a launcher script in `/usr/local/bin` 42 | and create a desktop shortcut that will launch QGIS. 43 | 44 | ``` 45 | git clone git://github.com/kartoza/docker-qgis-desktop 46 | cd docker-qgis-desktop 47 | ./build.sh 48 | ``` 49 | 50 | ##Alternative build: 51 | 52 | To build the image do: 53 | 54 | ``` 55 | docker build -t kartoza/qgis-desktop git://github.com/kartoza/docker-qgis-desktop 56 | ``` 57 | 58 | If you follow this approach you will need to create the 59 | application launcher yourself, manually. Consult the sources in this 60 | repository for more details on how to do that. 61 | 62 | # Run a container 63 | 64 | To run a container do: 65 | 66 | ``` 67 | xhost + 68 | # Users home is mounted as home 69 | # --rm will remove the container as soon as it ends 70 | 71 | docker run --rm --name="qgis-desktop-master" \ 72 | -i -t \ 73 | -v ${HOME}:/home/${USER} \ 74 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 75 | -e DISPLAY=unix$DISPLAY \ 76 | kartoza/qgis-desktop:latest 77 | xhost - 78 | ``` 79 | The above is the content of run-qgis-master-in-docker.sh so you can just 80 | ``` 81 | ./run-qgis-master-in-docker.sh 82 | ``` 83 | 84 | Follow the instructions above to create a desktop shortcut. Then, when you 85 | click on the QGIS icon this script will run and start the container. 86 | 87 | Note that your home directory will be mounted in the container and thus 88 | accessible to QGIS. If you want other directories to be available, just add 89 | then to run-qgis-in-docker.sh with -v flags. 90 | 91 | If QGIS crashes or hangs it might leave an orphan docker process running. If 92 | you see the process with 93 | ``` 94 | docker ps 95 | ``` 96 | Then run 97 | ``` 98 | docker stop 99 | ``` 100 | Else run 101 | ``` 102 | docker ps -a 103 | ``` 104 | then 105 | ``` 106 | docker rm 107 | 108 | 109 | 110 | ----------- 111 | 112 | Tim Sutton (tim@kartoza.com) 113 | July 2014 114 | -------------------------------------------------------------------------------- /3.0/README.md: -------------------------------------------------------------------------------- 1 | docker-qgis-desktop 2 | =================== 3 | 4 | A simple docker container that runs QGIS desktop 5 | 6 | Note this is still experimental and probably does not represent 7 | the most optimal way to do this. Current limitations: 8 | 9 | * Qt4 theme is not carried over nicely 10 | * Uses xhost + which is not ideal since it allows all remote 11 | hosts to display windows on your X display (probably not 12 | an issue if you are on a local network). 13 | 14 | 15 | # Getting the image 16 | 17 | ## Use the docker repository: 18 | 19 | This will consume the most bandwidth for the initial build but 20 | will be easy to update thereafter. 21 | 22 | ``` 23 | docker pull kartoza/qgis-desktop:LTR 24 | ``` 25 | 26 | 27 | You will also need to create the 28 | desktop shortcut yourself by taking the resources from the git repo e.g.: 29 | 30 | 31 | ``` 32 | sudo cp run-qgis-3.0ltr-in-docker.sh /usr/local/bin 33 | sudo cp QGIS-3.0LTR.Docker.desktop /usr/share/applications/ 34 | sudo cp qgis-icon-60x60.png /usr/local 35 | ``` 36 | 37 | 38 | ## Build the image yourself: 39 | 40 | Clone the repo to your local system and then run the ``build.sh`` 41 | script - it will create a launcher script in `/usr/local/bin` 42 | and create a desktop shortcut that will launch QGIS. 43 | 44 | ``` 45 | git clone git://github.com/kartoza/docker-qgis-desktop 46 | cd docker-qgis-desktop 47 | ./build.sh 48 | ``` 49 | 50 | ##Alternative build: 51 | 52 | To build the image do: 53 | 54 | ``` 55 | docker build -t kartoza/qgis-desktop:3.0 git://github.com/kartoza/docker-qgis-desktop 56 | ``` 57 | 58 | If you follow this approach you will need to create the 59 | application launcher yourself, manually. Consult the sources in this 60 | repository for more details on how to do that. 61 | 62 | # Run a container 63 | 64 | To run a container do: 65 | 66 | ``` 67 | xhost + 68 | # Users home is mounted as home 69 | # --rm will remove the container as soon as it ends 70 | 71 | docker run --rm --name="qgis-desktop-3.0ltr" \ 72 | -i -t \ 73 | -v ${HOME}:/home/${USER} \ 74 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 75 | -e DISPLAY=unix$DISPLAY \ 76 | kartoza/qgis-desktop:3.0 77 | xhost - 78 | ``` 79 | The above is the content of run-qgis-3.0ltr-in-docker.sh so you can just 80 | ``` 81 | ./run-qgis-3.0ltr-in-docker.sh 82 | ``` 83 | 84 | Follow the instructions above to create a desktop shortcut. Then, when you 85 | click on the QGIS icon this script will run and start the container. 86 | 87 | Note that your home directory will be mounted in the container and thus 88 | accessible to QGIS. If you want other directories to be available, just add 89 | then to run-qgis-in-docker.sh with -v flags. 90 | 91 | If QGIS crashes or hangs it might leave an orphan docker process running. If 92 | you see the process with 93 | ``` 94 | docker ps 95 | ``` 96 | Then run 97 | ``` 98 | docker stop 99 | ``` 100 | Else run 101 | ``` 102 | docker ps -a 103 | ``` 104 | then 105 | ``` 106 | docker rm 107 | 108 | 109 | 110 | ----------- 111 | 112 | Tim Sutton (tim@kartoza.com) 113 | July 2014 114 | -------------------------------------------------------------------------------- /2.14/README.md: -------------------------------------------------------------------------------- 1 | docker-qgis-desktop 2 | =================== 3 | 4 | A simple docker container that runs QGIS desktop 5 | 6 | Note this is still experimental and probably does not represent 7 | the most optimal way to do this. Current limitations: 8 | 9 | * Qt4 theme is not carried over nicely 10 | * Uses xhost + which is not ideal since it allows all remote 11 | hosts to display windows on your X display (probably not 12 | an issue if you are on a local network). 13 | 14 | 15 | # Getting the image 16 | 17 | ## Use the docker repository: 18 | 19 | This will consume the most bandwidth for the initial build but 20 | will be easy to update thereafter. 21 | 22 | ``` 23 | docker pull kartoza/qgis-desktop:LTR 24 | ``` 25 | 26 | 27 | You will also need to create the 28 | desktop shortcut yourself by taking the resources from the git repo e.g.: 29 | 30 | 31 | ``` 32 | sudo cp run-qgis-2.14ltr-in-docker.sh /usr/local/bin 33 | sudo cp QGIS-2.14LTR.Docker.desktop /usr/share/applications/ 34 | sudo cp qgis-icon-60x60.png /usr/local 35 | ``` 36 | 37 | 38 | ## Build the image yourself: 39 | 40 | Clone the repo to your local system and then run the ``build.sh`` 41 | script - it will create a launcher script in `/usr/local/bin` 42 | and create a desktop shortcut that will launch QGIS. 43 | 44 | ``` 45 | git clone git://github.com/kartoza/docker-qgis-desktop 46 | cd docker-qgis-desktop 47 | ./build.sh 48 | ``` 49 | 50 | ##Alternative build: 51 | 52 | To build the image do: 53 | 54 | ``` 55 | docker build -t kartoza/qgis-desktop:2.14 git://github.com/kartoza/docker-qgis-desktop 56 | ``` 57 | 58 | If you follow this approach you will need to create the 59 | application launcher yourself, manually. Consult the sources in this 60 | repository for more details on how to do that. 61 | 62 | # Run a container 63 | 64 | To run a container do: 65 | 66 | ``` 67 | xhost + 68 | # Users home is mounted as home 69 | # --rm will remove the container as soon as it ends 70 | 71 | docker run --rm --name="qgis-desktop-2.14ltr" \ 72 | -i -t \ 73 | -v ${HOME}:/home/${USER} \ 74 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 75 | -e DISPLAY=unix$DISPLAY \ 76 | kartoza/qgis-desktop:2.14 77 | xhost - 78 | ``` 79 | The above is the content of run-qgis-2.14ltr-in-docker.sh so you can just 80 | ``` 81 | ./run-qgis-2.14ltr-in-docker.sh 82 | ``` 83 | 84 | Follow the instructions above to create a desktop shortcut. Then, when you 85 | click on the QGIS icon this script will run and start the container. 86 | 87 | Note that your home directory will be mounted in the container and thus 88 | accessible to QGIS. If you want other directories to be available, just add 89 | then to run-qgis-in-docker.sh with -v flags. 90 | 91 | If QGIS crashes or hangs it might leave an orphan docker process running. If 92 | you see the process with 93 | ``` 94 | docker ps 95 | ``` 96 | Then run 97 | ``` 98 | docker stop 99 | ``` 100 | Else run 101 | ``` 102 | docker ps -a 103 | ``` 104 | then 105 | ``` 106 | docker rm 107 | 108 | 109 | 110 | ----------- 111 | 112 | Tim Sutton (tim@kartoza.com) 113 | July 2014 114 | -------------------------------------------------------------------------------- /2.18/README.md: -------------------------------------------------------------------------------- 1 | docker-qgis-desktop 2 | =================== 3 | 4 | A simple docker container that runs QGIS desktop 5 | 6 | Note this is still experimental and probably does not represent 7 | the most optimal way to do this. Current limitations: 8 | 9 | * Qt4 theme is not carried over nicely 10 | * Uses xhost + which is not ideal since it allows all remote 11 | hosts to display windows on your X display (probably not 12 | an issue if you are on a local network). 13 | 14 | 15 | # Getting the image 16 | 17 | ## Use the docker repository: 18 | 19 | This will consume the most bandwidth for the initial build but 20 | will be easy to update thereafter. 21 | 22 | ``` 23 | docker pull kartoza/qgis-desktop:LTR 24 | ``` 25 | 26 | 27 | You will also need to create the 28 | desktop shortcut yourself by taking the resources from the git repo e.g.: 29 | 30 | 31 | ``` 32 | sudo cp run-qgis-2.18ltr-in-docker.sh /usr/local/bin 33 | sudo cp QGIS-2.18LTR.Docker.desktop /usr/share/applications/ 34 | sudo cp qgis-icon-60x60.png /usr/local 35 | ``` 36 | 37 | 38 | ## Build the image yourself: 39 | 40 | Clone the repo to your local system and then run the ``build.sh`` 41 | script - it will create a launcher script in `/usr/local/bin` 42 | and create a desktop shortcut that will launch QGIS. 43 | 44 | ``` 45 | git clone git://github.com/kartoza/docker-qgis-desktop 46 | cd docker-qgis-desktop 47 | ./build.sh 48 | ``` 49 | 50 | ##Alternative build: 51 | 52 | To build the image do: 53 | 54 | ``` 55 | docker build -t kartoza/qgis-desktop:2.14 git://github.com/kartoza/docker-qgis-desktop 56 | ``` 57 | 58 | If you follow this approach you will need to create the 59 | application launcher yourself, manually. Consult the sources in this 60 | repository for more details on how to do that. 61 | 62 | # Run a container 63 | 64 | To run a container do: 65 | 66 | ``` 67 | xhost + 68 | # Users home is mounted as home 69 | # --rm will remove the container as soon as it ends 70 | 71 | docker run --rm --name="qgis-desktop-2.14ltr" \ 72 | -i -t \ 73 | -v ${HOME}:/home/${USER} \ 74 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 75 | -e DISPLAY=unix$DISPLAY \ 76 | kartoza/qgis-desktop:2.14 77 | xhost - 78 | ``` 79 | The above is the content of run-qgis-2.14ltr-in-docker.sh so you can just 80 | ``` 81 | ./run-qgis-2.14ltr-in-docker.sh 82 | ``` 83 | 84 | Follow the instructions above to create a desktop shortcut. Then, when you 85 | click on the QGIS icon this script will run and start the container. 86 | 87 | Note that your home directory will be mounted in the container and thus 88 | accessible to QGIS. If you want other directories to be available, just add 89 | then to run-qgis-in-docker.sh with -v flags. 90 | 91 | If QGIS crashes or hangs it might leave an orphan docker process running. If 92 | you see the process with 93 | ``` 94 | docker ps 95 | ``` 96 | Then run 97 | ``` 98 | docker stop 99 | ``` 100 | Else run 101 | ``` 102 | docker ps -a 103 | ``` 104 | then 105 | ``` 106 | docker rm 107 | 108 | 109 | 110 | ----------- 111 | 112 | Tim Sutton (tim@kartoza.com) 113 | July 2014 114 | -------------------------------------------------------------------------------- /master/README.md: -------------------------------------------------------------------------------- 1 | docker-qgis-desktop 2 | =================== 3 | 4 | A simple docker container that runs QGIS desktop 5 | 6 | Note this is still experimental and probably does not represent 7 | the most optimal way to do this. Current limitations: 8 | 9 | * Qt4 theme is not carried over nicely 10 | * Uses xhost + which is not ideal since it allows all remote 11 | hosts to display windows on your X display (probably not 12 | an issue if you are on a local network). 13 | 14 | 15 | # Getting the image 16 | 17 | ## Use the docker repository: 18 | 19 | This will consume the most bandwidth for the initial build but 20 | will be easy to update thereafter. 21 | 22 | ``` 23 | docker pull kartoza/qgis-desktop:LTR 24 | ``` 25 | 26 | 27 | You will also need to create the 28 | desktop shortcut yourself by taking the resources from the git repo e.g.: 29 | 30 | 31 | ``` 32 | sudo cp run-qgis-master-in-docker.sh /usr/local/bin 33 | sudo cp QGIS-2.14LTR.Docker.desktop /usr/share/applications/ 34 | sudo cp qgis-icon-60x60.png /usr/local 35 | ``` 36 | 37 | 38 | ## Build the image yourself: 39 | 40 | Clone the repo to your local system and then run the ``build.sh`` 41 | script - it will create a launcher script in `/usr/local/bin` 42 | and create a desktop shortcut that will launch QGIS. 43 | 44 | ``` 45 | git clone git://github.com/kartoza/docker-qgis-desktop 46 | cd docker-qgis-desktop 47 | ./build.sh 48 | ``` 49 | 50 | ##Alternative build: 51 | 52 | To build the image do: 53 | 54 | ``` 55 | docker build -t kartoza/qgis-desktop:master git://github.com/kartoza/docker-qgis-desktop 56 | ``` 57 | 58 | If you follow this approach you will need to create the 59 | application launcher yourself, manually. Consult the sources in this 60 | repository for more details on how to do that. 61 | 62 | # Run a container 63 | 64 | To run a container do: 65 | 66 | ``` 67 | xhost + 68 | # Users home is mounted as home 69 | # --rm will remove the container as soon as it ends 70 | 71 | docker run --rm --name="qgis-desktop-master" \ 72 | -i -t \ 73 | -v ${HOME}:/home/${USER} \ 74 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 75 | -e DISPLAY=unix$DISPLAY \ 76 | kartoza/qgis-desktop:master 77 | xhost - 78 | ``` 79 | The above is the content of run-qgis-master-in-docker.sh so you can just 80 | ``` 81 | ./run-qgis-master-in-docker.sh 82 | ``` 83 | 84 | Follow the instructions above to create a desktop shortcut. Then, when you 85 | click on the QGIS icon this script will run and start the container. 86 | 87 | Note that your home directory will be mounted in the container and thus 88 | accessible to QGIS. If you want other directories to be available, just add 89 | then to run-qgis-in-docker.sh with -v flags. 90 | 91 | If QGIS crashes or hangs it might leave an orphan docker process running. If 92 | you see the process with 93 | ``` 94 | docker ps 95 | ``` 96 | Then run 97 | ``` 98 | docker stop 99 | ``` 100 | Else run 101 | ``` 102 | docker ps -a 103 | ``` 104 | then 105 | ``` 106 | docker rm 107 | 108 | 109 | 110 | ----------- 111 | 112 | Tim Sutton (tim@kartoza.com) 113 | July 2014 114 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | QGIS Desktop for Docker 2 | ======================== 3 | 4 | A simple docker container that runs QGIS desktop 5 | 6 | **Note:** this is still experimental and probably does not represent 7 | the most optimal way to do this. Current limitations: 8 | 9 | * Qt4 theme is not carried over nicely 10 | * Uses ``xhost +`` which is not ideal since it allows all remote 11 | hosts to display windows on your X display (probably not 12 | an issue if you are on a local network). **Note:** See #16 - you 13 | can avoid using ``xhost +`` by running the script at the docker 14 | user. You will need to modify my scripts accordingly. 15 | * To use in Mac OS X docker host environment, you need to [install an X11 server like XQuartz and SOCAT to tunnel the connection](http://kartoza.com/how-to-run-a-linux-gui-application-on-osx-using-docker/). 16 | 17 | This image is also the base image for the [QGIS-Server docker image](https://github.com/kartoza/docker-qgis-server). 18 | 19 | # License 20 | 21 | [GPL V2](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html) 22 | 23 | 24 | 25 | # Example use with docker compose 26 | 27 | Here is a contrived example showing how you can run QGIS Desktop 28 | from in a docker container using docker-compose. Note you may 29 | need to run ``xhost +`` first. Example ``docker-compose`` follows: 30 | 31 | ``` 32 | db: 33 | image: kartoza/postgis:9.4-2.1 34 | environment: 35 | - USERNAME=docker 36 | - PASS=docker 37 | 38 | qgisdesktop: 39 | image: kartoza/qgis-desktop:2.14 40 | hostname: qgis-server 41 | volumes: 42 | # Wherever you want to mount your data from 43 | - ./gis:/gis 44 | # Unix socket for X11 45 | - /tmp/.X11-unix:/tmp/.X11-unix 46 | links: 47 | - db:db 48 | environment: 49 | - DISPLAY=unix:1 50 | command: /usr/bin/qgis 51 | 52 | ``` 53 | 54 | To run the example do: 55 | 56 | ``` 57 | docker-compose up 58 | ``` 59 | 60 | You should see QGIS start up and appear on your local display. For more detailed approaches 61 | to using and building the QGIS container, see below. 62 | 63 | **Note:** The database in the above example is stateless (it will be deleted when 64 | running ``docker-compose rm``). If you want to connect to the PG database from docker 65 | use the following info: 66 | 67 | * host: db 68 | * database: gis 69 | * user: docker 70 | * password: docker 71 | 72 | # Getting the image 73 | 74 | ## Use the docker repository: 75 | 76 | This will consume the most bandwidth for the initial build but 77 | will be easy to update thereafter. 78 | 79 | ``` 80 | docker pull kartoza/qgis-desktop 81 | ``` 82 | 83 | 84 | You will also need to create the 85 | desktop shortcut yourself by taking the resources from the git repo e.g.: 86 | 87 | 88 | ``` 89 | sudo cp run-qgis-master-in-docker.sh /usr/local/bin 90 | sudo cp QGIS-2.8.Docker.desktop /usr/share/applications/ 91 | sudo cp qgis-icon-60x60.png /usr/local 92 | ``` 93 | 94 | 95 | ## Build the image yourself: 96 | 97 | Clone the repo to your local system and then run the ``build.sh`` 98 | script - it will create a launcher script in `/usr/local/bin` 99 | and create a desktop shortcut that will launch QGIS. 100 | 101 | ``` 102 | git clone git://github.com/kartoza/docker-qgis-desktop 103 | # cd into one of the version directories 104 | cd docker-qgis-desktop/master 105 | ./build.sh 106 | ``` 107 | 108 | ## Alternative build: 109 | 110 | To build the image do: 111 | 112 | ``` 113 | docker build -t kartoza/qgis-desktop git://github.com/kartoza/docker-qgis-desktop 114 | ``` 115 | 116 | If you follow this approach you will need to create the 117 | application launcher yourself, manually. Consult the sources in this 118 | repository for more details on how to do that. 119 | 120 | # Run a container 121 | 122 | To run a container do (see alternative approach to doing this using docker-compose at the top of this document): 123 | 124 | ``` 125 | xhost + 126 | # Users home is mounted as home 127 | # --rm will remove the container as soon as it ends 128 | 129 | docker run --rm --name="qgis-desktop-master" \ 130 | -i -t \ 131 | -v ${HOME}:/home/${USER} \ 132 | -v /tmp/.X11-unix:/tmp/.X11-unix \ 133 | -e DISPLAY=unix$DISPLAY \ 134 | kartoza/qgis-desktop:latest 135 | xhost - 136 | ``` 137 | The above is the content of run-qgis-master-in-docker.sh so you can just 138 | ``` 139 | ./run-qgis-master-in-docker.sh 140 | ``` 141 | 142 | Follow the instructions above to create a desktop shortcut. Then, when you 143 | click on the QGIS icon this script will run and start the container. 144 | 145 | Note that your home directory will be mounted in the container and thus 146 | accessible to QGIS. If you want other directories to be available, just add 147 | then to run-qgis-in-docker.sh with -v flags. 148 | 149 | If QGIS crashes or hangs it might leave an orphan docker process running. If 150 | you see the process with 151 | ``` 152 | docker ps 153 | ``` 154 | Then run 155 | ``` 156 | docker stop 157 | ``` 158 | Else run 159 | ``` 160 | docker ps -a 161 | ``` 162 | then 163 | ``` 164 | docker rm 165 | 166 | 167 | 168 | ----------- 169 | 170 | Tim Sutton (tim@kartoza.com) 171 | July 2014 172 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | GNU GENERAL PUBLIC LICENSE 2 | Version 2, June 1991 3 | 4 | Copyright (C) 1989, 1991 Free Software Foundation, Inc., 5 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 6 | Everyone is permitted to copy and distribute verbatim copies 7 | of this license document, but changing it is not allowed. 8 | 9 | Preamble 10 | 11 | The licenses for most software are designed to take away your 12 | freedom to share and change it. By contrast, the GNU General Public 13 | License is intended to guarantee your freedom to share and change free 14 | software--to make sure the software is free for all its users. This 15 | General Public License applies to most of the Free Software 16 | Foundation's software and to any other program whose authors commit to 17 | using it. (Some other Free Software Foundation software is covered by 18 | the GNU Lesser General Public License instead.) You can apply it to 19 | your programs, too. 20 | 21 | When we speak of free software, we are referring to freedom, not 22 | price. Our General Public Licenses are designed to make sure that you 23 | have the freedom to distribute copies of free software (and charge for 24 | this service if you wish), that you receive source code or can get it 25 | if you want it, that you can change the software or use pieces of it 26 | in new free programs; and that you know you can do these things. 27 | 28 | To protect your rights, we need to make restrictions that forbid 29 | anyone to deny you these rights or to ask you to surrender the rights. 30 | These restrictions translate to certain responsibilities for you if you 31 | distribute copies of the software, or if you modify it. 32 | 33 | For example, if you distribute copies of such a program, whether 34 | gratis or for a fee, you must give the recipients all the rights that 35 | you have. You must make sure that they, too, receive or can get the 36 | source code. And you must show them these terms so they know their 37 | rights. 38 | 39 | We protect your rights with two steps: (1) copyright the software, and 40 | (2) offer you this license which gives you legal permission to copy, 41 | distribute and/or modify the software. 42 | 43 | Also, for each author's protection and ours, we want to make certain 44 | that everyone understands that there is no warranty for this free 45 | software. If the software is modified by someone else and passed on, we 46 | want its recipients to know that what they have is not the original, so 47 | that any problems introduced by others will not reflect on the original 48 | authors' reputations. 49 | 50 | Finally, any free program is threatened constantly by software 51 | patents. We wish to avoid the danger that redistributors of a free 52 | program will individually obtain patent licenses, in effect making the 53 | program proprietary. To prevent this, we have made it clear that any 54 | patent must be licensed for everyone's free use or not licensed at all. 55 | 56 | The precise terms and conditions for copying, distribution and 57 | modification follow. 58 | 59 | GNU GENERAL PUBLIC LICENSE 60 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 61 | 62 | 0. This License applies to any program or other work which contains 63 | a notice placed by the copyright holder saying it may be distributed 64 | under the terms of this General Public License. The "Program", below, 65 | refers to any such program or work, and a "work based on the Program" 66 | means either the Program or any derivative work under copyright law: 67 | that is to say, a work containing the Program or a portion of it, 68 | either verbatim or with modifications and/or translated into another 69 | language. (Hereinafter, translation is included without limitation in 70 | the term "modification".) Each licensee is addressed as "you". 71 | 72 | Activities other than copying, distribution and modification are not 73 | covered by this License; they are outside its scope. The act of 74 | running the Program is not restricted, and the output from the Program 75 | is covered only if its contents constitute a work based on the 76 | Program (independent of having been made by running the Program). 77 | Whether that is true depends on what the Program does. 78 | 79 | 1. You may copy and distribute verbatim copies of the Program's 80 | source code as you receive it, in any medium, provided that you 81 | conspicuously and appropriately publish on each copy an appropriate 82 | copyright notice and disclaimer of warranty; keep intact all the 83 | notices that refer to this License and to the absence of any warranty; 84 | and give any other recipients of the Program a copy of this License 85 | along with the Program. 86 | 87 | You may charge a fee for the physical act of transferring a copy, and 88 | you may at your option offer warranty protection in exchange for a fee. 89 | 90 | 2. You may modify your copy or copies of the Program or any portion 91 | of it, thus forming a work based on the Program, and copy and 92 | distribute such modifications or work under the terms of Section 1 93 | above, provided that you also meet all of these conditions: 94 | 95 | a) You must cause the modified files to carry prominent notices 96 | stating that you changed the files and the date of any change. 97 | 98 | b) You must cause any work that you distribute or publish, that in 99 | whole or in part contains or is derived from the Program or any 100 | part thereof, to be licensed as a whole at no charge to all third 101 | parties under the terms of this License. 102 | 103 | c) If the modified program normally reads commands interactively 104 | when run, you must cause it, when started running for such 105 | interactive use in the most ordinary way, to print or display an 106 | announcement including an appropriate copyright notice and a 107 | notice that there is no warranty (or else, saying that you provide 108 | a warranty) and that users may redistribute the program under 109 | these conditions, and telling the user how to view a copy of this 110 | License. (Exception: if the Program itself is interactive but 111 | does not normally print such an announcement, your work based on 112 | the Program is not required to print an announcement.) 113 | 114 | These requirements apply to the modified work as a whole. If 115 | identifiable sections of that work are not derived from the Program, 116 | and can be reasonably considered independent and separate works in 117 | themselves, then this License, and its terms, do not apply to those 118 | sections when you distribute them as separate works. But when you 119 | distribute the same sections as part of a whole which is a work based 120 | on the Program, the distribution of the whole must be on the terms of 121 | this License, whose permissions for other licensees extend to the 122 | entire whole, and thus to each and every part regardless of who wrote it. 123 | 124 | Thus, it is not the intent of this section to claim rights or contest 125 | your rights to work written entirely by you; rather, the intent is to 126 | exercise the right to control the distribution of derivative or 127 | collective works based on the Program. 128 | 129 | In addition, mere aggregation of another work not based on the Program 130 | with the Program (or with a work based on the Program) on a volume of 131 | a storage or distribution medium does not bring the other work under 132 | the scope of this License. 133 | 134 | 3. You may copy and distribute the Program (or a work based on it, 135 | under Section 2) in object code or executable form under the terms of 136 | Sections 1 and 2 above provided that you also do one of the following: 137 | 138 | a) Accompany it with the complete corresponding machine-readable 139 | source code, which must be distributed under the terms of Sections 140 | 1 and 2 above on a medium customarily used for software interchange; or, 141 | 142 | b) Accompany it with a written offer, valid for at least three 143 | years, to give any third party, for a charge no more than your 144 | cost of physically performing source distribution, a complete 145 | machine-readable copy of the corresponding source code, to be 146 | distributed under the terms of Sections 1 and 2 above on a medium 147 | customarily used for software interchange; or, 148 | 149 | c) Accompany it with the information you received as to the offer 150 | to distribute corresponding source code. (This alternative is 151 | allowed only for noncommercial distribution and only if you 152 | received the program in object code or executable form with such 153 | an offer, in accord with Subsection b above.) 154 | 155 | The source code for a work means the preferred form of the work for 156 | making modifications to it. For an executable work, complete source 157 | code means all the source code for all modules it contains, plus any 158 | associated interface definition files, plus the scripts used to 159 | control compilation and installation of the executable. However, as a 160 | special exception, the source code distributed need not include 161 | anything that is normally distributed (in either source or binary 162 | form) with the major components (compiler, kernel, and so on) of the 163 | operating system on which the executable runs, unless that component 164 | itself accompanies the executable. 165 | 166 | If distribution of executable or object code is made by offering 167 | access to copy from a designated place, then offering equivalent 168 | access to copy the source code from the same place counts as 169 | distribution of the source code, even though third parties are not 170 | compelled to copy the source along with the object code. 171 | 172 | 4. You may not copy, modify, sublicense, or distribute the Program 173 | except as expressly provided under this License. Any attempt 174 | otherwise to copy, modify, sublicense or distribute the Program is 175 | void, and will automatically terminate your rights under this License. 176 | However, parties who have received copies, or rights, from you under 177 | this License will not have their licenses terminated so long as such 178 | parties remain in full compliance. 179 | 180 | 5. You are not required to accept this License, since you have not 181 | signed it. However, nothing else grants you permission to modify or 182 | distribute the Program or its derivative works. These actions are 183 | prohibited by law if you do not accept this License. Therefore, by 184 | modifying or distributing the Program (or any work based on the 185 | Program), you indicate your acceptance of this License to do so, and 186 | all its terms and conditions for copying, distributing or modifying 187 | the Program or works based on it. 188 | 189 | 6. Each time you redistribute the Program (or any work based on the 190 | Program), the recipient automatically receives a license from the 191 | original licensor to copy, distribute or modify the Program subject to 192 | these terms and conditions. You may not impose any further 193 | restrictions on the recipients' exercise of the rights granted herein. 194 | You are not responsible for enforcing compliance by third parties to 195 | this License. 196 | 197 | 7. If, as a consequence of a court judgment or allegation of patent 198 | infringement or for any other reason (not limited to patent issues), 199 | conditions are imposed on you (whether by court order, agreement or 200 | otherwise) that contradict the conditions of this License, they do not 201 | excuse you from the conditions of this License. If you cannot 202 | distribute so as to satisfy simultaneously your obligations under this 203 | License and any other pertinent obligations, then as a consequence you 204 | may not distribute the Program at all. For example, if a patent 205 | license would not permit royalty-free redistribution of the Program by 206 | all those who receive copies directly or indirectly through you, then 207 | the only way you could satisfy both it and this License would be to 208 | refrain entirely from distribution of the Program. 209 | 210 | If any portion of this section is held invalid or unenforceable under 211 | any particular circumstance, the balance of the section is intended to 212 | apply and the section as a whole is intended to apply in other 213 | circumstances. 214 | 215 | It is not the purpose of this section to induce you to infringe any 216 | patents or other property right claims or to contest validity of any 217 | such claims; this section has the sole purpose of protecting the 218 | integrity of the free software distribution system, which is 219 | implemented by public license practices. Many people have made 220 | generous contributions to the wide range of software distributed 221 | through that system in reliance on consistent application of that 222 | system; it is up to the author/donor to decide if he or she is willing 223 | to distribute software through any other system and a licensee cannot 224 | impose that choice. 225 | 226 | This section is intended to make thoroughly clear what is believed to 227 | be a consequence of the rest of this License. 228 | 229 | 8. If the distribution and/or use of the Program is restricted in 230 | certain countries either by patents or by copyrighted interfaces, the 231 | original copyright holder who places the Program under this License 232 | may add an explicit geographical distribution limitation excluding 233 | those countries, so that distribution is permitted only in or among 234 | countries not thus excluded. In such case, this License incorporates 235 | the limitation as if written in the body of this License. 236 | 237 | 9. The Free Software Foundation may publish revised and/or new versions 238 | of the General Public License from time to time. Such new versions will 239 | be similar in spirit to the present version, but may differ in detail to 240 | address new problems or concerns. 241 | 242 | Each version is given a distinguishing version number. If the Program 243 | specifies a version number of this License which applies to it and "any 244 | later version", you have the option of following the terms and conditions 245 | either of that version or of any later version published by the Free 246 | Software Foundation. If the Program does not specify a version number of 247 | this License, you may choose any version ever published by the Free Software 248 | Foundation. 249 | 250 | 10. If you wish to incorporate parts of the Program into other free 251 | programs whose distribution conditions are different, write to the author 252 | to ask for permission. For software which is copyrighted by the Free 253 | Software Foundation, write to the Free Software Foundation; we sometimes 254 | make exceptions for this. Our decision will be guided by the two goals 255 | of preserving the free status of all derivatives of our free software and 256 | of promoting the sharing and reuse of software generally. 257 | 258 | NO WARRANTY 259 | 260 | 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY 261 | FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN 262 | OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES 263 | PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED 264 | OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 265 | MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS 266 | TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE 267 | PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, 268 | REPAIR OR CORRECTION. 269 | 270 | 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING 271 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR 272 | REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, 273 | INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING 274 | OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED 275 | TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY 276 | YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER 277 | PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE 278 | POSSIBILITY OF SUCH DAMAGES. 279 | 280 | END OF TERMS AND CONDITIONS 281 | 282 | How to Apply These Terms to Your New Programs 283 | 284 | If you develop a new program, and you want it to be of the greatest 285 | possible use to the public, the best way to achieve this is to make it 286 | free software which everyone can redistribute and change under these terms. 287 | 288 | To do so, attach the following notices to the program. It is safest 289 | to attach them to the start of each source file to most effectively 290 | convey the exclusion of warranty; and each file should have at least 291 | the "copyright" line and a pointer to where the full notice is found. 292 | 293 | {description} 294 | Copyright (C) {year} {fullname} 295 | 296 | This program is free software; you can redistribute it and/or modify 297 | it under the terms of the GNU General Public License as published by 298 | the Free Software Foundation; either version 2 of the License, or 299 | (at your option) any later version. 300 | 301 | This program is distributed in the hope that it will be useful, 302 | but WITHOUT ANY WARRANTY; without even the implied warranty of 303 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 304 | GNU General Public License for more details. 305 | 306 | You should have received a copy of the GNU General Public License along 307 | with this program; if not, write to the Free Software Foundation, Inc., 308 | 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. 309 | 310 | Also add information on how to contact you by electronic and paper mail. 311 | 312 | If the program is interactive, make it output a short notice like this 313 | when it starts in an interactive mode: 314 | 315 | Gnomovision version 69, Copyright (C) year name of author 316 | Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 317 | This is free software, and you are welcome to redistribute it 318 | under certain conditions; type `show c' for details. 319 | 320 | The hypothetical commands `show w' and `show c' should show the appropriate 321 | parts of the General Public License. Of course, the commands you use may 322 | be called something other than `show w' and `show c'; they could even be 323 | mouse-clicks or menu items--whatever suits your program. 324 | 325 | You should also get your employer (if you work as a programmer) or your 326 | school, if any, to sign a "copyright disclaimer" for the program, if 327 | necessary. Here is a sample; alter the names: 328 | 329 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program 330 | `Gnomovision' (which makes passes at compilers) written by James Hacker. 331 | 332 | {signature of Ty Coon}, 1 April 1989 333 | Ty Coon, President of Vice 334 | 335 | This General Public License does not permit incorporating your program into 336 | proprietary programs. If your program is a subroutine library, you may 337 | consider it more useful to permit linking proprietary applications with the 338 | library. If this is what you want to do, use the GNU Lesser General 339 | Public License instead of this License. 340 | -------------------------------------------------------------------------------- /2.14/tests/project.qgs: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | degrees 14 | 15 | -1.25276760571073642 16 | -0.69003696469586195 17 | 0.74723262257103928 18 | 1.30996326358591375 19 | 20 | 0 21 | 0 22 | 23 | 24 | +proj=longlat +datum=WGS84 +no_defs 25 | 3452 26 | 4326 27 | EPSG:4326 28 | WGS 84 29 | longlat 30 | WGS84 31 | true 32 | 33 | 34 | 0 35 | 36 | 37 | 38 | 39 | test20160528092732936 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 50 | 51 | 52 | -1.04243537360571015 53 | 0.05904058753165087 54 | 0.08671586293711253 55 | 0.69372690349689758 56 | 57 | test20160528092732936 58 | ./test.shp 59 | Test 60 | Test 61 | 62 | 63 | 64 | test 65 | 66 | 67 | +proj=longlat +datum=WGS84 +no_defs 68 | 3452 69 | 4326 70 | EPSG:4326 71 | WGS 84 72 | longlat 73 | WGS84 74 | true 75 | 76 | 77 | ogr 78 | COALESCE( "name", '<NULL>' ) 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 0 260 | 0 261 | 0 262 | name 263 | 264 | 265 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 322 | 323 | 324 | 325 | 0 326 | 327 | 344 | 0 345 | generatedlayout 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | +proj=longlat +datum=WGS84 +no_defs 357 | EPSG:4326 358 | 3452 359 | 360 | 361 | meters 362 | m2 363 | 364 | 365 | -1.54243553545265399 366 | -0.69003696469586195 367 | 1.03690055231295686 368 | 1.30996326358591375 369 | 370 | 371 | false 372 | 373 | 374 | 375 | 376 | 377 | true 378 | 255 379 | 380 | 381 | None 382 | patrick.valsecchi@camptocamp.com 383 | 90 384 | 385 | 8 386 | 387 | Test 388 | Test 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | no conditions apply 397 | 398 | 399 | 400 | true 401 | 402 | 403 | 8 404 | 405 | EPSG:4326 406 | 407 | 408 | 2 409 | current_layer 410 | off 411 | 0 412 | 413 | 414 | 415 | 416 | Patrick Valsecchi 417 | camptocamp 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | false 427 | 428 | owner 429 | 430 | 2 431 | true 432 | MU 433 | 434 | 435 | 0 436 | 255 437 | 255 438 | 255 439 | 255 440 | 255 441 | 255 442 | 443 | 444 | test20160528092732936 445 | 446 | 447 | 448 | NONE 449 | 450 | 451 | false 452 | true 453 | 454 | 455 | 456 | -------------------------------------------------------------------------------- /2.18/tests/project.qgs: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | degrees 14 | 15 | -1.25276760571073642 16 | -0.69003696469586195 17 | 0.74723262257103928 18 | 1.30996326358591375 19 | 20 | 0 21 | 0 22 | 23 | 24 | +proj=longlat +datum=WGS84 +no_defs 25 | 3452 26 | 4326 27 | EPSG:4326 28 | WGS 84 29 | longlat 30 | WGS84 31 | true 32 | 33 | 34 | 0 35 | 36 | 37 | 38 | 39 | test20160528092732936 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 50 | 51 | 52 | -1.04243537360571015 53 | 0.05904058753165087 54 | 0.08671586293711253 55 | 0.69372690349689758 56 | 57 | test20160528092732936 58 | ./test.shp 59 | Test 60 | Test 61 | 62 | 63 | 64 | test 65 | 66 | 67 | +proj=longlat +datum=WGS84 +no_defs 68 | 3452 69 | 4326 70 | EPSG:4326 71 | WGS 84 72 | longlat 73 | WGS84 74 | true 75 | 76 | 77 | ogr 78 | COALESCE( "name", '<NULL>' ) 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 0 260 | 0 261 | 0 262 | name 263 | 264 | 265 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 322 | 323 | 324 | 325 | 0 326 | 327 | 344 | 0 345 | generatedlayout 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | +proj=longlat +datum=WGS84 +no_defs 357 | EPSG:4326 358 | 3452 359 | 360 | 361 | meters 362 | m2 363 | 364 | 365 | -1.54243553545265399 366 | -0.69003696469586195 367 | 1.03690055231295686 368 | 1.30996326358591375 369 | 370 | 371 | false 372 | 373 | 374 | 375 | 376 | 377 | true 378 | 255 379 | 380 | 381 | None 382 | patrick.valsecchi@camptocamp.com 383 | 90 384 | 385 | 8 386 | 387 | Test 388 | Test 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | no conditions apply 397 | 398 | 399 | 400 | true 401 | 402 | 403 | 8 404 | 405 | EPSG:4326 406 | 407 | 408 | 2 409 | current_layer 410 | off 411 | 0 412 | 413 | 414 | 415 | 416 | Patrick Valsecchi 417 | camptocamp 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | false 427 | 428 | owner 429 | 430 | 2 431 | true 432 | MU 433 | 434 | 435 | 0 436 | 255 437 | 255 438 | 255 439 | 255 440 | 255 441 | 255 442 | 443 | 444 | test20160528092732936 445 | 446 | 447 | 448 | NONE 449 | 450 | 451 | false 452 | true 453 | 454 | 455 | 456 | -------------------------------------------------------------------------------- /2.8/tests/project.qgs: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | degrees 14 | 15 | -1.25276760571073642 16 | -0.69003696469586195 17 | 0.74723262257103928 18 | 1.30996326358591375 19 | 20 | 0 21 | 0 22 | 23 | 24 | +proj=longlat +datum=WGS84 +no_defs 25 | 3452 26 | 4326 27 | EPSG:4326 28 | WGS 84 29 | longlat 30 | WGS84 31 | true 32 | 33 | 34 | 0 35 | 36 | 37 | 38 | 39 | test20160528092732936 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 50 | 51 | 52 | -1.04243537360571015 53 | 0.05904058753165087 54 | 0.08671586293711253 55 | 0.69372690349689758 56 | 57 | test20160528092732936 58 | ./test.shp 59 | Test 60 | Test 61 | 62 | 63 | 64 | test 65 | 66 | 67 | +proj=longlat +datum=WGS84 +no_defs 68 | 3452 69 | 4326 70 | EPSG:4326 71 | WGS 84 72 | longlat 73 | WGS84 74 | true 75 | 76 | 77 | ogr 78 | COALESCE( "name", '<NULL>' ) 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 0 260 | 0 261 | 0 262 | name 263 | 264 | 265 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 322 | 323 | 324 | 325 | 0 326 | 327 | 344 | 0 345 | generatedlayout 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | +proj=longlat +datum=WGS84 +no_defs 357 | EPSG:4326 358 | 3452 359 | 360 | 361 | meters 362 | m2 363 | 364 | 365 | -1.54243553545265399 366 | -0.69003696469586195 367 | 1.03690055231295686 368 | 1.30996326358591375 369 | 370 | 371 | false 372 | 373 | 374 | 375 | 376 | 377 | true 378 | 255 379 | 380 | 381 | None 382 | patrick.valsecchi@camptocamp.com 383 | 90 384 | 385 | 8 386 | 387 | Test 388 | Test 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | no conditions apply 397 | 398 | 399 | 400 | true 401 | 402 | 403 | 8 404 | 405 | EPSG:4326 406 | 407 | 408 | 2 409 | current_layer 410 | off 411 | 0 412 | 413 | 414 | 415 | 416 | Patrick Valsecchi 417 | camptocamp 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | false 427 | 428 | owner 429 | 430 | 2 431 | true 432 | MU 433 | 434 | 435 | 0 436 | 255 437 | 255 438 | 255 439 | 255 440 | 255 441 | 255 442 | 443 | 444 | test20160528092732936 445 | 446 | 447 | 448 | NONE 449 | 450 | 451 | false 452 | true 453 | 454 | 455 | 456 | -------------------------------------------------------------------------------- /3.0/tests/project.qgs: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | degrees 14 | 15 | -1.25276760571073642 16 | -0.69003696469586195 17 | 0.74723262257103928 18 | 1.30996326358591375 19 | 20 | 0 21 | 0 22 | 23 | 24 | +proj=longlat +datum=WGS84 +no_defs 25 | 3452 26 | 4326 27 | EPSG:4326 28 | WGS 84 29 | longlat 30 | WGS84 31 | true 32 | 33 | 34 | 0 35 | 36 | 37 | 38 | 39 | test20160528092732936 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 50 | 51 | 52 | -1.04243537360571015 53 | 0.05904058753165087 54 | 0.08671586293711253 55 | 0.69372690349689758 56 | 57 | test20160528092732936 58 | ./test.shp 59 | Test 60 | Test 61 | 62 | 63 | 64 | test 65 | 66 | 67 | +proj=longlat +datum=WGS84 +no_defs 68 | 3452 69 | 4326 70 | EPSG:4326 71 | WGS 84 72 | longlat 73 | WGS84 74 | true 75 | 76 | 77 | ogr 78 | COALESCE( "name", '<NULL>' ) 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 0 260 | 0 261 | 0 262 | name 263 | 264 | 265 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 322 | 323 | 324 | 325 | 0 326 | 327 | 344 | 0 345 | generatedlayout 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | +proj=longlat +datum=WGS84 +no_defs 357 | EPSG:4326 358 | 3452 359 | 360 | 361 | meters 362 | m2 363 | 364 | 365 | -1.54243553545265399 366 | -0.69003696469586195 367 | 1.03690055231295686 368 | 1.30996326358591375 369 | 370 | 371 | false 372 | 373 | 374 | 375 | 376 | 377 | true 378 | 255 379 | 380 | 381 | None 382 | patrick.valsecchi@camptocamp.com 383 | 90 384 | 385 | 8 386 | 387 | Test 388 | Test 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | no conditions apply 397 | 398 | 399 | 400 | true 401 | 402 | 403 | 8 404 | 405 | EPSG:4326 406 | 407 | 408 | 2 409 | current_layer 410 | off 411 | 0 412 | 413 | 414 | 415 | 416 | Patrick Valsecchi 417 | camptocamp 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | false 427 | 428 | owner 429 | 430 | 2 431 | true 432 | MU 433 | 434 | 435 | 0 436 | 255 437 | 255 438 | 255 439 | 255 440 | 255 441 | 255 442 | 443 | 444 | test20160528092732936 445 | 446 | 447 | 448 | NONE 449 | 450 | 451 | false 452 | true 453 | 454 | 455 | 456 | -------------------------------------------------------------------------------- /master/tests/project.qgs: -------------------------------------------------------------------------------- 1 | 2 | 3 | Test 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | degrees 14 | 15 | -1.25276760571073642 16 | -0.69003696469586195 17 | 0.74723262257103928 18 | 1.30996326358591375 19 | 20 | 0 21 | 0 22 | 23 | 24 | +proj=longlat +datum=WGS84 +no_defs 25 | 3452 26 | 4326 27 | EPSG:4326 28 | WGS 84 29 | longlat 30 | WGS84 31 | true 32 | 33 | 34 | 0 35 | 36 | 37 | 38 | 39 | test20160528092732936 40 | 41 | 42 | 43 | 44 | 47 | 48 | 49 | 50 | 51 | 52 | -1.04243537360571015 53 | 0.05904058753165087 54 | 0.08671586293711253 55 | 0.69372690349689758 56 | 57 | test20160528092732936 58 | ./test.shp 59 | Test 60 | Test 61 | 62 | 63 | 64 | test 65 | 66 | 67 | +proj=longlat +datum=WGS84 +no_defs 68 | 3452 69 | 4326 70 | EPSG:4326 71 | WGS 84 72 | longlat 73 | WGS84 74 | true 75 | 76 | 77 | ogr 78 | COALESCE( "name", '<NULL>' ) 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 117 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | 201 | 202 | 203 | 204 | 205 | 206 | 207 | 208 | 209 | 210 | 211 | 212 | 213 | 214 | 215 | 216 | 217 | 218 | 219 | 220 | 221 | 222 | 223 | 224 | 225 | 226 | 227 | 228 | 229 | 230 | 231 | 232 | 233 | 234 | 235 | 236 | 237 | 238 | 239 | 240 | 241 | 242 | 243 | 244 | 245 | 246 | 247 | 248 | 249 | 250 | 251 | 252 | 253 | 254 | 255 | 256 | 257 | 258 | 259 | 0 260 | 0 261 | 0 262 | name 263 | 264 | 265 | 284 | 285 | 286 | 287 | 288 | 289 | 290 | 291 | 292 | 293 | 294 | 295 | 296 | 297 | 298 | 299 | 300 | 301 | 302 | 303 | 304 | 305 | 306 | 307 | 308 | 309 | 310 | 311 | 312 | 313 | 314 | 315 | 316 | 317 | 318 | 322 | 323 | 324 | 325 | 0 326 | 327 | 344 | 0 345 | generatedlayout 346 | 347 | 348 | 349 | 350 | 351 | 352 | 353 | 354 | 355 | 356 | +proj=longlat +datum=WGS84 +no_defs 357 | EPSG:4326 358 | 3452 359 | 360 | 361 | meters 362 | m2 363 | 364 | 365 | -1.54243553545265399 366 | -0.69003696469586195 367 | 1.03690055231295686 368 | 1.30996326358591375 369 | 370 | 371 | false 372 | 373 | 374 | 375 | 376 | 377 | true 378 | 255 379 | 380 | 381 | None 382 | patrick.valsecchi@camptocamp.com 383 | 90 384 | 385 | 8 386 | 387 | Test 388 | Test 389 | 390 | 391 | 392 | 393 | 394 | 395 | 396 | no conditions apply 397 | 398 | 399 | 400 | true 401 | 402 | 403 | 8 404 | 405 | EPSG:4326 406 | 407 | 408 | 2 409 | current_layer 410 | off 411 | 0 412 | 413 | 414 | 415 | 416 | Patrick Valsecchi 417 | camptocamp 418 | 419 | 420 | 421 | 422 | 423 | 424 | 425 | 426 | false 427 | 428 | owner 429 | 430 | 2 431 | true 432 | MU 433 | 434 | 435 | 0 436 | 255 437 | 255 438 | 255 439 | 255 440 | 255 441 | 255 442 | 443 | 444 | test20160528092732936 445 | 446 | 447 | 448 | NONE 449 | 450 | 451 | false 452 | true 453 | 454 | 455 | 456 | --------------------------------------------------------------------------------