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

QGIS provider configuration.

dbUid: str | None

Qgis project database.

defaultLegendOptions: dict | None

Default options for qgis legends. (added in 8.1).

directRender: list[str] | None

Qgis data providers that should be rendered directly.

directSearch: list[str] | None

Qgis data providers that should be searched directly.

extentBuffer: int | None

Extent buffer for automatically computed bounds. (added in 8.1).

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.

useCanvasExtent: bool | None

Use canvas extent as project extent. (added in 8.1).

class gws.plugin.qgis.provider.Object

Bases: gws.OwsProvider

OWS services Provider.

caps: gws.plugin.qgis.caps.Caps
defaultLegendOptions: dict
directRender: set[str]
directSearch: set[str]
printTemplates: list[gws.plugin.qgis.caps.PrintTemplate]
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()