gws.plugin.qgis.layer¶
The qgis layer.
Source code: gws.plugin.qgis.layer
Module Contents¶
- class gws.plugin.qgis.layer.Config¶
Bases:
gws.base.layer.Config,gws.base.layer.tree.ConfigLayer group that shows a QGIS project as a tree of its layers.
- provider: Config.provider | None¶
QGIS project the layers are loaded from.
- sqlFilters: dict | None¶
SQL filters for source layers, passed to QGIS Server.
- class gws.plugin.qgis.layer.Object¶
Bases:
gws.base.layer.group.ObjectGroup layer that shows a QGIS project as a tree of layers.
The child layers are created from the project layer tree. With
compositeRender, the layer renders its visible children as one image.- provider: Object.provider¶
QGIS provider.
- sqlFilters: dict¶
SQL filters passed to the child layers, mapping a source layer name (or
*) to a filter expression.
- composite_render_params(lri: gws.LayerRenderInput) dict | None¶
Build the GetMap parameters for a composite render.
The parameters combine
LAYERSandFILTERof theqgisflatdescendants listed incompositeLayerUidsof the extra render parameters. Layers the user cannot read are skipped.- Parameters:
lri – Render input.
- Returns:
GetMap parameters, or
Noneif no readable layers are requested.
- configure()¶
- configure_group()¶
- configure_metadata()¶
- configure_provider()¶
- create_cache_name(cache)¶
- create_grabber(opts)¶
- post_configure()¶
- props(user)¶
- render_box(lri)¶
- render_tile(lri)¶