Architecture

QWC2 is a modern web interface for visualizing and working with published QGIS projects through OGC services (such as WMS/WFS), ideal for collaborative GIS environments. It is based on web technologies (HTML, JavaScript, React) and communicates with backend services such as QGIS Server, PostGIS, and others.

../../../_images/arquitectura_1.png

It can be set up in two ways:

  • As an independent viewer (static JS/HTML/CSS web application) on top of QGIS Server.

  • As part of the qwc-services ecosystem, which includes additional services to extend the viewer’s functionality.

The qwc-services architecture is as follows:

../../../_images/arquitectura_2.png
  • API-Gateway: Redirects requests to services.

  • Auth-Service: Service for user authentication.

  • Map viewer: Viewer application.

  • OGC Service: Proxy for WMS/WFS requests filtered by permissions, calls QGIS Server.

  • Admin GUI: Administration backoffice.

The default authentication service and the administration backoffice, as well as some functionalities within the viewer, require the Config DB configuration database, where users, roles, permissions, permanent links, etc. are stored.