<title>QWC FeatureInfo Service</title>

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. Default: null

Type: array of string

Login verification URL for requests with basic auth. Example: http://qwc-auth-service:9090/verify_login. Default: null

No Additional Items

Each item of this array must be:

Type: string

Default HTML info template path. Default: null

Type: string

Default HTML info template in Base64 encoding. Default: null

Type: string

Default URL for WMS GetFeatureInfo queries. Default: http://localhost:8001/ows/

Type: string

Data service URL (external) for constructing attachment urls. Default: /api/v1/data/

Type: boolean

Whether to transform image URLs to inline images. Default: true

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)

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 default_qgis_server_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

Group Layer

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)