gws.plugin.qgis.provider

QGIS provider.

Source code: gws.plugin.qgis.provider

Module Contents

class gws.plugin.qgis.provider.Config(*args, **kwargs)

Bases: gws.Config

Object configuration.

dbUid: str | None

Qgis project database

directRender: list[str] | None

QGIS data providers that should be rendered directly

directSearch: list[str] | None

QGIS data providers that should be searched directly

forceCrs: gws.CrsName | None

use this CRS for requests

path: gws.FilePath | None

Qgis project file

projectName: str | None

Qgis project name

schema: str | None

Qgis project schema

sqlFilters: dict | None

per-layer sql filters

class gws.plugin.qgis.provider.Object

Bases: gws.OwsProvider

OWS services Provider.

caps: Object.caps
directRender: set[str]
directSearch: set[str]
printTemplates: list[Object.caps]
store: gws.plugin.qgis.project.Store
call_server(params: dict, max_age=0) gws.lib.net.HTTPResponse
configure()

Configuration hook.

configure_store()
get_features(search, source_layers)
get_map(layer: gws.Layer, bounds: gws.Bounds, width: float, height: float, params: dict) bytes
leaf_config(source_layers)
postgres_provider_from_datasource(ds: dict) gws.plugin.postgres.provider.Object
qgis_project() gws.plugin.qgis.project.Object
server_params(params: dict) dict
server_project_path()