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
Service name
Type: constSpecific value:
"config-generator"
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
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. Example: /layouts
Path for QGIS projects, which should be automatically detected. Must be a subdir qgisprojectsbase_dir. Example: /data/scan
Path for generated QGIS projects, result of preprocessing. Must be a subdir of qgisprojectsbasedir. Can be the same as qgisprojectsscanbase_dir, in which case the theme autodetection will apply to generated QGIS projects. Example: /data/gen
Set whether resources are permitted or restricted by default. Example: true
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
Set to true to activate the categorize groups functionality
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
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
Must be one of:
- "adminGui"
- "data"
- "dbAuth"
- "elevation"
- "featureInfo"
- "mapinfo"
- "permalink"
- "print"
- "search"
- "legend"
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.