QWC Map Viewer

QWC Map Viewer

Type: object

JSON Schema

Type: stringFormat: uri Default: "https://raw.githubusercontent.com/qwc-services/qwc-map-viewer/v2/schemas/qwc-map-viewer.json"

Reference to JSON schema of this config

Service name

Type: const
Specific value: "map-viewer"

Config options

Type: object

Type: string

DB connection URL (for userinfofields). Can be set to an empty string if running without DB. Default: postgresql:///?service=qwc_configdb

Type: string

The name of the DB schema which stores the qwc config. Default: qwc_config

Type: string

Path to QWC2 files

Type: string

QWC Auth Service URL

Type: string

CCC Service URL

Type: string

QWC Data Service URL

Type: string

DataProduct Service URL

Type: string

Document Service URL

Type: string

QWC Elevation Service URL

Type: string

QWC FeatureInfo Service URL

Type: string

Land Register Extract Service URL

Type: string

QWC Legend Service URL

Type: string

MapInfo Service URL

Type: string

QWC OGC Service URL

Type: string

PlotInfo Service URL

Type: string

QWC Print Service URL

Type: string

Proxy Service URL

Type: string

QWC Search Result Service URL

Type: string

QWC Search Service URL

Type: boolean

Whether to insert placeholder items for restricted themes in themes.json

Type: array of string

Whitelist of restricted theme names to include in themes.json. If empty, all restricted themes are shown.

No Additional Items

Each item of this array must be:

Type: boolean

Whether to redirect to login on auth service if requesting a restricted theme in URL params

Type: boolean

Whether to redirect to login on auth service if no themes are permitted

Type: array of string

List of user info fields to read from DB (if db_url is set) or from JWT identity

No Additional Items

Each item of this array must be:

Type: string

User info field to display instead of username

Type: boolean

Whether to enforce authentication before processing requests. Default: false

Type: array of string

Optional: List of paths that will be accessible without a JWT identity, if auth_required is set.

No Additional Items

Each item of this array must be:

Resources

Type: object

Type: object

Type: array of string

Restricted menu items

No Additional Items

Each item of this array must be:

Type: object

QWC2 application configuration (config.json)

Type: object

QWC2 themes configuration (themes.json)

Type: object