QWC Config generator
Type: objectJSON Schema
Type: stringFormat: uri Default: "https://github.com/qwc-services/qwc-config-generator/raw/master/schemas/qwc-config-generator.json"Reference to JSON schema of this config
Optional, path to a tenantConfig template. If specified, the contents of the file is merged with the contents of tenantConfig.json. Any occurence of $tenant$ in the template will be replaced with the current tenant name.
Type: stringQWC2 themes configuration
Corresponds to contents of standalone QWC2 themesConfig.json
Path to themesConfig.json
Config options for Config generator
Type: objectTenant name. Example: default
Connection URL for configuration database. Example: postgresql:///?service=qwc_configdb
The name of the DB schema which stores the qwc config. Default: qwc_config
Default QGIS Server URL for OGC requests. Example: http://qwc-qgis-server/ows/
OWS service path prefix. Defaults to the path component of defaultqgisserverurl. Used to form the urls of autodetected projects below qgisprojectsscanbase_dir. Example: /ows
The QGIS project file extension to look for. Default: '.qgs'
Base path for QGIS projects. Example: /data
Directory containing print layouts.
Subdirectory path relative to qgisprintlayouts_dir. If specified, only layouts within this subdir will be processed. Useful to specify separate print layouts per tenant.
Directory containing the jasper report templates (*.jrxml).
Path for QGIS projects, which should be automatically detected. Must be a subdir qgisprojectsbase_dir. Example: /data/scan
Option to group scanned projects by directory in themes configuration. Default: false
Option to save scanned projects and groups in themes configuration. Requires write access to INPUTCONFIGPATH for config generator service. Default: false
Set whether resources are permitted or restricted by default. Example: true
Whether info service/layer/attribute permissions should be inherited from the corresponding map/layer/attribute. Only useful if permissionsdefaultallow=false. Default: false
Validate configuration against schema. Example: true
Target path for generated service configs and permissions, if not set by $OUTPUTCONFIGPATH. Example: /config-out
Path to the QWC2 directory, which will be used to autodetect thumbnails. If qgisprojectsscanbasedir is not set, then this option will be ignored. Example /qwc2
Skip group layers containing print layers
Layer opacity values for QGIS <= 3.10
Timeout for GetProjectSettings, GetCapabilities and DescribeFeatureType requests. Default: 60sec
Whether to automatically generate data service datasets used for key-value relationships without requiring corresponding data resources to be created. Warning: this will expose the key and value fields of the key-value table as world readable. Default: false
Whether to generate nested nrelation forms instead of a tabluar view. Default: false
Generate WFS service resources and permissions for the OGC service. Default: false
Whether to use the default mapthumb (mapthumbs/default.jpg) instead of generating the thumbnail via GetMap if no custom thumbnail is provided. Default: false
Timeout for GetMap request when generating thumbnail. Default: 10sec
Ignore errors during generation to allow creating configuration files despite some errors. Default: false
Service configs
Type: arrayService specific config options for generating their service configs
No Additional ItemsEach item of this array must be:
Generator config for a service
Generator config for a QWC service
Service name
QWC service config options (cf. its JSON schema). This is copied unmodified to the service config.
Generator config for Map Viewer
Service name
Specific value:"mapViewer"
Additional config for generating MapViewer resources
Additional config for QWC2 application configuration
Path to QWC2 config.json file. Example: /qwc2/config.json
Path to QWC2 index.html file. Example: /qwc2/index.html
Map Viewer config options (cf. JSON schema qwc-map-viewer.json). This is copied unmodified to the service config.
Generator config for OGC service
Service name
Specific value:"ogc"
Additional config for generating OGC service resources
Additional config for WMS services
Custom OnlineResources shown in GetCapabilities
Default public base URL for OnlineResources
Public base URL for FeatureInfo OnlineResources
Public base URL for Legend OnlineResources
OGC service config options (cf. JSON schema qwc-ogc-service.json). This is copied unmodified to the service config.