QWC FeatureInfo Service

QWC FeatureInfo Service

Type: object

JSON 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: const
Specific value: "feature-info"

Config options

Type: object

Type: string

Default HTML info template

Type: string

Default HTML info template path

Type: string

Default HTML info template in Base64 encoding

Type: string

Default URL for WMS GetFeatureInfo queries

Type: string

Data service URL

Type: boolean

Transform image URLs to inline images

Type: boolean

Whether to skip empty feature attributes in WMS GetFeatureInfo responses (default: false)

Type: boolean

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: object

WMS service

Type: array of object
No Additional Items

Each item of this array must be:

WMS

Type: object

WMS service with nested layers and group layers

Type: string

WMS service name


Root layer of WMS (layer or group layer)

Type: object

Single layer

No Additional Properties

Type: string

WMS layer name

Type: const

Layer type

Specific value: "layer"

Type: string

Layer title

Type: array of object
No Additional Items

Each item of this array must be:

Type: object

Type: string

Formatting expression for converting attribute values

Type: string

Formatting expression for converting attribute values, in Base64 encoding

JSON attribute aliases

Type: array of object

Aliases for attributes in JSON values of type list

No Additional Items

Each item of this array must be:

Info template


Type: object

Info template for WMS GetFeatureInfo

No Additional Properties

Type: const
Specific value: "wms"

Type: string

Custom WMS URL if different from defaultqgisserver_url

Type: string

HTML template for info result

Type: string

Path to HTML template for info result

Type: string

HTML template for info result, in Base64 encoding

Type: object

Info template for DB Query

No Additional Properties

Type: object

The following properties are required:

  • type
  • db_url
  • sql
Type: object

The following properties are required:

  • type
  • db_url
  • sql_base64

Type: const
Specific value: "sql"

Type: string

Database connection string

Type: string

Query SQL in Base64 encoding

Type: string

HTML template for info result

Type: string

Path to HTML template for info result

Type: string

HTML template for info result, in Base64 encoding

Type: object

Info template using WMS GetFeatureInfo

No Additional Properties

Type: const
Specific value: "module"

Type: string

Custom info module name

Type: string

HTML template for info result

Type: string

Path to HTML template for info result.

Type: string

HTML template for info result, in Base64 encoding

Display field

Type: string

Show value of this attribute in feature result header

Feature report

Type: string

Name of corresponding feature report

Type: object

Group layer with nested sublayers

No Additional Properties

Type: string

WMS group layer name

Type: const

Layer type

Specific value: "layergroup"

Type: string

Group title

Type: array

Sublayers of this group layer (layers or group layers)

No Additional Items

Each item of this array must be:

Hide sublayers

Type: boolean

Hide sublayers of this group layer if set, to make the group layer look like a regular layer (Facade layer)