From 2471efeca9dfe5bb3cf3e3bb8dcdc7a3332eac80 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 2 Feb 2024 14:47:22 +0000 Subject: [PATCH] Deployed e1afb20 to master with MkDocs 1.4.2 and mike 2.0.0 --- .../ThemesConfiguration/index.html | 27 +++++++++++------- master/references/qwc-admin-gui/index.html | 2 +- .../qwc-config-generator/index.html | 2 +- master/references/qwc-data-service/index.html | 2 +- master/references/qwc-db-auth/index.html | 2 +- .../qwc-elevation-service/index.html | 2 +- master/references/qwc-ext-service/index.html | 2 +- .../qwc-feature-info-service/index.html | 2 +- master/references/qwc-ldap-auth/index.html | 2 +- .../references/qwc-legend-service/index.html | 2 +- master/references/qwc-map-viewer/index.html | 2 +- .../references/qwc-mapinfo-service/index.html | 2 +- master/references/qwc-ogc-service/index.html | 2 +- .../qwc-permalink-service/index.html | 2 +- .../references/qwc-print-service/index.html | 2 +- .../references/qwc-search-service/index.html | 2 +- .../qwc-services-permissions/index.html | 2 +- master/search/search_index.json | 2 +- master/sitemap.xml.gz | Bin 219 -> 219 bytes 19 files changed, 33 insertions(+), 28 deletions(-) diff --git a/master/configuration/ThemesConfiguration/index.html b/master/configuration/ThemesConfiguration/index.html index 6ce8eede..a3f14d09 100644 --- a/master/configuration/ThemesConfiguration/index.html +++ b/master/configuration/ThemesConfiguration/index.html @@ -1078,22 +1078,27 @@

Using the QGZ project file format If using qwc-docker, set QGIS_PROJECT_SUFFIX=qgz in the qwc-qgis-server environment in docker-compose.yml.

Split categorized layers

-

When using qwc-docker, the qwc-config-generator has the ability to split a layer that has been classified with QGIS into multiple layers and move them into a new group (the group name will be the original layer name). To activate this functionality, follow these steps:

-
    -
  1. -

    Place the projects whose layers you want to split below qwc-docker/volumes/config-in/<tenant>/qgis_projects.

    -
  2. -
  3. -

    In the topolevel config in qwc-docker/volumes/config-in/<tenant>/tenantConfig.json, ensure qgis_projects_gen_base_dir is set and valid, and set "split_categorized_layers": true.

    -
  4. +

    By default, symbol categories of a classified layer won't be exposed via WMS and hence in QWC2.

    +

    To expose symbol categories as separate layers via WMS, you can use the split_categorized QGIS Server plugin.

    +

    To configure the plugin in qwc-docker, proceed as follows:

    +
      +
    • Download the split_categorized, i.e. to volumes/qgis-server-plugins/split_categorized and configure the qwc-qgis-server container as follows:
    • +
    +
      qwc-qgis-server:
    +    image: docker.io/sourcepole/qwc-qgis-server:<TAG>
    +    volumes:
    +      - ./volumes/qgis-server-plugins/split_categorized:/usr/share/qgis/python/plugins/split_categorized:ro
    +    ...
    +
    +
    • For all layers that you want to split, create the variable convert_categorized_layer and set it to true.

    • -

      Generate the themes configuration. The qwc-config-generator will process the projects and write the modified projects to qgis_projects_gen_base_dir.

      +

      Generate the themes configuration.

    • -
-

Note: Make sure you are using qwc-config-generator:v<version> and not qwc-config-generator:v<version>-noqgis.

+ +

Note: ELSE symbol rules are currently unsupported, respectively will display the entire layer contents.