<title>QWC FeatureInfo Service</title>
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: null
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:
Default HTML info template path. Default: null
Default HTML info template in Base64 encoding. Default: null
Default URL for WMS GetFeatureInfo queries. Default: http://localhost:8001/ows/
Data service URL (external) for constructing attachment urls. Default: /api/v1/data/
Whether to transform image URLs to inline images. Default: true
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)
Layer
Type: objectSingle 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 default_qgis_server_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
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
Type: booleanHide sublayers of this group layer if set, to make the group layer look like a regular layer (Facade layer)