<title>QWC OGC Service</title>
QWC OGC Service
Type: objectJSON Schema
Type: stringFormat: uri Default: "https://raw.githubusercontent.com/qwc-services/qwc-ogc-service/master/schemas/qwc-ogc-service.json"Reference to JSON schema of this config
Service name
Type: constSpecific value:
"ogc"
Config options
Type: objectDefault base URL for WMS/WFS requests. Default: http://localhost:8001/ows/
Regex pattern of the external OGC URL pattern, used to detect EXTERNAL_WMS
URLs in print requests which point to the OGC server itself. Can use $origin$
, $tenant$
and $mountpoint$
as variables. Default: $origin$/.*/?$mountpoint$
Login verification URL for requests with basic auth. Example: http://qwc-auth-service:9090/verify_login
. Default: null
Each item of this array must be:
Name of the active user parameter for the QGIS Server. Will be set to the name of the logged in user in qwc2.
Whether to enforce authentication before processing requests. Default: false
Optional: List of paths that will be accessible without a JWT identity, if auth_required
is set. Default: []
Each item of this array must be:
Optional: Marker parameter definitions
Default value
Parameter type (number, color, string)
Resources
Type: objectWMS services
Type: array of objectNo Additional Items
Each item of this array must be:
WMS service
Type: objectWMS service with nested layers and group layers
WMS service name
Custom WMS URL if different from default_qgis_server_url
Custom OnlineResources shown in GetCapabilities
Default public base URL for OnlineResources
Public base URL for FeatureInfo OnlineResources
Public base URL for Legend OnlineResources
Root layer of WMS (layer or group layer)
WMS Layer
Type: objectSingle layer
No Additional PropertiesWMS layer name
Layer type
Specific value:"layer"
Layer title
Attributes for GetFeatureInfo
No Additional ItemsEach item of this array must be:
Whether this layer is queryable
Custom base opacity from 0-100 (Hidden sublayers only)
WMS Group Layer
Type: objectGroup layer with nested sublayers
No Additional PropertiesWMS group layer name
Layer type
Specific value:"layergroup"
Group title
Sublayers of this group layer (layers or group layers)
No Additional ItemsEach item of this array must be:
Hide sublayers of this group layer if set, to make the group layer look like a regular layer (Facade layer)
Custom WMS URL for printing, e.g. if using a separate QGIS project.
Available print templates
No Additional ItemsEach item of this array must be:
Default font size for GetLegendGraphic request
Internal layer names used for printing and raster export of background and external layers
No Additional ItemsEach item of this array must be:
WFS services
Type: array of objectNo Additional Items
Each item of this array must be:
WFS service
Type: objectWFS service with list of layers
WFS service name
Custom WFS URL if different from default_qgis_server_url
Custom OnlineResource shown in GetCapabilities
List of WFS layers
No Additional ItemsEach item of this array must be:
WFS Layer
Type: objectSingle layer
WFS layer name
Attributes for GetFeature and DescribeFeatureType
No Additional Items