QWC FeatureInfo Service
Type: objectJSON Schema
Type: stringFormat: uri Default: "https://raw.githubusercontent.com/qwc-services/qwc-feature-info-service/master/schemas/qwc-feature-info-service.json"Reference to JSON schema of this config
Service name
Type: constSpecific value:
"feature-info"
Config options
Type: objectDefault HTML info template
Default HTML info template path
Default HTML info template in Base64 encoding
Default URL for WMS GetFeatureInfo queries
Data service URL
Transform image URLs to inline images
Whether to skip empty feature attributes in WMS GetFeatureInfo responses (default: false)
Whether to order the attributes according to order of the permitted attribute names in WMS GetFeatureInfo responses, rather than the order returned by WMS GetFeatureInfo (default: false)
Resources
Type: objectWMS service
Type: array of objectNo Additional Items
Each item of this array must be:
WMS
Type: objectWMS service with nested layers and group layers
WMS service name
Root layer of WMS (layer or group layer)
Single layer
No Additional PropertiesWMS layer name
Layer type
Specific value:"layer"
Layer title
No Additional Items
Each item of this array must be:
Attribute name
Formatting expression for converting attribute values
Formatting expression for converting attribute values, in Base64 encoding
JSON attribute aliases
Type: array of objectAliases for attributes in JSON values of type list
No Additional ItemsEach item of this array must be:
Attribute name in JSON value
Alias for attribute in JSON value
Info template
Info template for WMS GetFeatureInfo
No Additional PropertiesSpecific value:
"wms"
Custom WMS URL if different from defaultqgisserver_url
HTML template for info result
Path to HTML template for info result
HTML template for info result, in Base64 encoding
Info template for DB Query
No Additional PropertiesThe following properties are required:
- type
- db_url
- sql
The following properties are required:
- type
- db_url
- sql_base64
Specific value:
"sql"
Database connection string
Query SQL
Query SQL in Base64 encoding
HTML template for info result
Path to HTML template for info result
HTML template for info result, in Base64 encoding
Info template using WMS GetFeatureInfo
No Additional PropertiesSpecific value:
"module"
Custom info module name
HTML template for info result
Path to HTML template for info result.
HTML template for info result, in Base64 encoding
Display field
Type: stringShow value of this attribute in feature result header
Feature report
Type: stringName of corresponding feature report
Group 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
Type: booleanHide sublayers of this group layer if set, to make the group layer look like a regular layer (Facade layer)