Sign inSign up

3liz/qjazz

By 3liz

•Updated about 8 hours ago

A suite of QGIS based services

Image
Data science
0

10K+

3liz/qjazz repository overview

⁠QJazz

A QGIS based service suite

⁠Description

  • QGIS server as microservices
  • OGC Processes server on top of QGIS processing

This is as set of modules for deploying QGIS based servers and processing services as OGC processes compliant API

⁠Réferences and documentation

⁠Quick start

services:
  #
  # The worker service run the grpc service that run 
  # qgis server
  #
  qgis-rpc:
    image: 3liz/qjazz:qgis-3.40
    environment:
      CONF_DISPLAY_XVFB: ON
      CONF_LOGGING__LEVEL: debug
      CONF_WORKER__NAME: basic_worker
      CONF_WORKER__NUM_PROCESSES: "2"
      CONF_WORKER__QGIS__PROJECTS__SEARCH_PATHS: >-
        { 
          "/":"/qgis-projects" 
        }
    volumes:
    - { type: bind, source: "/path/to/qgis/projects/", target: /qgis-projects }
    #
    # Mount /tmp as tmpfs for removing Xvfb lock file when restarting
    # container.
    #
    tmpfs:
        - /tmp:size=100m
    command: ["qjazz-rpc", "serve"]
  web:
    #
    # The web service communicate to (multiple) backends and route
    # request to the appropriate backend.
    #
    image: 3liz/qjazz:qgis-3.40
    environment:
      CONF_LOGGING__LEVEL: debug
      CONF_BACKENDS__BASIC__TITLE: "QGIS Services"
      CONF_BACKENDS__BASIC__HOST: "qgis-rpc"
      CONF_BACKENDS__BASIC__ROUTE: "/"
    ports:
    - 127.0.0.1:9080:9080
    command: ["qjazz-map", "serve"]

Start the services:

docker compose up -d

Access the service at: http://localhost:9080/

From here, open your navigator at http://localhost:9080/?MAP=/my_project&SERVICE=WMS&REQUEST=GetCapabilities⁠ in order to get the WMS Capabilities if your project is wms-enabled.

Tag summary

Content type

Image

Digest

sha256:3dac077f9…

Size

646.8 MB

Last updated

about 8 hours ago

docker pull 3liz/qjazz:qgis-3.40-unstable